diff options
Diffstat (limited to 'src/sources')
-rw-r--r-- | src/sources/labelsource.cpp | 14 | ||||
-rw-r--r-- | src/sources/nvidiathermalsrc.cpp | 6 | ||||
-rw-r--r-- | src/sources/source.cpp | 2 | ||||
-rw-r--r-- | src/sources/threadedtrigger.cpp | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/sources/labelsource.cpp b/src/sources/labelsource.cpp index 6c6892d..c9c06d0 100644 --- a/src/sources/labelsource.cpp +++ b/src/sources/labelsource.cpp @@ -46,12 +46,12 @@ void LabelSource::createSubPrefs(TQWidget* inParent){ if(!mLabelSourcePrefs){ mLabelSourcePrefs = new LabelSourcePrefs(inParent, "labelsourceprefsui"); // disable nameCheckBox if taskbarCheckBox is disabled - connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->colorLabel, TQT_SLOT(setEnabled(bool))); - 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->alignmentLabel, TQT_SLOT(setEnabled(bool))); - connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mLabelSourcePrefs->alignmentComboBox, TQT_SLOT(setEnabled(bool))); + connect(mSourcePrefs->taskbarCheckBox, TQ_SIGNAL(toggled(bool)), mLabelSourcePrefs->colorLabel, TQ_SLOT(setEnabled(bool))); + connect(mSourcePrefs->taskbarCheckBox, TQ_SIGNAL(toggled(bool)), mLabelSourcePrefs->colorButton, TQ_SLOT(setEnabled(bool))); + connect(mSourcePrefs->taskbarCheckBox, TQ_SIGNAL(toggled(bool)), mLabelSourcePrefs->fontLabel, TQ_SLOT(setEnabled(bool))); + connect(mSourcePrefs->taskbarCheckBox, TQ_SIGNAL(toggled(bool)), mLabelSourcePrefs->fontRequester, TQ_SLOT(setEnabled(bool))); + connect(mSourcePrefs->taskbarCheckBox, TQ_SIGNAL(toggled(bool)), mLabelSourcePrefs->alignmentLabel, TQ_SLOT(setEnabled(bool))); + connect(mSourcePrefs->taskbarCheckBox, TQ_SIGNAL(toggled(bool)), mLabelSourcePrefs->alignmentComboBox, TQ_SLOT(setEnabled(bool))); addPrefs(mLabelSourcePrefs); } } @@ -129,6 +129,6 @@ void LabelSource::realizeWidget(){ // the prefs dialog is created in the addPrefs method mLabel = new TQLabel(i18n("n/a"), mParent); mLabel->setTextFormat(TQt::PlainText); - connect(this, TQT_SIGNAL(valueUpdated(const TQString&)), this, TQT_SLOT(updateLabel(const TQString&))); + connect(this, TQ_SIGNAL(valueUpdated(const TQString&)), this, TQ_SLOT(updateLabel(const TQString&))); } #include "labelsource.moc" diff --git a/src/sources/nvidiathermalsrc.cpp b/src/sources/nvidiathermalsrc.cpp index ce97a61..7cd2eee 100644 --- a/src/sources/nvidiathermalsrc.cpp +++ b/src/sources/nvidiathermalsrc.cpp @@ -50,8 +50,8 @@ NVidiaThermalSrc::NVidiaThermalSrc(TQWidget* inParent, const TQString& inID, con mRefreshTimer = new TQTimer(this, "default refresh handler" ); // connect the timer - connect(mRefreshTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(fetchValue())); - connect(this, TQT_SIGNAL(enabledChanged(bool, Source*)), this, TQT_SLOT(enable(bool))); + connect(mRefreshTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(fetchValue())); + connect(this, TQ_SIGNAL(enabledChanged(bool, Source*)), this, TQ_SLOT(enable(bool))); } NVidiaThermalSrc::~NVidiaThermalSrc(){ @@ -144,7 +144,7 @@ void NVidiaThermalSrc::evaluateStdout(){ #ifndef HAVE_NVCONTROL void NVidiaThermalSrc::createProcess() { mProcess = new KProcIO; - connect(mProcess, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(evaluateStdout())); + connect(mProcess, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(evaluateStdout())); *mProcess << "nvidia-settings" << "-n" << "-q" << mID; } diff --git a/src/sources/source.cpp b/src/sources/source.cpp index 5c4e52a..d9a646c 100644 --- a/src/sources/source.cpp +++ b/src/sources/source.cpp @@ -101,7 +101,7 @@ TQWidget* Source::createPrefs(TQWidget* inParent){ mSourcePrefs = new SourcePrefs(inParent, "sourceprefsui"); // disable nameCheckBox if taskbarCheckBox is disabled - connect(mSourcePrefs->taskbarCheckBox, TQT_SIGNAL(toggled(bool)), mSourcePrefs->nameCheckBox, TQT_SLOT(setEnabled(bool))); + connect(mSourcePrefs->taskbarCheckBox, TQ_SIGNAL(toggled(bool)), mSourcePrefs->nameCheckBox, TQ_SLOT(setEnabled(bool))); // add prefs widgets from sub classes createSubPrefs(mSourcePrefs); diff --git a/src/sources/threadedtrigger.cpp b/src/sources/threadedtrigger.cpp index 8c667e0..1c9d25e 100644 --- a/src/sources/threadedtrigger.cpp +++ b/src/sources/threadedtrigger.cpp @@ -28,7 +28,7 @@ ThreadedTrigger::ThreadedTrigger(TriggeredSource* inSource, unsigned long inRefr mRefreshSleep(inRefreshSleep), mRunning(false) { - connect(mSource, TQT_SIGNAL(enabledChanged(bool, Source*)), this, TQT_SLOT(enable(bool))); + connect(mSource, TQ_SIGNAL(enabledChanged(bool, Source*)), this, TQ_SLOT(enable(bool))); } ThreadedTrigger::~ThreadedTrigger(){ |