diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:11 -0600 |
commit | 0b46312b4c5d893a6e0c29e354038bbdc5a15fdd (patch) | |
tree | 0a9819d1f6fa2690e0819c97e4bcb9a87f0d397b /src/sources/labelsource.cpp | |
parent | 6981c239dedc72969f6f539afeef646a19c867c0 (diff) | |
download | kima-0b46312b4c5d893a6e0c29e354038bbdc5a15fdd.tar.gz kima-0b46312b4c5d893a6e0c29e354038bbdc5a15fdd.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6981c239dedc72969f6f539afeef646a19c867c0.
Diffstat (limited to 'src/sources/labelsource.cpp')
-rw-r--r-- | src/sources/labelsource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sources/labelsource.cpp b/src/sources/labelsource.cpp index ef98492..d4d2182 100644 --- a/src/sources/labelsource.cpp +++ b/src/sources/labelsource.cpp @@ -60,7 +60,7 @@ void LabelSource::updatePrefsGUI(){ TriggeredSource::updatePrefsGUI(); // update prefs of the super class mLabelSourcePrefs->colorButton->setColor(mLabel->paletteForegroundColor()); mLabelSourcePrefs->fontRequester->setFont(mLabel->font()); - switch (mLabel->alignment()) { + switch (mLabel->tqalignment()) { case TQt::AlignCenter: mLabelSourcePrefs->alignmentComboBox->setCurrentItem(1); break; @@ -95,7 +95,7 @@ void LabelSource::applyPrefs(){ }else if(alignID == 2){ align = TQt::AlignRight; } - mLabel->setAlignment(align); + mLabel->tqsetAlignment(align); updateLabel(mValue); } @@ -103,7 +103,7 @@ void LabelSource::savePrefs(KConfig* inKConfig){ TriggeredSource::savePrefs(inKConfig); inKConfig->writeEntry(mID + "_color", mLabelSourcePrefs->colorButton->color()); inKConfig->writeEntry(mID + "_font", mLabelSourcePrefs->fontRequester->font()); - inKConfig->writeEntry(mID + "_align", mLabel->alignment()); + inKConfig->writeEntry(mID + "_align", mLabel->tqalignment()); } void LabelSource::loadPrefs(KConfig* inKConfig){ @@ -113,7 +113,7 @@ void LabelSource::loadPrefs(KConfig* inKConfig){ color.setRgb(0,0,0); mLabel->setPaletteForegroundColor(color); mLabel->setFont(inKConfig->readFontEntry(mID + "_font")); - mLabel->setAlignment(inKConfig->readNumEntry(mID + "_align")); + mLabel->tqsetAlignment(inKConfig->readNumEntry(mID + "_align")); } void LabelSource::updateLabel(const TQString& inValue){ |