diff options
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/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.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 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 |