Add getter for the current button orders.

Required by AuroraeDesigner.

svn path=/trunk/KDE/kdebase/workspace/; revision=1115964
This commit is contained in:
Martin Gräßlin 2010-04-18 08:57:40 +00:00
parent ebea86ba3c
commit 6776cfcdb2
2 changed files with 12 additions and 0 deletions

View file

@ -706,4 +706,14 @@ void AuroraeScene::showTooltipsChanged(bool show)
}
}
const QString& AuroraeScene::leftButtons() const
{
return m_leftButtonOrder;
}
const QString &AuroraeScene::rightButtons() const
{
return m_rightButtonOrder;
}
} // namespace

View file

@ -67,6 +67,8 @@ public:
void setButtons(const QString &left, const QString &right);
void setCaption(const QString &caption);
const QString &leftButtons() const;
const QString &rightButtons() const;
Q_SIGNALS:
void menuClicked();