diff options
Diffstat (limited to 'parts/regexptest')
-rw-r--r-- | parts/regexptest/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/regexptest/Makefile.am | 14 | ||||
-rw-r--r-- | parts/regexptest/kdevregexptest.desktop (renamed from parts/regexptest/tdevregexptest.desktop) | 2 | ||||
-rw-r--r-- | parts/regexptest/kdevregexptest.rc (renamed from parts/regexptest/tdevregexptest.rc) | 0 | ||||
-rw-r--r-- | parts/regexptest/regexptestdlg.cpp | 6 | ||||
-rw-r--r-- | parts/regexptest/regexptestdlg.h | 6 | ||||
-rw-r--r-- | parts/regexptest/regexptestpart.cpp | 16 | ||||
-rw-r--r-- | parts/regexptest/regexptestpart.h | 4 |
8 files changed, 28 insertions, 28 deletions
diff --git a/parts/regexptest/CMakeLists.txt b/parts/regexptest/CMakeLists.txt index 3bc96414..608f053c 100644 --- a/parts/regexptest/CMakeLists.txt +++ b/parts/regexptest/CMakeLists.txt @@ -25,13 +25,13 @@ link_directories( ##### other data ################################ -install( FILES tdevregexptest.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES tdevregexptest.rc DESTINATION ${DATA_INSTALL_DIR}/tdevregexptest ) +install( FILES kdevregexptest.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevregexptest.rc DESTINATION ${DATA_INSTALL_DIR}/kdevregexptest ) -##### libtdevregexptest (module) ################ +##### libkdevregexptest (module) ################ -tde_add_kpart( libtdevregexptest AUTOMOC +tde_add_kpart( libkdevregexptest AUTOMOC SOURCES regexptestpart.cpp regexptestdlg.cpp regexptestdlgbase.ui LINK tdevelop-shared diff --git a/parts/regexptest/Makefile.am b/parts/regexptest/Makefile.am index 8e87ac79..df99989f 100644 --- a/parts/regexptest/Makefile.am +++ b/parts/regexptest/Makefile.am @@ -2,16 +2,16 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces $(all_includes) -kde_module_LTLIBRARIES = libtdevregexptest.la -libtdevregexptest_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevregexptest_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libkdevregexptest.la +libkdevregexptest_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevregexptest_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libtdevregexptest_la_SOURCES = regexptestpart.cpp regexptestdlg.cpp regexptestdlgbase.ui +libkdevregexptest_la_SOURCES = regexptestpart.cpp regexptestdlg.cpp regexptestdlgbase.ui METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevregexptest.desktop +service_DATA = kdevregexptest.desktop -rcdir = $(kde_datadir)/tdevregexptest -rc_DATA = tdevregexptest.rc +rcdir = $(kde_datadir)/kdevregexptest +rc_DATA = kdevregexptest.rc diff --git a/parts/regexptest/tdevregexptest.desktop b/parts/regexptest/kdevregexptest.desktop index e0978750..57f93f73 100644 --- a/parts/regexptest/tdevregexptest.desktop +++ b/parts/regexptest/kdevregexptest.desktop @@ -76,7 +76,7 @@ GenericName[tr]=Düzenli İfade Test Edicisi GenericName[zh_CN]=正则表达式测试 GenericName[zh_TW]=正規表示式測試器 ServiceTypes=TDevelop/Plugin -X-TDE-Library=libtdevregexptest +X-TDE-Library=libkdevregexptest X-TDevelop-Version=5 X-TDevelop-Scope=Global X-TDevelop-Properties=ScriptDevelopment,CDevelopment,CPPDevelopment diff --git a/parts/regexptest/tdevregexptest.rc b/parts/regexptest/kdevregexptest.rc index 99893d7f..99893d7f 100644 --- a/parts/regexptest/tdevregexptest.rc +++ b/parts/regexptest/kdevregexptest.rc diff --git a/parts/regexptest/regexptestdlg.cpp b/parts/regexptest/regexptestdlg.cpp index 200bee12..bd426411 100644 --- a/parts/regexptest/regexptestdlg.cpp +++ b/parts/regexptest/regexptestdlg.cpp @@ -32,11 +32,11 @@ #include <tdeparts/componentfactory.h> #include <kregexpeditorinterface.h> -#include "tdevplugin.h" -#include "tdevpartcontroller.h" +#include "kdevplugin.h" +#include "kdevpartcontroller.h" -RegexpTestDialog::RegexpTestDialog(TDevPlugin *part) +RegexpTestDialog::RegexpTestDialog(KDevPlugin *part) : RegexpTestDialogBase(0, "regexp test dialog", false), _regexp_dialog(0) { pattern_edit->setFocus(); diff --git a/parts/regexptest/regexptestdlg.h b/parts/regexptest/regexptestdlg.h index 09e656d2..4c7094a6 100644 --- a/parts/regexptest/regexptestdlg.h +++ b/parts/regexptest/regexptestdlg.h @@ -14,7 +14,7 @@ #include "regexptestdlgbase.h" -class TDevPlugin; +class KDevPlugin; class RegexpTestDialog : public RegexpTestDialogBase @@ -23,7 +23,7 @@ class RegexpTestDialog : public RegexpTestDialogBase public: - RegexpTestDialog( TDevPlugin *part ); + RegexpTestDialog( KDevPlugin *part ); ~RegexpTestDialog(); protected: @@ -39,7 +39,7 @@ private: virtual void checkKRegExp(); virtual void insertQuoted(); - TDevPlugin *m_part; + KDevPlugin *m_part; TQDialog * _regexp_dialog; }; diff --git a/parts/regexptest/regexptestpart.cpp b/parts/regexptest/regexptestpart.cpp index 0ca0b083..6c45a492 100644 --- a/parts/regexptest/regexptestpart.cpp +++ b/parts/regexptest/regexptestpart.cpp @@ -12,23 +12,23 @@ #include "regexptestpart.h" #include <tdelocale.h> -#include <tdevgenericfactory.h> -#include <tdevplugininfo.h> +#include <kdevgenericfactory.h> +#include <kdevplugininfo.h> #include <tdeaction.h> -#include "tdevcore.h" +#include "kdevcore.h" #include "regexptestdlg.h" -static const TDevPluginInfo data("tdevregexptest"); +static const KDevPluginInfo data("kdevregexptest"); -typedef TDevGenericFactory<RegexpTestPart> RegexpTestFactory; -K_EXPORT_COMPONENT_FACTORY( libtdevregexptest, RegexpTestFactory( data ) ) +typedef KDevGenericFactory<RegexpTestPart> RegexpTestFactory; +K_EXPORT_COMPONENT_FACTORY( libkdevregexptest, RegexpTestFactory( data ) ) RegexpTestPart::RegexpTestPart(TQObject *parent, const char *name, const TQStringList &) - : TDevPlugin(&data, parent, name ? name : "RegexpTestPart") + : KDevPlugin(&data, parent, name ? name : "RegexpTestPart") { setInstance(RegexpTestFactory::instance()); - setXMLFile("tdevregexptest.rc"); + setXMLFile("kdevregexptest.rc"); TDEAction *action; diff --git a/parts/regexptest/regexptestpart.h b/parts/regexptest/regexptestpart.h index 3488e910..ec153d90 100644 --- a/parts/regexptest/regexptestpart.h +++ b/parts/regexptest/regexptestpart.h @@ -14,12 +14,12 @@ #include <tqguardedptr.h> #include <kdialogbase.h> -#include "tdevplugin.h" +#include "kdevplugin.h" class RegexpTestDialog; -class RegexpTestPart : public TDevPlugin +class RegexpTestPart : public KDevPlugin { Q_OBJECT |