diff options
Diffstat (limited to 'parts/tipofday')
-rw-r--r-- | parts/tipofday/CMakeLists.txt | 10 | ||||
-rw-r--r-- | parts/tipofday/Makefile.am | 18 | ||||
-rw-r--r-- | parts/tipofday/tdevpart_tipofday.rc (renamed from parts/tipofday/kdevpart_tipofday.rc) | 0 | ||||
-rw-r--r-- | parts/tipofday/tdevtipofday.desktop (renamed from parts/tipofday/kdevtipofday.desktop) | 2 | ||||
-rw-r--r-- | parts/tipofday/tipofday_part.cpp | 18 | ||||
-rw-r--r-- | parts/tipofday/tipofday_part.h | 8 |
6 files changed, 28 insertions, 28 deletions
diff --git a/parts/tipofday/CMakeLists.txt b/parts/tipofday/CMakeLists.txt index 753f65e1..c3990be1 100644 --- a/parts/tipofday/CMakeLists.txt +++ b/parts/tipofday/CMakeLists.txt @@ -27,14 +27,14 @@ link_directories( ##### other data ################################ tde_install_icons( ) -install( FILES kdevtipofday.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday ) -install( FILES kdevpart_tipofday.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtipofday ) +install( FILES tdevtipofday.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/tdevtipofday ) +install( FILES tdevpart_tipofday.rc DESTINATION ${DATA_INSTALL_DIR}/tdevtipofday ) -##### libkdevtipofday (module) ################## +##### libtdevtipofday (module) ################## -tde_add_kpart( libkdevtipofday AUTOMOC +tde_add_kpart( libtdevtipofday AUTOMOC SOURCES tipofday_part.cpp LINK tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/parts/tipofday/Makefile.am b/parts/tipofday/Makefile.am index 4ec54292..22560851 100644 --- a/parts/tipofday/Makefile.am +++ b/parts/tipofday/Makefile.am @@ -1,24 +1,24 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevtipofday.la -libkdevtipofday_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevtipofday_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevtipofday.la +libtdevtipofday_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevtipofday_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevtipofday_la_SOURCES = tipofday_part.cpp +libtdevtipofday_la_SOURCES = tipofday_part.cpp METASOURCES = AUTO KDE_ICON = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevtipofday.desktop +service_DATA = tdevtipofday.desktop tip_DATA = tips -tipdir = $(kde_datadir)/kdevtipofday +tipdir = $(kde_datadir)/tdevtipofday -rc_DATA = kdevpart_tipofday.rc -rcdir = $(kde_datadir)/kdevtipofday +rc_DATA = tdevpart_tipofday.rc +rcdir = $(kde_datadir)/tdevtipofday messages: rc.cpp $(PREPARETIPS) > tips.cc - $(XGETTEXT) *.cpp *.h tips.cc -o $(podir)/kdevtipofday.pot + $(XGETTEXT) *.cpp *.h tips.cc -o $(podir)/tdevtipofday.pot rm -f tips.cc diff --git a/parts/tipofday/kdevpart_tipofday.rc b/parts/tipofday/tdevpart_tipofday.rc index 43f7d1dc..43f7d1dc 100644 --- a/parts/tipofday/kdevpart_tipofday.rc +++ b/parts/tipofday/tdevpart_tipofday.rc diff --git a/parts/tipofday/kdevtipofday.desktop b/parts/tipofday/tdevtipofday.desktop index 7efdbd9f..53d6d9c9 100644 --- a/parts/tipofday/kdevtipofday.desktop +++ b/parts/tipofday/tdevtipofday.desktop @@ -88,7 +88,7 @@ GenericName[zh_CN]=日积月累 GenericName[zh_TW]=本日小提示 Icon=tdevelop ServiceTypes=TDevelop/Plugin -X-TDE-Library=libkdevtipofday +X-TDE-Library=libtdevtipofday X-TDevelop-Version=5 X-TDevelop-Scope=Core X-TDevelop-Properties=Documentation diff --git a/parts/tipofday/tipofday_part.cpp b/parts/tipofday/tipofday_part.cpp index 6cd63deb..f86ebf1f 100644 --- a/parts/tipofday/tipofday_part.cpp +++ b/parts/tipofday/tipofday_part.cpp @@ -8,28 +8,28 @@ #include <tdeaction.h> #include <tdeapplication.h> #include <tdeconfig.h> -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include <kiconloader.h> #include <tdelocale.h> #include <kstandarddirs.h> #include <ktextbrowser.h> #include <ktip.h> -#include "kdevapi.h" -#include "kdevcore.h" +#include "tdevapi.h" +#include "tdevcore.h" -static const KDevPluginInfo data("kdevtipofday"); +static const TDevPluginInfo data("tdevtipofday"); -typedef KDevGenericFactory<TipOfDayPart> TipOfDayFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevtipofday, TipOfDayFactory( data ) ) +typedef TDevGenericFactory<TipOfDayPart> TipOfDayFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevtipofday, TipOfDayFactory( data ) ) TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringList &) - : KDevPlugin(&data, parent, name ? name : "TipOfDayPart") + : TDevPlugin(&data, parent, name ? name : "TipOfDayPart") { setInstance(TipOfDayFactory::instance()); - setXMLFile("kdevpart_tipofday.rc"); + setXMLFile("tdevpart_tipofday.rc"); TDEAction *action; diff --git a/parts/tipofday/tipofday_part.h b/parts/tipofday/tipofday_part.h index 4b982800..b5aafe50 100644 --- a/parts/tipofday/tipofday_part.h +++ b/parts/tipofday/tipofday_part.h @@ -3,14 +3,14 @@ */ -#ifndef __KDEVPART_TIPOFDAY_H__ -#define __KDEVPART_TIPOFDAY_H__ +#ifndef __TDEVPART_TIPOFDAY_H__ +#define __TDEVPART_TIPOFDAY_H__ -#include <kdevplugin.h> +#include <tdevplugin.h> -class TipOfDayPart : public KDevPlugin +class TipOfDayPart : public TDevPlugin { Q_OBJECT |