aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/PanelObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/PanelObject.h')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/PanelObject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/PanelObject.h b/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/PanelObject.h
index 04c47e06..945deec0 100644
--- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/PanelObject.h
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-cpp/PanelObject.h
@@ -21,10 +21,12 @@ class PanelObject : public QObject {
Q_PROPERTY( int width READ width NOTIFY geomChanged)
Q_PROPERTY( int height READ height NOTIFY geomChanged)
Q_PROPERTY( bool isVertical READ isVertical NOTIFY geomChanged)
+ Q_PROPERTY( QStringList plugins READ plugins NOTIFY pluginsChanged)
private:
QString panel_id, bg;
QRect geom;
+ QStringList panel_plugins;
public:
PanelObject(QString id = "", QObject *parent = 0);
@@ -38,15 +40,18 @@ public:
Q_INVOKABLE int width();
Q_INVOKABLE int height();
Q_INVOKABLE bool isVertical();
+ Q_INVOKABLE QStringList plugins();
public slots:
void setBackground(QString fileOrColor);
void setGeometry(QRect newgeom);
void syncWithSettings(QRect parent_geom);
+ void setPlugins(QStringList plist);
signals:
void backgroundChanged();
void geomChanged();
+ void pluginsChanged();
};
#endif
bgstack15