diff options
Diffstat (limited to 'parts/snippet')
-rw-r--r-- | parts/snippet/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/snippet/Makefile.am | 14 | ||||
-rw-r--r-- | parts/snippet/snippet_part.cpp | 20 | ||||
-rw-r--r-- | parts/snippet/snippet_part.h | 10 | ||||
-rw-r--r-- | parts/snippet/snippet_widget.cpp | 8 | ||||
-rw-r--r-- | parts/snippet/snippet_widget.h | 2 | ||||
-rw-r--r-- | parts/snippet/tdevpart_snippet.rc (renamed from parts/snippet/kdevpart_snippet.rc) | 2 | ||||
-rw-r--r-- | parts/snippet/tdevsnippet.desktop (renamed from parts/snippet/kdevsnippet.desktop) | 2 |
8 files changed, 33 insertions, 33 deletions
diff --git a/parts/snippet/CMakeLists.txt b/parts/snippet/CMakeLists.txt index 704ec3e9..43776bf0 100644 --- a/parts/snippet/CMakeLists.txt +++ b/parts/snippet/CMakeLists.txt @@ -26,13 +26,13 @@ link_directories( ##### other data ################################ -install( FILES kdevsnippet.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdevpart_snippet.rc DESTINATION ${DATA_INSTALL_DIR}/kdevsnippet ) +install( FILES tdevsnippet.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevpart_snippet.rc DESTINATION ${DATA_INSTALL_DIR}/tdevsnippet ) -##### libkdevsnippet (module) ################### +##### libtdevsnippet (module) ################### -tde_add_kpart( libkdevsnippet AUTOMOC +tde_add_kpart( libtdevsnippet AUTOMOC SOURCES snippet_part.cpp snippet_widget.cpp snippetdlg.ui snippetitem.cpp snippetsettingsbase.ui snippetsettings.cpp diff --git a/parts/snippet/Makefile.am b/parts/snippet/Makefile.am index e2c207a4..d2429963 100644 --- a/parts/snippet/Makefile.am +++ b/parts/snippet/Makefile.am @@ -1,17 +1,17 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevsnippet.la -libkdevsnippet_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevsnippet_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevsnippet.la +libtdevsnippet_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevsnippet_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevsnippet_la_SOURCES = snippet_part.cpp snippet_widget.cpp snippetdlg.ui snippetitem.cpp snippetsettingsbase.ui snippetsettings.cpp snippetconfig.cpp +libtdevsnippet_la_SOURCES = snippet_part.cpp snippet_widget.cpp snippetdlg.ui snippetitem.cpp snippetsettingsbase.ui snippetsettings.cpp snippetconfig.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevsnippet.desktop +service_DATA = tdevsnippet.desktop -rc_DATA = kdevpart_snippet.rc -rcdir = $(kde_datadir)/kdevsnippet +rc_DATA = tdevpart_snippet.rc +rcdir = $(kde_datadir)/tdevsnippet noinst_HEADERS = snippetdlg.h snippetitem.h snippetsettingsbase.h snippetsettings.h snippetconfig.h diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp index 82969151..e31ebe7a 100644 --- a/parts/snippet/snippet_part.cpp +++ b/parts/snippet/snippet_part.cpp @@ -20,11 +20,11 @@ #include <tqbuttongroup.h> #include <ktrader.h> -#include "kdevcore.h" -#include <kdevproject.h> -#include "kdevmainwindow.h" -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include "tdevcore.h" +#include <tdevproject.h> +#include "tdevmainwindow.h" +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include <kdebug.h> @@ -33,15 +33,15 @@ #include "snippetsettings.h" #include "snippetconfig.h" -static const KDevPluginInfo data("kdevsnippet"); -typedef KDevGenericFactory<SnippetPart> snippetFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevsnippet, snippetFactory( data ) ) +static const TDevPluginInfo data("tdevsnippet"); +typedef TDevGenericFactory<SnippetPart> snippetFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevsnippet, snippetFactory( data ) ) SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList& ) - : KDevPlugin(&data, parent, name ? name : "SnippetPart" ) + : TDevPlugin(&data, parent, name ? name : "SnippetPart" ) { setInstance(snippetFactory::instance()); - setXMLFile("kdevpart_snippet.rc"); + setXMLFile("tdevpart_snippet.rc"); m_widget = new SnippetWidget(this); m_widget->setCaption(i18n("Code Snippets")); diff --git a/parts/snippet/snippet_part.h b/parts/snippet/snippet_part.h index 8ffd8fce..98a809cf 100644 --- a/parts/snippet/snippet_part.h +++ b/parts/snippet/snippet_part.h @@ -7,12 +7,12 @@ */ -#ifndef __KDEVPART_SNIPPET_H__ -#define __KDEVPART_SNIPPET_H__ +#ifndef __TDEVPART_SNIPPET_H__ +#define __TDEVPART_SNIPPET_H__ #include <tqguardedptr.h> -#include <kdevplugin.h> +#include <tdevplugin.h> class SnippetWidget; @@ -20,11 +20,11 @@ class TDEAboutData; class KDialogBase; /* -This is the KDevPlugin for the CodeSnippet feature +This is the TDevPlugin for the CodeSnippet feature For more info read the README.dox file @author Robert Gruber */ -class SnippetPart : public KDevPlugin +class SnippetPart : public TDevPlugin { Q_OBJECT diff --git a/parts/snippet/snippet_widget.cpp b/parts/snippet/snippet_widget.cpp index 9cd4ae4b..6b59f16f 100644 --- a/parts/snippet/snippet_widget.cpp +++ b/parts/snippet/snippet_widget.cpp @@ -36,9 +36,9 @@ #include <kcombobox.h> #include <tdeversion.h> -#include <kdevcore.h> -#include <kdevproject.h> -#include <kdevpartcontroller.h> +#include <tdevcore.h> +#include <tdevproject.h> +#include <tdevpartcontroller.h> #include "snippetdlg.h" #include "snippetitem.h" @@ -418,7 +418,7 @@ void SnippetWidget::initConfigOldVersion(TDEConfig *cfg) void SnippetWidget::initConfig() { if (_cfg == NULL) - _cfg = new TDEConfig("kdevsnippetrc", false, false); + _cfg = new TDEConfig("tdevsnippetrc", false, false); _cfg->setGroup("SnippetPart"); diff --git a/parts/snippet/snippet_widget.h b/parts/snippet/snippet_widget.h index 8b6c17a1..4d534802 100644 --- a/parts/snippet/snippet_widget.h +++ b/parts/snippet/snippet_widget.h @@ -19,7 +19,7 @@ #include <tdetexteditor/view.h> #include "snippetconfig.h" -class KDevProject; +class TDevProject; class SnippetPart; class TQPushButton; class TDEListView; diff --git a/parts/snippet/kdevpart_snippet.rc b/parts/snippet/tdevpart_snippet.rc index 4f34ec50..f4b9d2db 100644 --- a/parts/snippet/kdevpart_snippet.rc +++ b/parts/snippet/tdevpart_snippet.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui> -<kpartplugin name="snippet" library="libkdevsnippet" version="3"> +<kpartplugin name="snippet" library="libtdevsnippet" version="3"> <MenuBar> </MenuBar> <Menu name="hidden"> diff --git a/parts/snippet/kdevsnippet.desktop b/parts/snippet/tdevsnippet.desktop index f9ba9652..b257280c 100644 --- a/parts/snippet/kdevsnippet.desktop +++ b/parts/snippet/tdevsnippet.desktop @@ -97,6 +97,6 @@ GenericName[zh_TW]=程式碼片段 Icon=editcut ServiceTypes=TDevelop/Plugin X-TDevelop-Scope=Global -X-TDE-Library=libkdevsnippet +X-TDE-Library=libtdevsnippet X-TDevelop-Version=5 X-TDevelop-Properties=CodeEditing |