Add some Q_PROPERTIES to Plasma::AbstractRunner.
Lets QML scripts to access some Runner description features. REVIEW: 103718
This commit is contained in:
parent
84f82c1ba2
commit
35ce9cc094
@ -64,7 +64,10 @@ class PLASMA_EXPORT AbstractRunner : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(bool matchingSuspended READ isMatchingSuspended WRITE suspendMatching NOTIFY matchingSuspended)
|
||||
|
||||
Q_PROPERTY(QString id READ id);
|
||||
Q_PROPERTY(QString description READ description);
|
||||
Q_PROPERTY(QString name READ name);
|
||||
Q_PROPERTY(QIcon icon READ icon);
|
||||
public:
|
||||
/** Specifies a nominal speed for the runner */
|
||||
enum Speed {
|
||||
|
Loading…
Reference in New Issue
Block a user