From 43d99cc2477266cb9072e179137f0e8485370b3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Nov 2011 20:26:07 -0600 Subject: Rename kwin to twin (part 1 of 2) --- kwin/clients/keramik/CMakeLists.txt | 8 ++++---- kwin/clients/keramik/Makefile.am | 14 +++++++------- kwin/clients/keramik/config/CMakeLists.txt | 4 ++-- kwin/clients/keramik/config/Makefile.am | 10 +++++----- kwin/clients/keramik/config/config.cpp | 14 +++++++------- kwin/clients/keramik/keramik.cpp | 2 +- kwin/clients/keramik/keramik.desktop | 2 +- 7 files changed, 27 insertions(+), 27 deletions(-) (limited to 'kwin/clients/keramik') diff --git a/kwin/clients/keramik/CMakeLists.txt b/kwin/clients/keramik/CMakeLists.txt index e4da85e84..67e739d48 100644 --- a/kwin/clients/keramik/CMakeLists.txt +++ b/kwin/clients/keramik/CMakeLists.txt @@ -13,7 +13,7 @@ add_subdirectory( config ) include_directories( ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_SOURCE_DIR}/kwin/lib + ${CMAKE_SOURCE_DIR}/twin/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) @@ -25,15 +25,15 @@ link_directories( ##### other data ################################ -install( FILES keramik.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES keramik.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_keramik (module) #################### +##### twin3_keramik (module) #################### set_source_files_properties( keramik.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tiles.h ) -tde_add_kpart( kwin3_keramik AUTOMOC +tde_add_kpart( twin3_keramik AUTOMOC SOURCES keramik.cpp LINK tdecorations-shared tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/keramik/Makefile.am b/kwin/clients/keramik/Makefile.am index 993c9d9ba..4c7c6e10c 100644 --- a/kwin/clients/keramik/Makefile.am +++ b/kwin/clients/keramik/Makefile.am @@ -10,18 +10,18 @@ embedtool_SOURCES = embedtool.cpp embedtool_LDADD = $(LIB_QT) embedtool_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor -kde_module_LTLIBRARIES = kwin3_keramik.la +kde_module_LTLIBRARIES = twin3_keramik.la -kwin3_keramik_la_SOURCES = keramik.cpp -kwin3_keramik_la_COMPILE_FIRST = tiles.h -kwin3_keramik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_keramik_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la -#kwin3_keramik_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) +twin3_keramik_la_SOURCES = keramik.cpp +twin3_keramik_la_COMPILE_FIRST = tiles.h +twin3_keramik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_keramik_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la +#twin3_keramik_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) METASOURCES = AUTO noinst_headers = keramik.h tiles.h -lnkdir = $(kde_datadir)/kwin +lnkdir = $(kde_datadir)/twin lnk_DATA = keramik.desktop EXTRA_DIST = $(lnk_DATA) diff --git a/kwin/clients/keramik/config/CMakeLists.txt b/kwin/clients/keramik/config/CMakeLists.txt index febfa0d44..7b5bdb339 100644 --- a/kwin/clients/keramik/config/CMakeLists.txt +++ b/kwin/clients/keramik/config/CMakeLists.txt @@ -20,9 +20,9 @@ link_directories( ) -##### kwin_keramik_config (module) ############## +##### twin_keramik_config (module) ############## -tde_add_kpart( kwin_keramik_config AUTOMOC +tde_add_kpart( twin_keramik_config AUTOMOC SOURCES config.cpp keramikconfig.ui LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/keramik/config/Makefile.am b/kwin/clients/keramik/config/Makefile.am index d4ffce144..19ee4f27d 100644 --- a/kwin/clients/keramik/config/Makefile.am +++ b/kwin/clients/keramik/config/Makefile.am @@ -1,13 +1,13 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_keramik_config.la +kde_module_LTLIBRARIES = twin_keramik_config.la -kwin_keramik_config_la_SOURCES = config.cpp keramikconfig.ui -kwin_keramik_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin_keramik_config_la_LIBADD = $(LIB_TDEUI) +twin_keramik_config_la_SOURCES = config.cpp keramikconfig.ui +twin_keramik_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin_keramik_config_la_LIBADD = $(LIB_TDEUI) METASOURCES = AUTO noinst_HEADERS = config.h keramikconfig.h -lnkdir = $(kde_datadir)/kwin +lnkdir = $(kde_datadir)/twin diff --git a/kwin/clients/keramik/config/config.cpp b/kwin/clients/keramik/config/config.cpp index b4b6ced9b..1852eadd8 100644 --- a/kwin/clients/keramik/config/config.cpp +++ b/kwin/clients/keramik/config/config.cpp @@ -41,18 +41,18 @@ extern "C" /* NOTE: - * 'conf' is a pointer to the kwindecoration modules open kwin config, + * 'conf' is a pointer to the twindecoration modules open twin config, * and is by default set to the "Style" group. * * 'parent' is the parent of the TQObject, which is a VBox inside the - * Configure tab in kwindecoration + * Configure tab in twindecoration */ KeramikConfig::KeramikConfig( KConfig* conf, TQWidget* parent ) : TQObject( parent ) { - KGlobal::locale()->insertCatalogue("kwin_clients"); - c = new KConfig( "kwinkeramikrc" ); + KGlobal::locale()->insertCatalogue("twin_clients"); + c = new KConfig( "twinkeramikrc" ); ui = new KeramikConfigUI( parent ); connect( ui->showAppIcons, TQT_SIGNAL(clicked()), TQT_SIGNAL(changed()) ); @@ -72,8 +72,8 @@ KeramikConfig::~KeramikConfig() } -// Loads the configurable options from the kwinrc config file -// It is passed the open config from kwindecoration to improve efficiency +// Loads the configurable options from the twinrc config file +// It is passed the open config from twindecoration to improve efficiency void KeramikConfig::load( KConfig* ) { c->setGroup("General"); @@ -84,7 +84,7 @@ void KeramikConfig::load( KConfig* ) } -// Saves the configurable options to the kwinrc config file +// Saves the configurable options to the twinrc config file void KeramikConfig::save( KConfig* ) { c->setGroup( "General" ); diff --git a/kwin/clients/keramik/keramik.cpp b/kwin/clients/keramik/keramik.cpp index 5edf98230..e514e3a20 100644 --- a/kwin/clients/keramik/keramik.cpp +++ b/kwin/clients/keramik/keramik.cpp @@ -562,7 +562,7 @@ void KeramikHandler::pretile( TQPixmap *&pix, int size, Qt::Orientation dir ) void KeramikHandler::readConfig() { - KConfig *c = new KConfig( "kwinkeramikrc" ); + KConfig *c = new KConfig( "twinkeramikrc" ); c->setGroup( "General" ); showIcons = c->readBoolEntry( "ShowAppIcons", true ); diff --git a/kwin/clients/keramik/keramik.desktop b/kwin/clients/keramik/keramik.desktop index c58f8d522..7ef21f47d 100644 --- a/kwin/clients/keramik/keramik.desktop +++ b/kwin/clients/keramik/keramik.desktop @@ -27,5 +27,5 @@ Name[uk]=Керамік Name[uz]=Keramika Name[uz@cyrillic]=Керамика Name[vi]=Gốm -X-KDE-Library=kwin3_keramik +X-KDE-Library=twin3_keramik -- cgit v1.2.1