diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /parts/filter | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'parts/filter')
-rw-r--r-- | parts/filter/CMakeLists.txt | 10 | ||||
-rw-r--r-- | parts/filter/Makefile.am | 14 | ||||
-rw-r--r-- | parts/filter/filterpart.cpp | 18 | ||||
-rw-r--r-- | parts/filter/filterpart.h | 8 | ||||
-rw-r--r-- | parts/filter/shellfilterdlg.cpp | 2 | ||||
-rw-r--r-- | parts/filter/shellfilterdlg.h | 2 | ||||
-rw-r--r-- | parts/filter/shellinsertdlg.cpp | 2 | ||||
-rw-r--r-- | parts/filter/shellinsertdlg.h | 2 | ||||
-rw-r--r-- | parts/filter/tdevfilter.desktop (renamed from parts/filter/kdevfilter.desktop) | 4 | ||||
-rw-r--r-- | parts/filter/tdevfilter.rc (renamed from parts/filter/kdevfilter.rc) | 2 | ||||
-rw-r--r-- | parts/filter/tdevfilterIface.cpp (renamed from parts/filter/kdevfilterIface.cpp) | 14 | ||||
-rw-r--r-- | parts/filter/tdevfilterIface.h (renamed from parts/filter/kdevfilterIface.h) | 10 |
12 files changed, 44 insertions, 44 deletions
diff --git a/parts/filter/CMakeLists.txt b/parts/filter/CMakeLists.txt index 095144d3..7665f6f1 100644 --- a/parts/filter/CMakeLists.txt +++ b/parts/filter/CMakeLists.txt @@ -26,16 +26,16 @@ link_directories( ##### other data ################################ -install( FILES kdevfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdevfilter.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfilter ) +install( FILES tdevfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevfilter.rc DESTINATION ${DATA_INSTALL_DIR}/tdevfilter ) -##### libkdevfilter (module) #################### +##### libtdevfilter (module) #################### -tde_add_kpart( libkdevfilter AUTOMOC +tde_add_kpart( libtdevfilter AUTOMOC SOURCES filterpart.cpp shellfilterdlg.cpp shellinsertdlg.cpp - kdevfilterIface.cpp kdevfilterIface.skel + tdevfilterIface.cpp tdevfilterIface.skel LINK tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/parts/filter/Makefile.am b/parts/filter/Makefile.am index f68b0cf6..4a3fe722 100644 --- a/parts/filter/Makefile.am +++ b/parts/filter/Makefile.am @@ -2,16 +2,16 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevfilter.la -libkdevfilter_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevfilter_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevfilter.la +libtdevfilter_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevfilter_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevfilter_la_SOURCES = filterpart.cpp shellfilterdlg.cpp shellinsertdlg.cpp kdevfilterIface.cpp kdevfilterIface.skel +libtdevfilter_la_SOURCES = filterpart.cpp shellfilterdlg.cpp shellinsertdlg.cpp tdevfilterIface.cpp tdevfilterIface.skel METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevfilter.desktop +service_DATA = tdevfilter.desktop -rcdir = $(kde_datadir)/kdevfilter -rc_DATA = kdevfilter.rc +rcdir = $(kde_datadir)/tdevfilter +rc_DATA = tdevfilter.rc diff --git a/parts/filter/filterpart.cpp b/parts/filter/filterpart.cpp index 5ebd265e..3ee5029a 100644 --- a/parts/filter/filterpart.cpp +++ b/parts/filter/filterpart.cpp @@ -19,21 +19,21 @@ #include <tdetexteditor/selectioninterface.h> #include <tdetexteditor/viewcursorinterface.h> -#include "kdevcore.h" -#include "kdevpartcontroller.h" -#include "kdevplugininfo.h" +#include "tdevcore.h" +#include "tdevpartcontroller.h" +#include "tdevplugininfo.h" #include "shellfilterdlg.h" #include "shellinsertdlg.h" -#include "kdevfilterIface.h" +#include "tdevfilterIface.h" -static const KDevPluginInfo data("kdevfilter"); -K_EXPORT_COMPONENT_FACTORY( libkdevfilter, FilterFactory( data ) ) +static const TDevPluginInfo data("tdevfilter"); +K_EXPORT_COMPONENT_FACTORY( libtdevfilter, FilterFactory( data ) ) FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &) - : KDevPlugin(&data, parent, name ? name : "FilterPart") + : TDevPlugin(&data, parent, name ? name : "FilterPart") { setInstance(FilterFactory::instance()); - setXMLFile("kdevfilter.rc"); + setXMLFile("tdevfilter.rc"); TDEAction *action; @@ -52,7 +52,7 @@ FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &) m_insertDialog = 0; m_filterDialog = 0; - new KDevFilterIface( this ); + new TDevFilterIface( this ); // (void) dcopClient(); } diff --git a/parts/filter/filterpart.h b/parts/filter/filterpart.h index b8322425..b1eac334 100644 --- a/parts/filter/filterpart.h +++ b/parts/filter/filterpart.h @@ -12,14 +12,14 @@ #ifndef _FILTERPART_H_ #define _FILTERPART_H_ -#include <kdevgenericfactory.h> -#include "kdevplugin.h" +#include <tdevgenericfactory.h> +#include "tdevplugin.h" class ShellInsertDialog; class ShellFilterDialog; -class FilterPart : public KDevPlugin +class FilterPart : public TDevPlugin { Q_OBJECT @@ -37,6 +37,6 @@ private: ShellFilterDialog *m_filterDialog; }; -typedef KDevGenericFactory<FilterPart> FilterFactory; +typedef TDevGenericFactory<FilterPart> FilterFactory; #endif diff --git a/parts/filter/shellfilterdlg.cpp b/parts/filter/shellfilterdlg.cpp index a5100d5b..7d3d0ff5 100644 --- a/parts/filter/shellfilterdlg.cpp +++ b/parts/filter/shellfilterdlg.cpp @@ -23,7 +23,7 @@ #include <kstdguiitem.h> #include <tdeversion.h> -#include "kdevplugin.h" +#include "tdevplugin.h" #include "domutil.h" #include "filterpart.h" diff --git a/parts/filter/shellfilterdlg.h b/parts/filter/shellfilterdlg.h index 87657501..cf9812ab 100644 --- a/parts/filter/shellfilterdlg.h +++ b/parts/filter/shellfilterdlg.h @@ -16,7 +16,7 @@ class TQComboBox; class TQPushButton; -class KDevPlugin; +class TDevPlugin; class TDEProcess; diff --git a/parts/filter/shellinsertdlg.cpp b/parts/filter/shellinsertdlg.cpp index 057e8121..f9d24c19 100644 --- a/parts/filter/shellinsertdlg.cpp +++ b/parts/filter/shellinsertdlg.cpp @@ -24,7 +24,7 @@ #include <kstdguiitem.h> #include <tdeversion.h> -#include "kdevplugin.h" +#include "tdevplugin.h" #include "domutil.h" #include "filterpart.h" diff --git a/parts/filter/shellinsertdlg.h b/parts/filter/shellinsertdlg.h index fda59678..df3085a1 100644 --- a/parts/filter/shellinsertdlg.h +++ b/parts/filter/shellinsertdlg.h @@ -16,7 +16,7 @@ class TQComboBox; class TQPushButton; -class KDevPlugin; +class TDevPlugin; class TDEProcess; diff --git a/parts/filter/kdevfilter.desktop b/parts/filter/tdevfilter.desktop index 1ce8122a..36854737 100644 --- a/parts/filter/kdevfilter.desktop +++ b/parts/filter/tdevfilter.desktop @@ -32,7 +32,7 @@ Comment[tg]=Вазифаи корҳо бо матнҳои дар муҳарри Comment[tr]=Komut satırı araçlarını kullanarak düzenleyici metni işlemek için bir yol sunar. Araçlar menüsünde durur. Comment[zh_CN]=使用命令行工具操作编辑器文字。显示在工具菜单中。 Comment[zh_TW]=提供使用命令列工具操作編輯器文字的方法。會出現在工具選單中。 -Name=KDevFilter +Name=TDevFilter Name[da]=TDevelop filter Name[de]=Filter (TDevelop) Name[hi]=के-डेव-फ़िल्टर @@ -76,7 +76,7 @@ GenericName[tr]=Kabuk filtreleme ve Ekleme GenericName[zh_CN]=Shell 过滤和插入 GenericName[zh_TW]=Shell 過濾與插入 ServiceTypes=TDevelop/Plugin -X-TDE-Library=libkdevfilter +X-TDE-Library=libtdevfilter X-TDevelop-Version=5 X-TDevelop-Scope=Global X-TDevelop-Properties=OptionalCodeEditing diff --git a/parts/filter/kdevfilter.rc b/parts/filter/tdevfilter.rc index 6f7f9053..4f3d82d9 100644 --- a/parts/filter/kdevfilter.rc +++ b/parts/filter/tdevfilter.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui name="KDevFilter" version="1"> +<kpartgui name="TDevFilter" version="1"> <MenuBar> <Menu name="tools" > <Action name="tools_insertshell" group="tools_file_operations"/> diff --git a/parts/filter/kdevfilterIface.cpp b/parts/filter/tdevfilterIface.cpp index 3df749a4..e0c15687 100644 --- a/parts/filter/kdevfilterIface.cpp +++ b/parts/filter/tdevfilterIface.cpp @@ -10,26 +10,26 @@ // Copyright: See COPYING file that comes with this distribution // // -#include "kdevfilterIface.h" +#include "tdevfilterIface.h" #include "filterpart.h" -KDevFilterIface::KDevFilterIface( FilterPart* part ) - : TQObject( part ), DCOPObject( "KDevFilter" ), m_part( part ) +TDevFilterIface::TDevFilterIface( FilterPart* part ) + : TQObject( part ), DCOPObject( "TDevFilter" ), m_part( part ) { } -KDevFilterIface::~KDevFilterIface() +TDevFilterIface::~TDevFilterIface() { } -void KDevFilterIface::shellInsert() +void TDevFilterIface::shellInsert() { m_part->slotShellInsert(); } -void KDevFilterIface::shellFilter() +void TDevFilterIface::shellFilter() { m_part->slotShellFilter(); } -#include "kdevfilterIface.moc" +#include "tdevfilterIface.moc" diff --git a/parts/filter/kdevfilterIface.h b/parts/filter/tdevfilterIface.h index fae74022..56d2aebf 100644 --- a/parts/filter/kdevfilterIface.h +++ b/parts/filter/tdevfilterIface.h @@ -1,20 +1,20 @@ -#ifndef KDEVFILTERIFACE_H -#define KDEVFILTERIFACE_H +#ifndef TDEVFILTERIFACE_H +#define TDEVFILTERIFACE_H #include <tqobject.h> #include <dcopobject.h> class FilterPart; -class KDevFilterIface : public TQObject, public DCOPObject +class TDevFilterIface : public TQObject, public DCOPObject { Q_OBJECT // K_DCOP public: - KDevFilterIface( FilterPart* part ); - ~KDevFilterIface(); + TDevFilterIface( FilterPart* part ); + ~TDevFilterIface(); k_dcop: void shellInsert(); |