summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:20:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:20:58 -0600
commit3858c9720a0f7c205cf35da7becbf061612fbbf2 (patch)
treed0600515d8b04b6380bfcf5427aa6de0a079e402 /src
parent2a9c6671f71594a3ab5261dfcd1e983cce603800 (diff)
downloadtdeio-umountwrapper-3858c9720a0f7c205cf35da7becbf061612fbbf2.tar.gz
tdeio-umountwrapper-3858c9720a0f7c205cf35da7becbf061612fbbf2.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/kio_umountwrapper.cpp10
-rw-r--r--src/kio_umountwrapper.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/kio_umountwrapper.cpp b/src/kio_umountwrapper.cpp
index 72ca45a..775215c 100644
--- a/src/kio_umountwrapper.cpp
+++ b/src/kio_umountwrapper.cpp
@@ -47,13 +47,13 @@ kio_umountwrapper::kio_umountwrapper(const TQString& url)
connect(t, TQT_SIGNAL(timeout()), TQT_SLOT(progressAdvance()));
t->start(10, FALSE);
- KProcess *p = new KProcess(TQT_TQOBJECT(this));
+ TDEProcess *p = new TDEProcess(TQT_TQOBJECT(this));
*p << "kio_media_mounthelper";
*p << "-s";
*p << url;
- kdDebug() << "KProcess: " << url << endl;
- connect(p, TQT_SIGNAL(processExited(KProcess *)),
- this, TQT_SLOT(processFinished(KProcess *)));
+ kdDebug() << "TDEProcess: " << url << endl;
+ connect(p, TQT_SIGNAL(processExited(TDEProcess *)),
+ this, TQT_SLOT(processFinished(TDEProcess *)));
p->start();
}
@@ -62,7 +62,7 @@ void kio_umountwrapper::progressAdvance()
m_progress->progressBar()->advance(1);
}
-void kio_umountwrapper::processFinished(KProcess* p)
+void kio_umountwrapper::processFinished(TDEProcess* p)
{
if (p->normalExit() && p->exitStatus() == 0)
{
diff --git a/src/kio_umountwrapper.h b/src/kio_umountwrapper.h
index da9b041..eb670b8 100644
--- a/src/kio_umountwrapper.h
+++ b/src/kio_umountwrapper.h
@@ -42,7 +42,7 @@ private:
private slots:
void progressAdvance();
- void processFinished(KProcess* p);
+ void processFinished(TDEProcess* p);
};