Start rebuild dataengine from Python to CPP

This commit is contained in:
arcan1s
2013-08-26 03:52:43 +04:00
parent 76ffab569e
commit 669571e803
9 changed files with 466 additions and 100 deletions

21
ext-sysmon/extsysmon.h Normal file
View File

@ -0,0 +1,21 @@
#ifndef EXTSYSMON_H
#define EXTSYSMON_H
#include <Plasma/DataEngine>
class ExtendedSysMon : public Plasma::DataEngine
{
Q_OBJECT
public:
ExtendedSysMon(QObject *parent, const QVariantList &args);
protected:
bool sourceRequestEvent(const QString &name);
bool updateSourceEvent(const QString &source);
QStringList hdddev;
QString gpudev;
QStringList sources() const;
};
#endif // EXTSYSMON_H