summaryrefslogtreecommitdiffstats
path: root/src/sources/labelsource.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit670adfafbbf772ab10789ff03d6d0c515a2e3468 (patch)
tree71fb1f08ff3102898753642d0831bda87b2673e5 /src/sources/labelsource.cpp
parent383adc283801b6238d8acfc750890613a63f8060 (diff)
downloadkima-670adfafbbf772ab10789ff03d6d0c515a2e3468.tar.gz
kima-670adfafbbf772ab10789ff03d6d0c515a2e3468.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sources/labelsource.cpp')
-rw-r--r--src/sources/labelsource.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sources/labelsource.cpp b/src/sources/labelsource.cpp
index d088cc7..d4d2182 100644
--- a/src/sources/labelsource.cpp
+++ b/src/sources/labelsource.cpp
@@ -50,8 +50,8 @@ void LabelSource::createSubPrefs(TQWidget* inParent){
connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->colorButton, TQT_SLOT(setEnabled(bool)));
connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->fontLabel, TQT_SLOT(setEnabled(bool)));
connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->fontRequester, TQT_SLOT(setEnabled(bool)));
- connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->tqalignmentLabel, TQT_SLOT(setEnabled(bool)));
- connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->tqalignmentComboBox, TQT_SLOT(setEnabled(bool)));
+ connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->alignmentLabel, TQT_SLOT(setEnabled(bool)));
+ connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->alignmentComboBox, TQT_SLOT(setEnabled(bool)));
addPrefs(mLabelSourcePrefs);
}
}
@@ -62,14 +62,14 @@ void LabelSource::updatePrefsGUI(){
mLabelSourcePrefs->fontRequester->setFont(mLabel->font());
switch (mLabel->tqalignment()) {
case TQt::AlignCenter:
- mLabelSourcePrefs->tqalignmentComboBox->setCurrentItem(1);
+ mLabelSourcePrefs->alignmentComboBox->setCurrentItem(1);
break;
case TQt::AlignRight:
- mLabelSourcePrefs->tqalignmentComboBox->setCurrentItem(2);
+ mLabelSourcePrefs->alignmentComboBox->setCurrentItem(2);
break;
default: // TQt::AlignLeft
break;
- mLabelSourcePrefs->tqalignmentComboBox->setCurrentItem(0);
+ mLabelSourcePrefs->alignmentComboBox->setCurrentItem(0);
}
}
@@ -80,15 +80,15 @@ void LabelSource::setPrefsWidgetsEnabled(bool isEnabled, bool isShownOnApplet){
mLabelSourcePrefs->colorButton->setEnabled(isEnabled && isShownOnApplet);
mLabelSourcePrefs->fontLabel->setEnabled(isEnabled && isShownOnApplet);
mLabelSourcePrefs->fontRequester->setEnabled(isEnabled && isShownOnApplet);
- mLabelSourcePrefs->tqalignmentLabel->setEnabled(isEnabled && isShownOnApplet);
- mLabelSourcePrefs->tqalignmentComboBox->setEnabled(isEnabled && isShownOnApplet);
+ mLabelSourcePrefs->alignmentLabel->setEnabled(isEnabled && isShownOnApplet);
+ mLabelSourcePrefs->alignmentComboBox->setEnabled(isEnabled && isShownOnApplet);
}
void LabelSource::applyPrefs(){
TriggeredSource::applyPrefs(); // call apply prefs of the super class
mLabel->setPaletteForegroundColor(mLabelSourcePrefs->colorButton->color());
mLabel->setFont(mLabelSourcePrefs->fontRequester->font());
- int alignID = mLabelSourcePrefs->tqalignmentComboBox->currentItem();
+ int alignID = mLabelSourcePrefs->alignmentComboBox->currentItem();
TQt::AlignmentFlags align = TQt::AlignCenter;
if(alignID == 0){
align = TQt::AlignLeft;