summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/qmake')
-rw-r--r--buildtools/qmake/CMakeLists.txt10
-rw-r--r--buildtools/qmake/Makefile.am22
-rw-r--r--buildtools/qmake/tdevtmakeproject.desktop (renamed from buildtools/qmake/kdevtmakeproject.desktop)2
-rw-r--r--buildtools/qmake/tdevtrollproject.desktop (renamed from buildtools/qmake/kdevtrollproject.desktop)2
-rw-r--r--buildtools/qmake/tdevtrollproject.rc (renamed from buildtools/qmake/kdevtrollproject.rc)0
-rw-r--r--buildtools/qmake/trollprojectpart.cpp30
-rw-r--r--buildtools/qmake/trollprojectpart.h4
-rw-r--r--buildtools/qmake/trollprojectwidget.cpp22
8 files changed, 46 insertions, 46 deletions
diff --git a/buildtools/qmake/CMakeLists.txt b/buildtools/qmake/CMakeLists.txt
index fa281096..e2b877f5 100644
--- a/buildtools/qmake/CMakeLists.txt
+++ b/buildtools/qmake/CMakeLists.txt
@@ -31,13 +31,13 @@ link_directories(
##### other data ################################
-install( FILES kdevtrollproject.desktop kdevtmakeproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevtrollproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtrollproject )
+install( FILES tdevtrollproject.desktop tdevtmakeproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevtrollproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevtrollproject )
-##### libkdevtrollproject (module) ##############
+##### libtdevtrollproject (module) ##############
-tde_add_kpart( libkdevtrollproject AUTOMOC
+tde_add_kpart( libtdevtrollproject AUTOMOC
SOURCES
choosesubprojectdlg.cpp choosesubprojectdlgbase.ui
createscopedlg.cpp createscopedlgbase.ui
@@ -48,6 +48,6 @@ tde_add_kpart( libkdevtrollproject AUTOMOC
qmakeoptionswidgetbase.ui qmakescopeitem.cpp
scope.cpp trolllistview.cpp trollprojectpart.cpp
trollprojectwidget.cpp
- LINK kdevqmakeparser-shared kdevbuildbase-shared kdevbuildtoolswidgets-shared
+ LINK tdevqmakeparser-shared tdevbuildbase-shared tdevbuildtoolswidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/buildtools/qmake/Makefile.am b/buildtools/qmake/Makefile.am
index b50fc775..68adba76 100644
--- a/buildtools/qmake/Makefile.am
+++ b/buildtools/qmake/Makefile.am
@@ -8,14 +8,14 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_builddir)/buildtools/lib/widgets $(all_includes)
-kde_module_LTLIBRARIES = libkdevtrollproject.la
-libkdevtrollproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevtrollproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/lib/util/libkdevutil.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la \
- $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la \
- $(top_builddir)/buildtools/lib/parsers/qmake/libkdevqmakeparser.la
-
-libkdevtrollproject_la_SOURCES = choosesubprojectdlg.cpp \
+kde_module_LTLIBRARIES = libtdevtrollproject.la
+libtdevtrollproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevtrollproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/lib/util/libtdevutil.la $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la \
+ $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la \
+ $(top_builddir)/buildtools/lib/parsers/qmake/libtdevqmakeparser.la
+
+libtdevtrollproject_la_SOURCES = choosesubprojectdlg.cpp \
choosesubprojectdlgbase.ui createscopedlg.cpp createscopedlgbase.ui disablesubprojectdlg.cpp \
disablesubprojectdlgbase.ui newwidgetdlg.cpp newwidgetdlgbase.ui \
projectconfigurationdlg.cpp projectconfigurationdlgbase.ui qmakedefaultopts.cpp \
@@ -26,9 +26,9 @@ libkdevtrollproject_la_SOURCES = choosesubprojectdlg.cpp \
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevtrollproject.desktop kdevtmakeproject.desktop
+service_DATA = tdevtrollproject.desktop tdevtmakeproject.desktop
-rcdir = $(kde_datadir)/kdevtrollproject
-rc_DATA = kdevtrollproject.rc
+rcdir = $(kde_datadir)/tdevtrollproject
+rc_DATA = tdevtrollproject.rc
noinst_HEADERS = createscopedlg.h disablesubprojectdlg.h qmakedefaultopts.h \
qmakeoptionswidget.h qmakescopeitem.h trolllistview.h
diff --git a/buildtools/qmake/kdevtmakeproject.desktop b/buildtools/qmake/tdevtmakeproject.desktop
index 97b4b528..a5b729d5 100644
--- a/buildtools/qmake/kdevtmakeproject.desktop
+++ b/buildtools/qmake/tdevtmakeproject.desktop
@@ -85,7 +85,7 @@ GenericName[tr]=TMake Projesi
GenericName[zh_CN]=TMake 工程
GenericName[zh_TW]=TMake 專案
ServiceTypes=TDevelop/Project
-X-TDE-Library=libkdevtrollproject
+X-TDE-Library=libtdevtrollproject
X-TDevelop-Version=5
X-TDevelop-Args=TMake
diff --git a/buildtools/qmake/kdevtrollproject.desktop b/buildtools/qmake/tdevtrollproject.desktop
index bf118c56..24ef620e 100644
--- a/buildtools/qmake/kdevtrollproject.desktop
+++ b/buildtools/qmake/tdevtrollproject.desktop
@@ -90,6 +90,6 @@ GenericName[uz@cyrillic]=QMake лойиҳаси
GenericName[zh_CN]=QMake 工程
GenericName[zh_TW]=QMake 專案
ServiceTypes=TDevelop/Project
-X-TDE-Library=libkdevtrollproject
+X-TDE-Library=libtdevtrollproject
X-TDevelop-Version=5
X-TDevelop-Args=
diff --git a/buildtools/qmake/kdevtrollproject.rc b/buildtools/qmake/tdevtrollproject.rc
index 8f6e0048..8f6e0048 100644
--- a/buildtools/qmake/kdevtrollproject.rc
+++ b/buildtools/qmake/tdevtrollproject.rc
diff --git a/buildtools/qmake/trollprojectpart.cpp b/buildtools/qmake/trollprojectpart.cpp
index c71afc30..738e2534 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 <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdeaction.h>
#include <tdeparts/part.h>
#include <kprocess.h>
@@ -41,11 +41,11 @@
#include "domutil.h"
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevmakefrontend.h"
-#include "kdevappfrontend.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevmakefrontend.h"
+#include "tdevappfrontend.h"
+#include "tdevpartcontroller.h"
#include "trollprojectwidget.h"
#include "runoptionswidget.h"
#include "config.h"
@@ -53,15 +53,15 @@
#include "qmakeoptionswidget.h"
#include "scope.h"
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include <urlutil.h>
-typedef KDevGenericFactory<TrollProjectPart> TrollProjectFactory;
-static const KDevPluginInfo data("kdevtrollproject");
-K_EXPORT_COMPONENT_FACTORY( libkdevtrollproject, TrollProjectFactory( data ) )
+typedef TDevGenericFactory<TrollProjectPart> TrollProjectFactory;
+static const TDevPluginInfo data("tdevtrollproject");
+K_EXPORT_COMPONENT_FACTORY( libtdevtrollproject, TrollProjectFactory( data ) )
TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQStringList& args )
- : KDevBuildTool(&data, parent, name ? name : "TrollProjectPart")
+ : TDevBuildTool(&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("kdevtrollproject.rc");
+ setXMLFile("tdevtrollproject.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");
}
- KDevProject::openProject( dirName, projectName );
+ TDevProject::openProject( dirName, projectName );
}
@@ -475,7 +475,7 @@ TQString TrollProjectPart::runDirectory() const
TQString cwd;
if( DomUtil::readBoolEntry(dom, "/kdevtrollproject/run/useglobalprogram", true) )
{
- cwd = defaultRunDirectory("kdevtrollproject");
+ cwd = defaultRunDirectory("tdevtrollproject");
}else
{
TQString name = m_widget->getCurrentOutputFilename();
@@ -788,7 +788,7 @@ bool TrollProjectPart::isDirty()
return false;
}
-KDevProject::Options TrollProjectPart::options( ) const
+TDevProject::Options TrollProjectPart::options( ) const
{
return UsesTQMakeBuildSystem;
}
diff --git a/buildtools/qmake/trollprojectpart.h b/buildtools/qmake/trollprojectpart.h
index e36ef202..2b673b59 100644
--- a/buildtools/qmake/trollprojectpart.h
+++ b/buildtools/qmake/trollprojectpart.h
@@ -21,14 +21,14 @@
#include <tqmap.h>
#include <tqdatetime.h>
-#include "kdevbuildtool.h"
+#include "tdevbuildtool.h"
class KDialogBase;
class TrollProjectWidget;
class KDirWatch;
class TQMakeDefaultOpts;
-class TrollProjectPart : public KDevBuildTool
+class TrollProjectPart : public TDevBuildTool
{
Q_OBJECT
diff --git a/buildtools/qmake/trollprojectwidget.cpp b/buildtools/qmake/trollprojectwidget.cpp
index 68dfad8e..12d814a5 100644
--- a/buildtools/qmake/trollprojectwidget.cpp
+++ b/buildtools/qmake/trollprojectwidget.cpp
@@ -60,14 +60,14 @@
#include <tdeio/netaccess.h>
#include <kurlcompletion.h>
-#include "kdevcore.h"
-#include "kdevpartcontroller.h"
-#include "kdevmainwindow.h"
+#include "tdevcore.h"
+#include "tdevpartcontroller.h"
+#include "tdevmainwindow.h"
#include "trollprojectpart.h"
-#include "kdevappfrontend.h"
-#include "kdevmakefrontend.h"
-#include "kdevlanguagesupport.h"
-#include "kdevcreatefile.h"
+#include "tdevappfrontend.h"
+#include "tdevmakefrontend.h"
+#include "tdevlanguagesupport.h"
+#include "tdevcreatefile.h"
#include "subclassesdlg.h"
#include "addfilesdialog.h"
#include "urlutil.h"
@@ -1403,7 +1403,7 @@ void TrollProjectWidget::slotNewFile()
return ;
}
}
- KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "TDevelop/CreateFile" );
+ TDevCreateFile * createFileSupport = m_part->extension<TDevCreateFile>( "TDevelop/CreateFile" );
TQString fcext;
if( gitem )
{
@@ -1437,7 +1437,7 @@ void TrollProjectWidget::slotNewFile()
fcext = TQString();
}
}
- KDevCreateFile::CreatedFile crFile =
+ TDevCreateFile::CreatedFile crFile =
createFileSupport->createNewFile( fcext, projectDirectory() + TQString(TQChar(TQDir::separator()))+ m_shownSubproject->relativePath() );
}
@@ -1683,7 +1683,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
}
else if ( r == idInsNewFile )
{
- KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "TDevelop/CreateFile" );
+ TDevCreateFile * createFileSupport = m_part->extension<TDevCreateFile>( "TDevelop/CreateFile" );
TQString fcext;
switch ( titem->groupType )
{
@@ -1714,7 +1714,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
default:
fcext = TQString();
}
- KDevCreateFile::CreatedFile crFile =
+ TDevCreateFile::CreatedFile crFile =
createFileSupport->createNewFile( fcext, cleanSubprojectPath );
}