From 6776cfcdb28c89a8cd65a718191f62d55cc0e2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 18 Apr 2010 08:57:40 +0000 Subject: [PATCH] Add getter for the current button orders. Required by AuroraeDesigner. svn path=/trunk/KDE/kdebase/workspace/; revision=1115964 --- clients/aurorae/src/lib/auroraescene.cpp | 10 ++++++++++ clients/aurorae/src/lib/auroraescene.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/clients/aurorae/src/lib/auroraescene.cpp b/clients/aurorae/src/lib/auroraescene.cpp index 07fd4f19ed..5d4cfe6978 100644 --- a/clients/aurorae/src/lib/auroraescene.cpp +++ b/clients/aurorae/src/lib/auroraescene.cpp @@ -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 diff --git a/clients/aurorae/src/lib/auroraescene.h b/clients/aurorae/src/lib/auroraescene.h index a62658fe30..0e5a497a59 100644 --- a/clients/aurorae/src/lib/auroraescene.h +++ b/clients/aurorae/src/lib/auroraescene.h @@ -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();