diff options
Diffstat (limited to 'src/sources')
-rw-r--r-- | src/sources/nvidiathermalsrc.cpp | 4 | ||||
-rw-r--r-- | src/sources/source.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sources/nvidiathermalsrc.cpp b/src/sources/nvidiathermalsrc.cpp index 351a728..1e67e29 100644 --- a/src/sources/nvidiathermalsrc.cpp +++ b/src/sources/nvidiathermalsrc.cpp @@ -73,7 +73,7 @@ std::list<Source*>NVidiaThermalSrc::createInstances(TQWidget* inParent){ << "-n" // don't load config << "-q" << "GPUCoreTemp" << "-q" << "GPUAmbientTemp"; - if(!proc.start(KProcess::Block)) + if(!proc.start(TDEProcess::Block)) return list; // now see what it printed... @@ -144,7 +144,7 @@ void NVidiaThermalSrc::evaluateStdout(){ #ifndef HAVE_NVCONTROL void NVidiaThermalSrc::createProcess() { mProcess = new KProcIO; - connect(mProcess, TQT_SIGNAL(processExited(KProcess*)), this, TQT_SLOT(evaluateStdout())); + connect(mProcess, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(evaluateStdout())); *mProcess << "nvidia-settings" << "-n" << "-q" << mID; } diff --git a/src/sources/source.cpp b/src/sources/source.cpp index 18d801c..b3cc680 100644 --- a/src/sources/source.cpp +++ b/src/sources/source.cpp @@ -218,5 +218,5 @@ int Source::celsiusToFahrenheit(int inCelsius) const{ } void Source::realizeWidget(){ - mIsMetric = KGlobal::locale()->measureSystem() == KLocale::Metric; + mIsMetric = TDEGlobal::locale()->measureSystem() == KLocale::Metric; } |