summaryrefslogtreecommitdiffstats
path: root/parts/distpart
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
commitb9e542d0c805e9adee3a67e44532d5321032e21e (patch)
treee82d85b9035cc2ca322911e8a6e38a3bd8b1d431 /parts/distpart
parent7a392a04059bd904dab4c78910a6d34aa0b37798 (diff)
downloadtdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.tar.gz
tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'parts/distpart')
-rw-r--r--parts/distpart/distpart_widget.h2
-rw-r--r--parts/distpart/specsupport.cpp12
2 files changed, 7 insertions, 7 deletions
diff --git a/parts/distpart/distpart_widget.h b/parts/distpart/distpart_widget.h
index 31aadbec..ff3d729c 100644
--- a/parts/distpart/distpart_widget.h
+++ b/parts/distpart/distpart_widget.h
@@ -35,7 +35,7 @@
class KDevProject;
class DistpartPart;
class TQUrlOperator;
-class KProcess;
+class TDEProcess;
class TQTabWidget;
class SpecSupport;
diff --git a/parts/distpart/specsupport.cpp b/parts/distpart/specsupport.cpp
index 8a45910b..153c0c3d 100644
--- a/parts/distpart/specsupport.cpp
+++ b/parts/distpart/specsupport.cpp
@@ -80,11 +80,11 @@ void SpecSupport::slotbuildAllPushButtonPressed() {
}
else
if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
- makeFrontend->queueCommand(dir,"cd " + KProcess::quote(dir) +
- " && cp " + KProcess::quote(getAppSource()) + " " + KProcess::quote(*(map.find("_sourcedir"))));
+ makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote(dir) +
+ " && cp " + TDEProcess::quote(getAppSource()) + " " + TDEProcess::quote(*(map.find("_sourcedir"))));
}
if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
- makeFrontend->queueCommand(dir,"cd " + KProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
+ makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
" && rpmbuild -ba " + m_part->project()->projectName() + ".spec");
}
@@ -179,11 +179,11 @@ void SpecSupport::slotsrcPackagePushButtonPressed() {
}
else
if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
- makeFrontend->queueCommand(dir,"cd " + KProcess::quote(dir) +
- " && cp " + KProcess::quote(getAppSource()) + " " + KProcess::quote(*(map.find("_sourcedir"))));
+ makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote(dir) +
+ " && cp " + TDEProcess::quote(getAppSource()) + " " + TDEProcess::quote(*(map.find("_sourcedir"))));
}
if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
- makeFrontend->queueCommand(dir,"cd " + KProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
+ makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
" && rpmbuild -bs " + m_part->project()->projectName() + ".spec");
}