notify signal of visibilityMode property
This commit is contained in:
parent
fa8ed3668b
commit
456d919326
@ -310,6 +310,7 @@ void PanelView::setVisibilityMode(PanelView::VisibilityMode mode)
|
||||
updateStruts();
|
||||
|
||||
KWindowSystem::setOnAllDesktops(winId(), true);
|
||||
emit visibilityModeChanged();
|
||||
}
|
||||
|
||||
PanelView::VisibilityMode PanelView::visibilityMode() const
|
||||
|
@ -38,7 +38,7 @@ class PanelView : public PlasmaQuickView
|
||||
Q_PROPERTY(int maximumLength READ maximumLength WRITE setMaximumLength NOTIFY maximumLengthChanged)
|
||||
Q_PROPERTY(int minimumLength READ minimumLength WRITE setMinimumLength NOTIFY minimumLengthChanged)
|
||||
Q_PROPERTY(QScreen *screen READ screen WRITE setScreen NOTIFY screenChanged)
|
||||
Q_PROPERTY(VisibilityMode visibilityMode READ visibilityMode WRITE setVisibilityMode)
|
||||
Q_PROPERTY(VisibilityMode visibilityMode READ visibilityMode WRITE setVisibilityMode NOTIFY visibilityModeChanged)
|
||||
|
||||
public:
|
||||
|
||||
@ -91,6 +91,7 @@ Q_SIGNALS:
|
||||
void maximumLengthChanged();
|
||||
void minimumLengthChanged();
|
||||
void screenChanged(QScreen *screen);
|
||||
void visibilityModeChanged();
|
||||
|
||||
protected Q_SLOTS:
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user