summaryrefslogtreecommitdiffstats
path: root/embedded
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 /embedded
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'embedded')
-rw-r--r--embedded/visualboyadvance/CMakeLists.txt10
-rw-r--r--embedded/visualboyadvance/Makefile.am14
-rw-r--r--embedded/visualboyadvance/kdevpart_visualboyadvance.rc (renamed from embedded/visualboyadvance/tdevpart_visualboyadvance.rc)0
-rw-r--r--embedded/visualboyadvance/kdevvisualboyadvance.desktop (renamed from embedded/visualboyadvance/tdevvisualboyadvance.desktop)2
-rw-r--r--embedded/visualboyadvance/visualboyadvance_part.cpp24
-rw-r--r--embedded/visualboyadvance/visualboyadvance_part.h8
6 files changed, 29 insertions, 29 deletions
diff --git a/embedded/visualboyadvance/CMakeLists.txt b/embedded/visualboyadvance/CMakeLists.txt
index cd281f67..be7cf42f 100644
--- a/embedded/visualboyadvance/CMakeLists.txt
+++ b/embedded/visualboyadvance/CMakeLists.txt
@@ -23,9 +23,9 @@ link_directories(
)
-##### tdevvisualboyadvance (module) #############
+##### kdevvisualboyadvance (module) #############
-tde_add_kpart( libtdevvisualboyadvance AUTOMOC
+tde_add_kpart( libkdevvisualboyadvance AUTOMOC
SOURCES
visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp
LINK tdevelop-shared
@@ -36,11 +36,11 @@ tde_add_kpart( libtdevvisualboyadvance AUTOMOC
##### other data ################################
install(
- FILES tdevvisualboyadvance.desktop
+ FILES kdevvisualboyadvance.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
install(
- FILES tdevpart_visualboyadvance.rc
- DESTINATION ${DATA_INSTALL_DIR}/tdevvisualboyadvance
+ FILES kdevpart_visualboyadvance.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kdevvisualboyadvance
)
diff --git a/embedded/visualboyadvance/Makefile.am b/embedded/visualboyadvance/Makefile.am
index 16fac82e..a866fd79 100644
--- a/embedded/visualboyadvance/Makefile.am
+++ b/embedded/visualboyadvance/Makefile.am
@@ -1,17 +1,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
-kde_module_LTLIBRARIES = libtdevvisualboyadvance.la
-libtdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libtdevvisualboyadvance_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libkdevvisualboyadvance.la
+libkdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libkdevvisualboyadvance_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libtdevvisualboyadvance_la_SOURCES = visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp
+libkdevvisualboyadvance_la_SOURCES = visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = tdevvisualboyadvance.desktop
+service_DATA = kdevvisualboyadvance.desktop
-rcdir = $(kde_datadir)/tdevvisualboyadvance
-rc_DATA = tdevpart_visualboyadvance.rc
+rcdir = $(kde_datadir)/kdevvisualboyadvance
+rc_DATA = kdevpart_visualboyadvance.rc
diff --git a/embedded/visualboyadvance/tdevpart_visualboyadvance.rc b/embedded/visualboyadvance/kdevpart_visualboyadvance.rc
index 674cd41f..674cd41f 100644
--- a/embedded/visualboyadvance/tdevpart_visualboyadvance.rc
+++ b/embedded/visualboyadvance/kdevpart_visualboyadvance.rc
diff --git a/embedded/visualboyadvance/tdevvisualboyadvance.desktop b/embedded/visualboyadvance/kdevvisualboyadvance.desktop
index a50ec24f..292fe6de 100644
--- a/embedded/visualboyadvance/tdevvisualboyadvance.desktop
+++ b/embedded/visualboyadvance/kdevvisualboyadvance.desktop
@@ -79,7 +79,7 @@ GenericName[zh_CN]=VisualBoyAdvance 支持
GenericName[zh_TW]=VisualBoyAdvance 支援
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
-X-TDE-Library=libtdevvisualboyadvance
+X-TDE-Library=libkdevvisualboyadvance
X-TDevelop-Version=5
X-TDevelop-Scope=Project
Keywords=GBA
diff --git a/embedded/visualboyadvance/visualboyadvance_part.cpp b/embedded/visualboyadvance/visualboyadvance_part.cpp
index a3b842f4..873cd01d 100644
--- a/embedded/visualboyadvance/visualboyadvance_part.cpp
+++ b/embedded/visualboyadvance/visualboyadvance_part.cpp
@@ -4,30 +4,30 @@
#include <tqwhatsthis.h>
#include <tdeaction.h>
-#include <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include "tdevcore.h"
-#include "tdevproject.h"
-#include "tdevappfrontend.h"
+#include "kdevcore.h"
+#include "kdevproject.h"
+#include "kdevappfrontend.h"
#include "domutil.h"
-#include "tdevplugininfo.h"
+#include "kdevplugininfo.h"
#include "vbaconfigwidget.h"
using namespace VisualBoyAdvance;
-typedef TDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory;
-static const TDevPluginInfo data("tdevvisualboyadvance");
-K_EXPORT_COMPONENT_FACTORY( libtdevvisualboyadvance, VisualBoyAdvanceFactory( data ) )
+typedef KDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory;
+static const KDevPluginInfo data("kdevvisualboyadvance");
+K_EXPORT_COMPONENT_FACTORY( libkdevvisualboyadvance, VisualBoyAdvanceFactory( data ) )
VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &)
- : TDevPlugin(&data, parent, name){
+ : KDevPlugin(&data, parent, name){
setInstance(VisualBoyAdvanceFactory::instance());
- setXMLFile("tdevpart_visualboyadvance.rc");
+ setXMLFile("kdevpart_visualboyadvance.rc");
TDEAction *action;
action = new TDEAction( i18n("Execute Program"), "exec", Key_F9,
@@ -44,7 +44,7 @@ VisualBoyAdvancePart::~VisualBoyAdvancePart()
}
void VisualBoyAdvancePart::slotExecute(){
- TDevProject* prj = project();
+ KDevProject* prj = project();
TQDomDocument &doc = *projectDom();
TQString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary");
TQString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator");
@@ -62,7 +62,7 @@ void VisualBoyAdvancePart::slotExecute(){
program += prj->projectDirectory() + "/" + binary;
- if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend"))
+ if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(TQString(), program, terminal);
}
diff --git a/embedded/visualboyadvance/visualboyadvance_part.h b/embedded/visualboyadvance/visualboyadvance_part.h
index 17a2ade8..941e0ff2 100644
--- a/embedded/visualboyadvance/visualboyadvance_part.h
+++ b/embedded/visualboyadvance/visualboyadvance_part.h
@@ -3,15 +3,15 @@
*/
-#ifndef __TDEVPART_VISUALBOYADVANCE_H__
-#define __TDEVPART_VISUALBOYADVANCE_H__
+#ifndef __KDEVPART_VISUALBOYADVANCE_H__
+#define __KDEVPART_VISUALBOYADVANCE_H__
#include <tqguardedptr.h>
-#include <tdevplugin.h>
+#include <kdevplugin.h>
#include <kdialogbase.h>
namespace VisualBoyAdvance {
- class VisualBoyAdvancePart : public TDevPlugin
+ class VisualBoyAdvancePart : public KDevPlugin
{
Q_OBJECT