summaryrefslogtreecommitdiffstats
path: root/parts/tipofday
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /parts/tipofday
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'parts/tipofday')
-rw-r--r--parts/tipofday/CMakeLists.txt10
-rw-r--r--parts/tipofday/Makefile.am18
-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.cpp18
-rw-r--r--parts/tipofday/tipofday_part.h8
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