const'ify
svn path=/trunk/KDE/kdebase/workspace/; revision=1014989
This commit is contained in:
parent
bfd8da0fd3
commit
16bc16ba88
2 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ namespace Nitrogen
|
||||||
}
|
}
|
||||||
|
|
||||||
//__________________________________________________
|
//__________________________________________________
|
||||||
Qt::Alignment NitrogenConfiguration::titleAlignment( QString value )
|
Qt::Alignment NitrogenConfiguration::titleAlignment( const QString& value )
|
||||||
{
|
{
|
||||||
if (value == "Left") return Qt::AlignLeft;
|
if (value == "Left") return Qt::AlignLeft;
|
||||||
else if (value == "Center") return Qt::AlignHCenter;
|
else if (value == "Center") return Qt::AlignHCenter;
|
||||||
|
|
|
@ -115,7 +115,7 @@ namespace Nitrogen
|
||||||
//@{
|
//@{
|
||||||
|
|
||||||
static QString titleAlignmentName( Qt::Alignment );
|
static QString titleAlignmentName( Qt::Alignment );
|
||||||
static Qt::Alignment titleAlignment( QString );
|
static Qt::Alignment titleAlignment( const QString& );
|
||||||
|
|
||||||
virtual Qt::Alignment titleAlignment() const
|
virtual Qt::Alignment titleAlignment() const
|
||||||
{ return titleAlignment_; }
|
{ return titleAlignment_; }
|
||||||
|
|
Loading…
Reference in a new issue