diff options
author | Darrell Anderson <[email protected]> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /embedded | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'embedded')
-rw-r--r-- | embedded/visualboyadvance/CMakeLists.txt | 10 | ||||
-rw-r--r-- | embedded/visualboyadvance/Makefile.am | 14 | ||||
-rw-r--r-- | embedded/visualboyadvance/tdevpart_visualboyadvance.rc (renamed from embedded/visualboyadvance/kdevpart_visualboyadvance.rc) | 0 | ||||
-rw-r--r-- | embedded/visualboyadvance/tdevvisualboyadvance.desktop (renamed from embedded/visualboyadvance/kdevvisualboyadvance.desktop) | 2 | ||||
-rw-r--r-- | embedded/visualboyadvance/visualboyadvance_part.cpp | 24 | ||||
-rw-r--r-- | embedded/visualboyadvance/visualboyadvance_part.h | 8 |
6 files changed, 29 insertions, 29 deletions
diff --git a/embedded/visualboyadvance/CMakeLists.txt b/embedded/visualboyadvance/CMakeLists.txt index be7cf42f..cd281f67 100644 --- a/embedded/visualboyadvance/CMakeLists.txt +++ b/embedded/visualboyadvance/CMakeLists.txt @@ -23,9 +23,9 @@ link_directories( ) -##### kdevvisualboyadvance (module) ############# +##### tdevvisualboyadvance (module) ############# -tde_add_kpart( libkdevvisualboyadvance AUTOMOC +tde_add_kpart( libtdevvisualboyadvance AUTOMOC SOURCES visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp LINK tdevelop-shared @@ -36,11 +36,11 @@ tde_add_kpart( libkdevvisualboyadvance AUTOMOC ##### other data ################################ install( - FILES kdevvisualboyadvance.desktop + FILES tdevvisualboyadvance.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( - FILES kdevpart_visualboyadvance.rc - DESTINATION ${DATA_INSTALL_DIR}/kdevvisualboyadvance + FILES tdevpart_visualboyadvance.rc + DESTINATION ${DATA_INSTALL_DIR}/tdevvisualboyadvance ) diff --git a/embedded/visualboyadvance/Makefile.am b/embedded/visualboyadvance/Makefile.am index a866fd79..16fac82e 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 = libkdevvisualboyadvance.la -libkdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevvisualboyadvance_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevvisualboyadvance.la +libtdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevvisualboyadvance_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevvisualboyadvance_la_SOURCES = visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp +libtdevvisualboyadvance_la_SOURCES = visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevvisualboyadvance.desktop +service_DATA = tdevvisualboyadvance.desktop -rcdir = $(kde_datadir)/kdevvisualboyadvance -rc_DATA = kdevpart_visualboyadvance.rc +rcdir = $(kde_datadir)/tdevvisualboyadvance +rc_DATA = tdevpart_visualboyadvance.rc diff --git a/embedded/visualboyadvance/kdevpart_visualboyadvance.rc b/embedded/visualboyadvance/tdevpart_visualboyadvance.rc index 674cd41f..674cd41f 100644 --- a/embedded/visualboyadvance/kdevpart_visualboyadvance.rc +++ b/embedded/visualboyadvance/tdevpart_visualboyadvance.rc diff --git a/embedded/visualboyadvance/kdevvisualboyadvance.desktop b/embedded/visualboyadvance/tdevvisualboyadvance.desktop index 292fe6de..a50ec24f 100644 --- a/embedded/visualboyadvance/kdevvisualboyadvance.desktop +++ b/embedded/visualboyadvance/tdevvisualboyadvance.desktop @@ -79,7 +79,7 @@ GenericName[zh_CN]=VisualBoyAdvance 支持 GenericName[zh_TW]=VisualBoyAdvance 支援 Icon=tdevelop ServiceTypes=TDevelop/Plugin -X-TDE-Library=libkdevvisualboyadvance +X-TDE-Library=libtdevvisualboyadvance 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 873cd01d..a3b842f4 100644 --- a/embedded/visualboyadvance/visualboyadvance_part.cpp +++ b/embedded/visualboyadvance/visualboyadvance_part.cpp @@ -4,30 +4,30 @@ #include <tqwhatsthis.h> #include <tdeaction.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <kiconloader.h> #include <tdelocale.h> -#include "kdevcore.h" -#include "kdevproject.h" -#include "kdevappfrontend.h" +#include "tdevcore.h" +#include "tdevproject.h" +#include "tdevappfrontend.h" #include "domutil.h" -#include "kdevplugininfo.h" +#include "tdevplugininfo.h" #include "vbaconfigwidget.h" using namespace VisualBoyAdvance; -typedef KDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory; -static const KDevPluginInfo data("kdevvisualboyadvance"); -K_EXPORT_COMPONENT_FACTORY( libkdevvisualboyadvance, VisualBoyAdvanceFactory( data ) ) +typedef TDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory; +static const TDevPluginInfo data("tdevvisualboyadvance"); +K_EXPORT_COMPONENT_FACTORY( libtdevvisualboyadvance, VisualBoyAdvanceFactory( data ) ) VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &) - : KDevPlugin(&data, parent, name){ + : TDevPlugin(&data, parent, name){ setInstance(VisualBoyAdvanceFactory::instance()); - setXMLFile("kdevpart_visualboyadvance.rc"); + setXMLFile("tdevpart_visualboyadvance.rc"); TDEAction *action; action = new TDEAction( i18n("Execute Program"), "exec", Key_F9, @@ -44,7 +44,7 @@ VisualBoyAdvancePart::~VisualBoyAdvancePart() } void VisualBoyAdvancePart::slotExecute(){ - KDevProject* prj = project(); + TDevProject* 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 (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend")) + if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend")) appFrontend->startAppCommand(TQString(), program, terminal); } diff --git a/embedded/visualboyadvance/visualboyadvance_part.h b/embedded/visualboyadvance/visualboyadvance_part.h index 941e0ff2..17a2ade8 100644 --- a/embedded/visualboyadvance/visualboyadvance_part.h +++ b/embedded/visualboyadvance/visualboyadvance_part.h @@ -3,15 +3,15 @@ */ -#ifndef __KDEVPART_VISUALBOYADVANCE_H__ -#define __KDEVPART_VISUALBOYADVANCE_H__ +#ifndef __TDEVPART_VISUALBOYADVANCE_H__ +#define __TDEVPART_VISUALBOYADVANCE_H__ #include <tqguardedptr.h> -#include <kdevplugin.h> +#include <tdevplugin.h> #include <kdialogbase.h> namespace VisualBoyAdvance { - class VisualBoyAdvancePart : public KDevPlugin + class VisualBoyAdvancePart : public TDevPlugin { Q_OBJECT |