api (still not ui) to add panel spacer
This commit is contained in:
parent
b5dc457570
commit
6c6aeef6b5
@ -87,6 +87,11 @@ void PanelConfigView::showAddWidgetDialog()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void PanelConfigView::addPanelSpacer()
|
||||||
|
{
|
||||||
|
m_containment->createApplet("org.kde.plasma.panelspacer");
|
||||||
|
}
|
||||||
|
|
||||||
void PanelConfigView::syncGeometry()
|
void PanelConfigView::syncGeometry()
|
||||||
{
|
{
|
||||||
if (!m_containment || !rootObject()) {
|
if (!m_containment || !rootObject()) {
|
||||||
|
@ -49,6 +49,7 @@ public:
|
|||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void showAddWidgetDialog();
|
void showAddWidgetDialog();
|
||||||
|
void addPanelSpacer();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void focusOutEvent(QFocusEvent *ev);
|
void focusOutEvent(QFocusEvent *ev);
|
||||||
|
Loading…
Reference in New Issue
Block a user