summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/trollprojectpart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /buildtools/qmake/trollprojectpart.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'buildtools/qmake/trollprojectpart.cpp')
-rw-r--r--buildtools/qmake/trollprojectpart.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/buildtools/qmake/trollprojectpart.cpp b/buildtools/qmake/trollprojectpart.cpp
index 738e2534..c71afc30 100644
--- a/buildtools/qmake/trollprojectpart.cpp
+++ b/buildtools/qmake/trollprojectpart.cpp
@@ -27,7 +27,7 @@
#include <kdirwatch.h>
#include <kstatusbar.h>
#include <tqmessagebox.h>
-#include <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <tdeaction.h>
#include <tdeparts/part.h>
#include <kprocess.h>
@@ -41,11 +41,11 @@
#include "domutil.h"
-#include "tdevcore.h"
-#include "tdevmainwindow.h"
-#include "tdevmakefrontend.h"
-#include "tdevappfrontend.h"
-#include "tdevpartcontroller.h"
+#include "kdevcore.h"
+#include "kdevmainwindow.h"
+#include "kdevmakefrontend.h"
+#include "kdevappfrontend.h"
+#include "kdevpartcontroller.h"
#include "trollprojectwidget.h"
#include "runoptionswidget.h"
#include "config.h"
@@ -53,15 +53,15 @@
#include "qmakeoptionswidget.h"
#include "scope.h"
-#include <tdevplugininfo.h>
+#include <kdevplugininfo.h>
#include <urlutil.h>
-typedef TDevGenericFactory<TrollProjectPart> TrollProjectFactory;
-static const TDevPluginInfo data("tdevtrollproject");
-K_EXPORT_COMPONENT_FACTORY( libtdevtrollproject, TrollProjectFactory( data ) )
+typedef KDevGenericFactory<TrollProjectPart> TrollProjectFactory;
+static const KDevPluginInfo data("kdevtrollproject");
+K_EXPORT_COMPONENT_FACTORY( libkdevtrollproject, TrollProjectFactory( data ) )
TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQStringList& args )
- : TDevBuildTool(&data, parent, name ? name : "TrollProjectPart")
+ : KDevBuildTool(&data, parent, name ? name : "TrollProjectPart")
{
setInstance(TrollProjectFactory::instance());
@@ -70,7 +70,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
else
m_tmakeProject = false;
- setXMLFile("tdevtrollproject.rc");
+ setXMLFile("kdevtrollproject.rc");
m_executeProjectAfterBuild = false;
m_executeTargetAfterBuild = false;
@@ -405,7 +405,7 @@ void TrollProjectPart::openProject(const TQString &dirName, const TQString &proj
DomUtil::writeEntry(dom, "/kdevtrollproject/run/directoryradio", "executable");
}
- TDevProject::openProject( dirName, projectName );
+ KDevProject::openProject( dirName, projectName );
}
@@ -475,7 +475,7 @@ TQString TrollProjectPart::runDirectory() const
TQString cwd;
if( DomUtil::readBoolEntry(dom, "/kdevtrollproject/run/useglobalprogram", true) )
{
- cwd = defaultRunDirectory("tdevtrollproject");
+ cwd = defaultRunDirectory("kdevtrollproject");
}else
{
TQString name = m_widget->getCurrentOutputFilename();
@@ -788,7 +788,7 @@ bool TrollProjectPart::isDirty()
return false;
}
-TDevProject::Options TrollProjectPart::options( ) const
+KDevProject::Options TrollProjectPart::options( ) const
{
return UsesTQMakeBuildSystem;
}