summaryrefslogtreecommitdiffstats
path: root/src/sources/labelsource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sources/labelsource.cpp')
-rw-r--r--src/sources/labelsource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sources/labelsource.cpp b/src/sources/labelsource.cpp
index d4d2182..4262c82 100644
--- a/src/sources/labelsource.cpp
+++ b/src/sources/labelsource.cpp
@@ -95,7 +95,7 @@ void LabelSource::applyPrefs(){
}else if(alignID == 2){
align = TQt::AlignRight;
}
- mLabel->tqsetAlignment(align);
+ mLabel->setAlignment(align);
updateLabel(mValue);
}
@@ -113,7 +113,7 @@ void LabelSource::loadPrefs(KConfig* inKConfig){
color.setRgb(0,0,0);
mLabel->setPaletteForegroundColor(color);
mLabel->setFont(inKConfig->readFontEntry(mID + "_font"));
- mLabel->tqsetAlignment(inKConfig->readNumEntry(mID + "_align"));
+ mLabel->setAlignment(inKConfig->readNumEntry(mID + "_align"));
}
void LabelSource::updateLabel(const TQString& inValue){