summaryrefslogtreecommitdiffstats
path: root/parts/distpart
diff options
context:
space:
mode:
Diffstat (limited to 'parts/distpart')
-rw-r--r--parts/distpart/CMakeLists.txt8
-rw-r--r--parts/distpart/Makefile.am14
-rw-r--r--parts/distpart/distpart_part.cpp16
-rw-r--r--parts/distpart/distpart_part.h8
-rw-r--r--parts/distpart/distpart_widget.cpp6
-rw-r--r--parts/distpart/distpart_widget.h2
-rw-r--r--parts/distpart/specsupport.cpp12
-rw-r--r--parts/distpart/tdevdistpart.desktop (renamed from parts/distpart/kdevdistpart.desktop)2
-rw-r--r--parts/distpart/tdevpart_distpart.rc (renamed from parts/distpart/kdevpart_distpart.rc)0
9 files changed, 34 insertions, 34 deletions
diff --git a/parts/distpart/CMakeLists.txt b/parts/distpart/CMakeLists.txt
index 15fcb85e..586b5346 100644
--- a/parts/distpart/CMakeLists.txt
+++ b/parts/distpart/CMakeLists.txt
@@ -27,13 +27,13 @@ link_directories(
##### other data ################################
-install( FILES kdevdistpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevpart_distpart.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdistpart )
+install( FILES tdevdistpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevpart_distpart.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdistpart )
-##### libkdevdistpart (module) ##################
+##### libtdevdistpart (module) ##################
-tde_add_kpart( libkdevdistpart AUTOMOC
+tde_add_kpart( libtdevdistpart AUTOMOC
SOURCES
distpart_ui.ui distpart_part.cpp distpart_widget.cpp
packagebase.cpp lsmsupport.cpp specsupport.cpp
diff --git a/parts/distpart/Makefile.am b/parts/distpart/Makefile.am
index 52f4a5ba..8b5e69db 100644
--- a/parts/distpart/Makefile.am
+++ b/parts/distpart/Makefile.am
@@ -1,16 +1,16 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libkdevdistpart.la
-libkdevdistpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevdistpart_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevdistpart.la
+libtdevdistpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevdistpart_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevdistpart_la_SOURCES = distpart_ui.ui distpart_part.cpp distpart_widget.cpp packagebase.cpp lsmsupport.cpp specsupport.cpp
+libtdevdistpart_la_SOURCES = distpart_ui.ui distpart_part.cpp distpart_widget.cpp packagebase.cpp lsmsupport.cpp specsupport.cpp
METASOURCES = AUTO
KDEICON = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevdistpart.desktop
+service_DATA = tdevdistpart.desktop
-rc_DATA = kdevpart_distpart.rc
-rcdir = $(kde_datadir)/kdevdistpart
+rc_DATA = tdevpart_distpart.rc
+rcdir = $(kde_datadir)/tdevdistpart
diff --git a/parts/distpart/distpart_part.cpp b/parts/distpart/distpart_part.cpp
index e8a3e11a..01ef30b0 100644
--- a/parts/distpart/distpart_part.cpp
+++ b/parts/distpart/distpart_part.cpp
@@ -23,27 +23,27 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdebug.h>
-#include "kdevcore.h"
-#include <kdevplugininfo.h>
+#include "tdevcore.h"
+#include <tdevplugininfo.h>
#include "distpart_widget.h"
#include <kdialogbase.h>
-typedef KDevGenericFactory<DistpartPart> DistpartFactory;
-static const KDevPluginInfo data("kdevdistpart");
-K_EXPORT_COMPONENT_FACTORY( libkdevdistpart, DistpartFactory( data ) )
+typedef TDevGenericFactory<DistpartPart> DistpartFactory;
+static const TDevPluginInfo data("tdevdistpart");
+K_EXPORT_COMPONENT_FACTORY( libtdevdistpart, DistpartFactory( data ) )
DistpartPart::DistpartPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "DistpartPart") {
+ : TDevPlugin(&data, parent, name ? name : "DistpartPart") {
kdDebug(9007) << "DistpartPart::DistpartPart()" << endl;
setInstance(DistpartFactory::instance());
- setXMLFile("kdevpart_distpart.rc");
+ setXMLFile("tdevpart_distpart.rc");
m_action = new TDEAction( i18n("Distribution && Publishing"), "package", 0,
this, TQT_SLOT(show()),
diff --git a/parts/distpart/distpart_part.h b/parts/distpart/distpart_part.h
index aa019c4d..d1d05a24 100644
--- a/parts/distpart/distpart_part.h
+++ b/parts/distpart/distpart_part.h
@@ -19,12 +19,12 @@
***************************************************************************/
-#ifndef __KDEVPART_DISTPART_H__
-#define __KDEVPART_DISTPART_H__
+#ifndef __TDEVPART_DISTPART_H__
+#define __TDEVPART_DISTPART_H__
#include <tqguardedptr.h>
-#include <kdevplugin.h>
+#include <tdevplugin.h>
#include <tdeaction.h>
#include "packagebase.h"
@@ -32,7 +32,7 @@
class DistpartDialog;
class KDialogBase;
-class DistpartPart : public KDevPlugin {
+class DistpartPart : public TDevPlugin {
Q_OBJECT
diff --git a/parts/distpart/distpart_widget.cpp b/parts/distpart/distpart_widget.cpp
index c628fe26..0999ca72 100644
--- a/parts/distpart/distpart_widget.cpp
+++ b/parts/distpart/distpart_widget.cpp
@@ -27,12 +27,12 @@
#include <tdefiledialog.h>
#include <tdeio/netaccess.h>
#include <tdelocale.h>
-#include "kdevproject.h"
+#include "tdevproject.h"
#include "domutil.h"
#include <ktar.h>
#include <tdemessagebox.h>
-#include <kdevcore.h>
+#include <tdevcore.h>
#include <tqgroupbox.h>
#include <tqlayout.h>
#include <tqnetwork.h>
@@ -44,7 +44,7 @@
#include <tqregexp.h>
#include <tqstringlist.h>
#include <tqtabwidget.h>
-#include "kdevmakefrontend.h"
+#include "tdevmakefrontend.h"
#include <kprogress.h>
#include <tqerrormessage.h>
diff --git a/parts/distpart/distpart_widget.h b/parts/distpart/distpart_widget.h
index 7a684a5a..1e5bf68f 100644
--- a/parts/distpart/distpart_widget.h
+++ b/parts/distpart/distpart_widget.h
@@ -32,7 +32,7 @@
#include <tqcombobox.h>
#include <tqprogressbar.h>
-class KDevProject;
+class TDevProject;
class DistpartPart;
class TQUrlOperator;
class TDEProcess;
diff --git a/parts/distpart/specsupport.cpp b/parts/distpart/specsupport.cpp
index 06a0bb67..38f8f385 100644
--- a/parts/distpart/specsupport.cpp
+++ b/parts/distpart/specsupport.cpp
@@ -19,8 +19,8 @@
***************************************************************************/
#include "specsupport.h"
-#include "kdevproject.h"
-#include "kdevmakefrontend.h"
+#include "tdevproject.h"
+#include "tdevmakefrontend.h"
#include "distpart_widget.h"
#include <kdebug.h>
@@ -79,11 +79,11 @@ void SpecSupport::slotbuildAllPushButtonPressed() {
return;
}
else
- if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
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"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
" && rpmbuild -ba " + m_part->project()->projectName() + ".spec");
}
@@ -178,11 +178,11 @@ void SpecSupport::slotsrcPackagePushButtonPressed() {
return;
}
else
- if (KDevMakeFrontend *makeFrontend = m_part->extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
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"))
+ if (TDevMakeFrontend *makeFrontend = m_part->extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir,"cd " + TDEProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) +
" && rpmbuild -bs " + m_part->project()->projectName() + ".spec");
}
diff --git a/parts/distpart/kdevdistpart.desktop b/parts/distpart/tdevdistpart.desktop
index 1b3d095d..290a0a8d 100644
--- a/parts/distpart/kdevdistpart.desktop
+++ b/parts/distpart/tdevdistpart.desktop
@@ -64,7 +64,7 @@ GenericName[zh_CN]=最终打包支持
GenericName[zh_TW]=最終包裝支援
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libkdevdistpart
+X-TDE-Library=libtdevdistpart
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=ProjectPackaging
diff --git a/parts/distpart/kdevpart_distpart.rc b/parts/distpart/tdevpart_distpart.rc
index 8b142d04..8b142d04 100644
--- a/parts/distpart/kdevpart_distpart.rc
+++ b/parts/distpart/tdevpart_distpart.rc