mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-06 18:35:52 +00:00
* implement interval to extupgrade (ApiVer = 1) (fix #45)
* improve extscript logic * add cache values to both of them
This commit is contained in:
@ -18,10 +18,6 @@
|
||||
#ifndef EXTSYSMON_H
|
||||
#define EXTSYSMON_H
|
||||
|
||||
#ifndef SEC_IN_HOUR
|
||||
#define SEC_IN_HOUR 60*60
|
||||
#endif /* SEC_IN_HOUR */
|
||||
|
||||
#include <Plasma/DataEngine>
|
||||
#include <QProcess>
|
||||
|
||||
@ -61,10 +57,7 @@ private:
|
||||
QMap<QString, QString> configuration;
|
||||
QList<ExtScript *> externalScripts;
|
||||
QList<ExtUpgrade *> externalUpgrade;
|
||||
QList<int> times;
|
||||
bool debug;
|
||||
// FIXME dirty hack to avoid update package information every second
|
||||
int pkgTimeUpdate = SEC_IN_HOUR;
|
||||
// reread configuration
|
||||
QStringList allHddDevices;
|
||||
QString getAllHdd();
|
||||
|
Reference in New Issue
Block a user