summaryrefslogtreecommitdiffstats
path: root/src/sources
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:36:42 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:36:42 -0600
commit5599badf00624db6b9cecd7a00971f8c2387b73c (patch)
treede8cc75606ca033f72702957c794cecd5544eea7 /src/sources
parentfc6629f90a46a3f304bdba2ecef645c01ed02640 (diff)
downloadkima-5599badf00624db6b9cecd7a00971f8c2387b73c.tar.gz
kima-5599badf00624db6b9cecd7a00971f8c2387b73c.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/sources')
-rw-r--r--src/sources/hddtempsrc.cpp2
-rw-r--r--src/sources/hwmonfansrc.cpp2
-rw-r--r--src/sources/hwmonthermalsrc.cpp2
-rw-r--r--src/sources/labelsource.cpp4
-rw-r--r--src/sources/uptimesrc.cpp4
5 files changed, 7 insertions, 7 deletions
diff --git a/src/sources/hddtempsrc.cpp b/src/sources/hddtempsrc.cpp
index b22a6c8..34995d5 100644
--- a/src/sources/hddtempsrc.cpp
+++ b/src/sources/hddtempsrc.cpp
@@ -38,7 +38,7 @@ HDDTempSrc::HDDTempSrc(TQWidget* inParent, uint inIndex, const TQString& inDevic
mTrigger(this){
mID = "HDDTemp" + TQString().setNum(inIndex);
mName = mID;
- mDescription = i18n("This source is provided by hddtemp. (%1, %2)").tqarg(inDevice).tqarg(inModelName);
+ mDescription = i18n("This source is provided by hddtemp. (%1, %2)").arg(inDevice).arg(inModelName);
}
HDDTempSrc::~HDDTempSrc(){
diff --git a/src/sources/hwmonfansrc.cpp b/src/sources/hwmonfansrc.cpp
index 17f57ae..abd428f 100644
--- a/src/sources/hwmonfansrc.cpp
+++ b/src/sources/hwmonfansrc.cpp
@@ -30,7 +30,7 @@ HwMonFanSrc::HwMonFanSrc(TQWidget* inParent, const TQFile& inSourceFile, unsigne
//mName = "HwMon " + inSourceFile.name()[inSourceFile.name().length() - 7];
mID = "hwmonFan" + TQString::number(inIndex);
mName = mID;
- mDescription = i18n("This fan source is provided by hwmon. (%1)").tqarg(inSourceFile.name());
+ mDescription = i18n("This fan source is provided by hwmon. (%1)").arg(inSourceFile.name());
}
HwMonFanSrc::~HwMonFanSrc(){
diff --git a/src/sources/hwmonthermalsrc.cpp b/src/sources/hwmonthermalsrc.cpp
index 96af141..24aa3f0 100644
--- a/src/sources/hwmonthermalsrc.cpp
+++ b/src/sources/hwmonthermalsrc.cpp
@@ -30,7 +30,7 @@ HwMonThermalSrc::HwMonThermalSrc(TQWidget* inParent, const TQFile& inSourceFile,
//mName = "HwMon " + inSourceFile.name()[inSourceFile.name().length() - 7];
mID = "hwmon" + TQString::number(inIndex);
mName = mID;
- mDescription = i18n("This thermal source is provided by hwmon. (%1)").tqarg(inSourceFile.name());
+ mDescription = i18n("This thermal source is provided by hwmon. (%1)").arg(inSourceFile.name());
}
HwMonThermalSrc::~HwMonThermalSrc(){
diff --git a/src/sources/labelsource.cpp b/src/sources/labelsource.cpp
index 4262c82..ef98492 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->tqalignment()) {
+ switch (mLabel->alignment()) {
case TQt::AlignCenter:
mLabelSourcePrefs->alignmentComboBox->setCurrentItem(1);
break;
@@ -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->tqalignment());
+ inKConfig->writeEntry(mID + "_align", mLabel->alignment());
}
void LabelSource::loadPrefs(KConfig* inKConfig){
diff --git a/src/sources/uptimesrc.cpp b/src/sources/uptimesrc.cpp
index cc9d0b5..2daca75 100644
--- a/src/sources/uptimesrc.cpp
+++ b/src/sources/uptimesrc.cpp
@@ -55,9 +55,9 @@ TQString UptimeSrc::fetchValue(){
TQString hours = TQString::number(secs / 3600 % 24).rightJustify(2, '0');
TQString days = TQString::number(secs / 86400);
if(days != "0")
- s = mTimeFormatLong.tqarg(days).tqarg(hours).tqarg(minutes);
+ s = mTimeFormatLong.arg(days).arg(hours).arg(minutes);
else
- s = mTimeFormatShort.tqarg(hours).tqarg(minutes);
+ s = mTimeFormatShort.arg(hours).arg(minutes);
mSourceFile.close();
}
return s;