diff options
Diffstat (limited to 'parts/bookmarks')
-rw-r--r-- | parts/bookmarks/CMakeLists.txt | 6 | ||||
-rw-r--r-- | parts/bookmarks/Makefile.am | 10 | ||||
-rw-r--r-- | parts/bookmarks/bookmarks_part.cpp | 18 | ||||
-rw-r--r-- | parts/bookmarks/bookmarks_part.h | 10 | ||||
-rw-r--r-- | parts/bookmarks/bookmarks_widget.cpp | 4 | ||||
-rw-r--r-- | parts/bookmarks/tdevbookmarks.desktop (renamed from parts/bookmarks/kdevbookmarks.desktop) | 2 |
6 files changed, 25 insertions, 25 deletions
diff --git a/parts/bookmarks/CMakeLists.txt b/parts/bookmarks/CMakeLists.txt index 0422965c..98022378 100644 --- a/parts/bookmarks/CMakeLists.txt +++ b/parts/bookmarks/CMakeLists.txt @@ -26,12 +26,12 @@ link_directories( ##### other data ################################ -install( FILES kdevbookmarks.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevbookmarks.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -##### libkdevbookmarks (module) ################# +##### libtdevbookmarks (module) ################# -tde_add_kpart( libkdevbookmarks AUTOMOC +tde_add_kpart( libtdevbookmarks AUTOMOC SOURCES bookmarks_part.cpp bookmarks_widget.cpp bookmarks_settings_base.ui bookmarks_settings.cpp bookmarks_config.cpp diff --git a/parts/bookmarks/Makefile.am b/parts/bookmarks/Makefile.am index 2ac7b233..6f2e6b8d 100644 --- a/parts/bookmarks/Makefile.am +++ b/parts/bookmarks/Makefile.am @@ -1,14 +1,14 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevbookmarks.la -libkdevbookmarks_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevbookmarks_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevbookmarks.la +libtdevbookmarks_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevbookmarks_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevbookmarks_la_SOURCES = bookmarks_part.cpp bookmarks_widget.cpp bookmarks_settings_base.ui bookmarks_settings.cpp bookmarks_config.cpp +libtdevbookmarks_la_SOURCES = bookmarks_part.cpp bookmarks_widget.cpp bookmarks_settings_base.ui bookmarks_settings.cpp bookmarks_config.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevbookmarks.desktop +service_DATA = tdevbookmarks.desktop noinst_HEADERS = bookmarks_settings.h bookmarks_config.h diff --git a/parts/bookmarks/bookmarks_part.cpp b/parts/bookmarks/bookmarks_part.cpp index f7ac78cb..50672642 100644 --- a/parts/bookmarks/bookmarks_part.cpp +++ b/parts/bookmarks/bookmarks_part.cpp @@ -18,16 +18,16 @@ #include <kdebug.h> #include <kiconloader.h> #include <tdelocale.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <tdetexteditor/markinterface.h> #include <tdetexteditor/editinterface.h> #include <tdetexteditor/document.h> #include <tdeaction.h> #include <kdialogbase.h> -#include <kdevpartcontroller.h> -#include <kdevcore.h> -#include <kdevmainwindow.h> +#include <tdevpartcontroller.h> +#include <tdevcore.h> +#include <tdevmainwindow.h> #include "domutil.h" #include "bookmarks_widget.h" @@ -36,16 +36,16 @@ #include "bookmarks_config.h" #include <configwidgetproxy.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #define BOOKMARKSETTINGSPAGE 1 -typedef KDevGenericFactory<BookmarksPart> BookmarksFactory; -static const KDevPluginInfo data("kdevbookmarks"); -K_EXPORT_COMPONENT_FACTORY( libkdevbookmarks, BookmarksFactory( data ) ) +typedef TDevGenericFactory<BookmarksPart> BookmarksFactory; +static const TDevPluginInfo data("tdevbookmarks"); +K_EXPORT_COMPONENT_FACTORY( libtdevbookmarks, BookmarksFactory( data ) ) BookmarksPart::BookmarksPart(TQObject *parent, const char *name, const TQStringList& ) - : KDevPlugin(&data, parent, name ? name : "BookmarksPart" ) + : TDevPlugin(&data, parent, name ? name : "BookmarksPart" ) { setInstance(BookmarksFactory::instance()); diff --git a/parts/bookmarks/bookmarks_part.h b/parts/bookmarks/bookmarks_part.h index f51603d7..b8015f54 100644 --- a/parts/bookmarks/bookmarks_part.h +++ b/parts/bookmarks/bookmarks_part.h @@ -10,8 +10,8 @@ ***************************************************************************/ -#ifndef __KDEVPART_BOOKMARKS_H__ -#define __KDEVPART_BOOKMARKS_H__ +#ifndef __TDEVPART_BOOKMARKS_H__ +#define __TDEVPART_BOOKMARKS_H__ #include <tqguardedptr.h> @@ -22,7 +22,7 @@ #include <tdeparts/part.h> #include <kurl.h> -#include <kdevplugin.h> +#include <tdevplugin.h> class TQTimer; class KDialogBase; @@ -38,7 +38,7 @@ struct EditorData class BookmarksWidget; class TQDomElement; -class BookmarksPart : public KDevPlugin +class BookmarksPart : public TDevPlugin { Q_OBJECT @@ -48,7 +48,7 @@ public: BookmarksPart(TQObject *parent, const char *name, const TQStringList &); ~BookmarksPart(); - // reimplemented from KDevPlugin + // reimplemented from TDevPlugin void restorePartialProjectSession( const TQDomElement * el ); void savePartialProjectSession( TQDomElement * el ); diff --git a/parts/bookmarks/bookmarks_widget.cpp b/parts/bookmarks/bookmarks_widget.cpp index cc7316c8..dbf892fe 100644 --- a/parts/bookmarks/bookmarks_widget.cpp +++ b/parts/bookmarks/bookmarks_widget.cpp @@ -23,8 +23,8 @@ #include <tdepopupmenu.h> #include <tdelocale.h> -#include <kdevpartcontroller.h> -#include <kdevcore.h> +#include <tdevpartcontroller.h> +#include <tdevcore.h> #include "bookmarks_part.h" diff --git a/parts/bookmarks/kdevbookmarks.desktop b/parts/bookmarks/tdevbookmarks.desktop index 3cbdb233..0ec9ae11 100644 --- a/parts/bookmarks/kdevbookmarks.desktop +++ b/parts/bookmarks/tdevbookmarks.desktop @@ -80,6 +80,6 @@ GenericName[zh_TW]=書籤 Icon=bookmark ServiceTypes=TDevelop/Plugin X-TDevelop-Scope=Project -X-TDE-Library=libkdevbookmarks +X-TDE-Library=libtdevbookmarks X-TDevelop-Version=5 X-TDevelop-Properties=CodeEditing |