const'ify

svn path=/trunk/KDE/kdebase/workspace/; revision=1014989
This commit is contained in:
Laurent Montel 2009-08-24 11:25:38 +00:00
parent bfd8da0fd3
commit 16bc16ba88
2 changed files with 2 additions and 2 deletions

View file

@ -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;
else if (value == "Center") return Qt::AlignHCenter;

View file

@ -115,7 +115,7 @@ namespace Nitrogen
//@{
static QString titleAlignmentName( Qt::Alignment );
static Qt::Alignment titleAlignment( QString );
static Qt::Alignment titleAlignment( const QString& );
virtual Qt::Alignment titleAlignment() const
{ return titleAlignment_; }