30 Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
31 Q_PROPERTY(QString iconName READ iconName WRITE setIconName NOTIFY iconNameChanged)
32 Q_PROPERTY(QString iconSource READ iconSource WRITE setIconSource NOTIFY iconSourceChanged)
33 Q_PROPERTY(QString qmlFileName READ qmlFileName WRITE setQmlFileName NOTIFY qmlFileNameChanged)
34 Q_PROPERTY(
bool visible READ visible WRITE setVisible NOTIFY visibleChanged)
40 void setName(QString newName);
42 QString iconName(
void);
43 void setIconName(QString newIconName);
45 QString iconSource(
void);
46 void setIconSource(QString newIconSource);
48 QString qmlFileName(
void);
49 void setQmlFileName(QString newQmlFileName);
52 void setVisible(
bool newVisible);
58 QString m_qmlFileName;
59 bool m_visible = true;
62 void nameChanged(QString name);
63 void iconNameChanged(QString iconName);
64 void iconSourceChanged(QString iconSource);
65 void qmlFileNameChanged(QString qmlFileName);
66 void visibleChanged(
bool visible);