summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kcmlisa
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:48:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:48:31 -0600
commitc48e769eb275917717e2b55eb869f7e559293ac8 (patch)
tree8f650b907e21c918b826f854dbe1c8174cc2c0c6 /lanbrowsing/kcmlisa
parent8011d84f483f3628f3f04ea5cb2c1c3c86b2dba7 (diff)
downloadtdenetwork-c48e769eb275917717e2b55eb869f7e559293ac8.tar.gz
tdenetwork-c48e769eb275917717e2b55eb869f7e559293ac8.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'lanbrowsing/kcmlisa')
-rw-r--r--lanbrowsing/kcmlisa/kcmlisa.cpp6
-rw-r--r--lanbrowsing/kcmlisa/kcmlisa.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/lanbrowsing/kcmlisa/kcmlisa.cpp b/lanbrowsing/kcmlisa/kcmlisa.cpp
index d977c597..c5892395 100644
--- a/lanbrowsing/kcmlisa/kcmlisa.cpp
+++ b/lanbrowsing/kcmlisa/kcmlisa.cpp
@@ -289,8 +289,8 @@ void LisaSettings::save()
confStream<<"PingNames = "<<writeStuff.latin1()<<"\n";
tmp.close();
TQString suCommand=TQString("cp '%1' '%2'; chmod 644 '%3'; rm -f '%4'").arg(m_tmpFilename).arg(m_configFilename).arg(m_configFilename).arg(m_tmpFilename);
- KProcess *proc = new KProcess();
- connect(proc, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(saveDone(KProcess *)));
+ TDEProcess *proc = new TDEProcess();
+ connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(saveDone(TDEProcess *)));
*proc<<"tdesu"<<"-c"<<suCommand;
TDEApplication::setOverrideCursor(TQt::waitCursor);
setEnabled(false);
@@ -373,7 +373,7 @@ void LisaSettings::autoSetup()
return;
}
-void LisaSettings::saveDone(KProcess *proc)
+void LisaSettings::saveDone(TDEProcess *proc)
{
unlink(TQFile::encodeName(m_tmpFilename));
TDEApplication::restoreOverrideCursor();
diff --git a/lanbrowsing/kcmlisa/kcmlisa.h b/lanbrowsing/kcmlisa/kcmlisa.h
index 5ee12b1c..51815906 100644
--- a/lanbrowsing/kcmlisa/kcmlisa.h
+++ b/lanbrowsing/kcmlisa/kcmlisa.h
@@ -28,7 +28,7 @@ class TQPushButton;
class TQCheckBox;
class TQSpinBox;
class TQPushButton;
-class KProcess;
+class TDEProcess;
class KDialogBase;
class KRestrictedLine;
class KEditListBox;
@@ -48,7 +48,7 @@ class LisaSettings:public KCModule
protected slots:
void slotChanged();
void autoSetup();
- void saveDone(KProcess *); // called after the tdesud returns (on save)
+ void saveDone(TDEProcess *); // called after the tdesud returns (on save)
void suggestSettings();
protected:
KConfig m_config;