mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 22:05:48 +00:00
massive changes inside
* use pass by ref instead of by value if possible * use reference in interation over collections * fix no tag inserting
This commit is contained in:
@ -30,11 +30,11 @@ class GPULoadSource : public AbstractExtSysMonSource
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit GPULoadSource(QObject *parent, const QStringList args);
|
||||
explicit GPULoadSource(QObject *parent, const QStringList &args);
|
||||
virtual ~GPULoadSource();
|
||||
static QString autoGpu();
|
||||
QVariant data(QString source);
|
||||
QVariantMap initialData(QString source) const;
|
||||
QVariant data(const QString &source);
|
||||
QVariantMap initialData(const QString &source) const;
|
||||
void run();
|
||||
QStringList sources() const;
|
||||
|
||||
|
Reference in New Issue
Block a user