mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-08 03:15:51 +00:00
create a static library for backend items
move backend items to template-based mechanism
This commit is contained in:
@ -20,6 +20,8 @@
|
||||
|
||||
#include <Plasma/DataEngine>
|
||||
|
||||
#include "extitemaggregator.h"
|
||||
|
||||
|
||||
class ExtQuotes;
|
||||
class ExtScript;
|
||||
@ -57,19 +59,15 @@ protected:
|
||||
private:
|
||||
// configuration
|
||||
QMap<QString, QString> configuration;
|
||||
QList<ExtQuotes *> externalQuotes;
|
||||
QList<ExtScript *> externalScripts;
|
||||
QList<ExtUpgrade *> externalUpgrade;
|
||||
QList<ExtWeather *> externalWeather;
|
||||
ExtItemAggregator<ExtQuotes> *externalQuotes;
|
||||
ExtItemAggregator<ExtScript> *externalScripts;
|
||||
ExtItemAggregator<ExtUpgrade> *externalUpgrade;
|
||||
ExtItemAggregator<ExtWeather> *externalWeather;
|
||||
bool debug;
|
||||
// reread configuration
|
||||
QStringList getAllHdd() const;
|
||||
QString getAutoGpu() const;
|
||||
QString getAutoMpris() const;
|
||||
void initQuotes();
|
||||
void initScripts();
|
||||
void initUpgrade();
|
||||
void initWeather();
|
||||
void readConfiguration();
|
||||
QMap<QString, QString> updateConfiguration(QMap<QString, QString> rawConfig) const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user