mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 06:15:49 +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:
@ -31,10 +31,10 @@ class WeatherSource : public AbstractExtSysMonSource
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit WeatherSource(QObject *parent, const QStringList args);
|
||||
explicit WeatherSource(QObject *parent, const QStringList &args);
|
||||
virtual ~WeatherSource();
|
||||
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