diff --git a/clients/kde2/kde2.cpp b/clients/kde2/kde2.cpp index b67c556db0..e3e8bd8978 100644 --- a/clients/kde2/kde2.cpp +++ b/clients/kde2/kde2.cpp @@ -754,12 +754,12 @@ QString KDE2Client::visibleName() const return i18n("KDE 2"); } -QString KDE2Client::defaultButtonsLeft() const +QString KDE2Client::defaultButtonsLeft() { return "MS"; } -QString KDE2Client::defaultButtonsRight() const +QString KDE2Client::defaultButtonsRight() { return "HIAX"; } diff --git a/clients/kde2/kde2.h b/clients/kde2/kde2.h index b7e05e3a97..9b51b74fe5 100644 --- a/clients/kde2/kde2.h +++ b/clients/kde2/kde2.h @@ -73,8 +73,8 @@ class KDE2Client : public KCommonDecoration ~KDE2Client() {;} virtual QString visibleName() const; - virtual QString defaultButtonsLeft() const; - virtual QString defaultButtonsRight() const; + virtual QString defaultButtonsLeft(); + virtual QString defaultButtonsRight(); virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; virtual KCommonDecorationButton *createButton(ButtonType type); diff --git a/clients/laptop/laptopclient.cpp b/clients/laptop/laptopclient.cpp index 28c17413c3..69e1e3bacb 100644 --- a/clients/laptop/laptopclient.cpp +++ b/clients/laptop/laptopclient.cpp @@ -351,12 +351,12 @@ QString LaptopClient::visibleName() const return i18n("Laptop"); } -QString LaptopClient::defaultButtonsLeft() const +QString LaptopClient::defaultButtonsLeft() { return "X"; } -QString LaptopClient::defaultButtonsRight() const +QString LaptopClient::defaultButtonsRight() { return "HSIA"; } diff --git a/clients/laptop/laptopclient.h b/clients/laptop/laptopclient.h index cb6a507775..cd5fadad3e 100644 --- a/clients/laptop/laptopclient.h +++ b/clients/laptop/laptopclient.h @@ -36,8 +36,8 @@ public: ~LaptopClient(); virtual QString visibleName() const; - virtual QString defaultButtonsLeft() const; - virtual QString defaultButtonsRight() const; + virtual QString defaultButtonsLeft(); + virtual QString defaultButtonsRight(); virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; virtual KCommonDecorationButton *createButton(ButtonType type); diff --git a/clients/modernsystem/modernsys.cpp b/clients/modernsystem/modernsys.cpp index 3de5315f3f..34bb85d60a 100644 --- a/clients/modernsystem/modernsys.cpp +++ b/clients/modernsystem/modernsys.cpp @@ -455,12 +455,12 @@ QString ModernSys::visibleName() const return i18n("Modern System"); } -QString ModernSys::defaultButtonsLeft() const +QString ModernSys::defaultButtonsLeft() { return "X"; } -QString ModernSys::defaultButtonsRight() const +QString ModernSys::defaultButtonsRight() { return "HSIA"; } diff --git a/clients/modernsystem/modernsys.h b/clients/modernsystem/modernsys.h index 685b8a5781..b09ca184b6 100644 --- a/clients/modernsystem/modernsys.h +++ b/clients/modernsystem/modernsys.h @@ -29,8 +29,8 @@ public: ~ModernSys(){;} virtual QString visibleName() const; - virtual QString defaultButtonsLeft() const; - virtual QString defaultButtonsRight() const; + virtual QString defaultButtonsLeft(); + virtual QString defaultButtonsRight(); virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; virtual KCommonDecorationButton *createButton(ButtonType type); diff --git a/clients/quartz/quartz.cpp b/clients/quartz/quartz.cpp index e4e287caa0..9a8a296e51 100644 --- a/clients/quartz/quartz.cpp +++ b/clients/quartz/quartz.cpp @@ -537,12 +537,12 @@ QString QuartzClient::visibleName() const return i18n("Quartz"); } -QString QuartzClient::defaultButtonsLeft() const +QString QuartzClient::defaultButtonsLeft() { return "M"; } -QString QuartzClient::defaultButtonsRight() const +QString QuartzClient::defaultButtonsRight() { return "HIAX"; } diff --git a/clients/quartz/quartz.h b/clients/quartz/quartz.h index 4dd3982741..9a85587e5e 100644 --- a/clients/quartz/quartz.h +++ b/clients/quartz/quartz.h @@ -69,8 +69,8 @@ class QuartzClient : public KCommonDecoration ~QuartzClient() {;} virtual QString visibleName() const; - virtual QString defaultButtonsLeft() const; - virtual QString defaultButtonsRight() const; + virtual QString defaultButtonsLeft(); + virtual QString defaultButtonsRight(); virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; virtual KCommonDecorationButton *createButton(ButtonType type); diff --git a/clients/web/Web.cpp b/clients/web/Web.cpp index 16ef53f1e6..faa35e46cb 100644 --- a/clients/web/Web.cpp +++ b/clients/web/Web.cpp @@ -55,12 +55,12 @@ QString WebClient::visibleName() const return i18n("Web"); } -QString WebClient::defaultButtonsLeft() const +QString WebClient::defaultButtonsLeft() { return "S"; } -QString WebClient::defaultButtonsRight() const +QString WebClient::defaultButtonsRight() { return "HIAX"; } diff --git a/clients/web/Web.h b/clients/web/Web.h index fb6c136e5a..b794c64949 100644 --- a/clients/web/Web.h +++ b/clients/web/Web.h @@ -39,8 +39,8 @@ namespace Web ~WebClient(); virtual QString visibleName() const; - virtual QString defaultButtonsLeft() const; - virtual QString defaultButtonsRight() const; + virtual QString defaultButtonsLeft(); + virtual QString defaultButtonsRight(); virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; virtual KCommonDecorationButton *createButton(ButtonType type);