defaultButtonsLeft and defaultButtonsRight is not const now.
I think that it will not create problem, but it fixes warning svn path=/trunk/KDE/kdebase/workspace/; revision=741298
This commit is contained in:
parent
e7aa0b3a7e
commit
d663800ddd
10 changed files with 20 additions and 20 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue