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/fullscreen | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'parts/fullscreen')
-rw-r--r-- | parts/fullscreen/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/fullscreen/Makefile.am | 14 | ||||
-rw-r--r-- | parts/fullscreen/fullscreen_part.cpp | 20 | ||||
-rw-r--r-- | parts/fullscreen/fullscreen_part.h | 8 | ||||
-rw-r--r-- | parts/fullscreen/tdevfullscreen.desktop (renamed from parts/fullscreen/kdevfullscreen.desktop) | 2 | ||||
-rw-r--r-- | parts/fullscreen/tdevpart_fullscreen.rc (renamed from parts/fullscreen/kdevpart_fullscreen.rc) | 0 |
6 files changed, 26 insertions, 26 deletions
diff --git a/parts/fullscreen/CMakeLists.txt b/parts/fullscreen/CMakeLists.txt index 84b45df9..548e4f40 100644 --- a/parts/fullscreen/CMakeLists.txt +++ b/parts/fullscreen/CMakeLists.txt @@ -26,13 +26,13 @@ link_directories( ##### other data ################################ -install( FILES kdevfullscreen.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdevpart_fullscreen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfullscreen ) +install( FILES tdevfullscreen.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevpart_fullscreen.rc DESTINATION ${DATA_INSTALL_DIR}/tdevfullscreen ) -##### libkdevfullscreen (module) ################ +##### libtdevfullscreen (module) ################ -tde_add_kpart( libkdevfullscreen AUTOMOC +tde_add_kpart( libtdevfullscreen AUTOMOC SOURCES fullscreen_part.cpp LINK tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/parts/fullscreen/Makefile.am b/parts/fullscreen/Makefile.am index 3f039ef6..a05b0bd1 100644 --- a/parts/fullscreen/Makefile.am +++ b/parts/fullscreen/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevfullscreen.la -libkdevfullscreen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevfullscreen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevfullscreen.la +libtdevfullscreen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevfullscreen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevfullscreen_la_SOURCES = fullscreen_part.cpp +libtdevfullscreen_la_SOURCES = fullscreen_part.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevfullscreen.desktop +service_DATA = tdevfullscreen.desktop -rcdir = $(kde_datadir)/kdevfullscreen -rc_DATA = kdevpart_fullscreen.rc +rcdir = $(kde_datadir)/tdevfullscreen +rc_DATA = tdevpart_fullscreen.rc diff --git a/parts/fullscreen/fullscreen_part.cpp b/parts/fullscreen/fullscreen_part.cpp index 22cecb42..a73f33f1 100644 --- a/parts/fullscreen/fullscreen_part.cpp +++ b/parts/fullscreen/fullscreen_part.cpp @@ -11,32 +11,32 @@ #include <kiconloader.h> #include <tdelocale.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <kstdaction.h> #include <tdemainwindow.h> #include <tdemenubar.h> -#include <kdevcore.h> -#include <kdevmainwindow.h> -#include <kdevplugininfo.h> +#include <tdevcore.h> +#include <tdevmainwindow.h> +#include <tdevplugininfo.h> #include "fullscreen_part.h" -static const KDevPluginInfo data("kdevfullscreen"); +static const TDevPluginInfo data("tdevfullscreen"); -typedef KDevGenericFactory<FullScreenPart> FullScreenFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevfullscreen, FullScreenFactory( data ) ) +typedef TDevGenericFactory<FullScreenPart> FullScreenFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevfullscreen, FullScreenFactory( data ) ) FullScreenPart::FullScreenPart(TQObject *parent, const char *name, const TQStringList& ) - : KDevPlugin(&data, parent, name ? name : "FullScreenPart" ) + : TDevPlugin(&data, parent, name ? name : "FullScreenPart" ) { setInstance(FullScreenFactory::instance()); // const TDEAboutData &abdata1 = *(info()); // kdDebug() << abdata1.appName() << endl; - const KDevPluginInfo &_info = *info(); + const TDevPluginInfo &_info = *info(); const TDEAboutData *abdata = _info; kdDebug() << abdata->appName() << endl; - setXMLFile("kdevpart_fullscreen.rc"); + setXMLFile("tdevpart_fullscreen.rc"); m_bFullScreen = false; diff --git a/parts/fullscreen/fullscreen_part.h b/parts/fullscreen/fullscreen_part.h index fcb566e8..2964b5d9 100644 --- a/parts/fullscreen/fullscreen_part.h +++ b/parts/fullscreen/fullscreen_part.h @@ -9,15 +9,15 @@ * * ***************************************************************************/ -#ifndef __KDEVPART_FULLSCREEN_H__ -#define __KDEVPART_FULLSCREEN_H__ +#ifndef __TDEVPART_FULLSCREEN_H__ +#define __TDEVPART_FULLSCREEN_H__ #include <tqguardedptr.h> -#include <kdevplugin.h> +#include <tdevplugin.h> class TDEAction; -class FullScreenPart : public KDevPlugin +class FullScreenPart : public TDevPlugin { Q_OBJECT diff --git a/parts/fullscreen/kdevfullscreen.desktop b/parts/fullscreen/tdevfullscreen.desktop index 6f935c85..4974af20 100644 --- a/parts/fullscreen/kdevfullscreen.desktop +++ b/parts/fullscreen/tdevfullscreen.desktop @@ -81,6 +81,6 @@ GenericName[zh_TW]=全螢幕 Icon=tdevelop ServiceTypes=TDevelop/Plugin X-TDevelop-Scope=Core -X-TDE-Library=libkdevfullscreen +X-TDE-Library=libtdevfullscreen X-TDevelop-Version=5 X-TDevelop-Properties=ViewManagement diff --git a/parts/fullscreen/kdevpart_fullscreen.rc b/parts/fullscreen/tdevpart_fullscreen.rc index 3bd67c9d..3bd67c9d 100644 --- a/parts/fullscreen/kdevpart_fullscreen.rc +++ b/parts/fullscreen/tdevpart_fullscreen.rc |