diff options
Diffstat (limited to 'kwin-styles/glow')
19 files changed, 34 insertions, 34 deletions
diff --git a/kwin-styles/glow/CMakeLists.txt b/kwin-styles/glow/CMakeLists.txt index f7d776be..76d0a23e 100644 --- a/kwin-styles/glow/CMakeLists.txt +++ b/kwin-styles/glow/CMakeLists.txt @@ -24,11 +24,11 @@ link_directories( ##### other data ################################ -install( FILES glow.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES glow.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_glow ################################ +##### twin3_glow ################################ -tde_add_kpart( kwin3_glow AUTOMOC +tde_add_kpart( twin3_glow AUTOMOC SOURCES glowbutton.cpp glowclient.cpp LINK tdecorations-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin-styles/glow/Makefile.am b/kwin-styles/glow/Makefile.am index 2b477594..bb624e59 100644 --- a/kwin-styles/glow/Makefile.am +++ b/kwin-styles/glow/Makefile.am @@ -3,16 +3,16 @@ INCLUDES = $(all_includes) SUBDIRS = . config themes -kde_module_LTLIBRARIES = kwin3_glow.la +kde_module_LTLIBRARIES = twin3_glow.la -kwin3_glow_la_SOURCES = glowclient.cpp glowbutton.cpp -kwin3_glow_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx -kwin3_glow_la_LIBADD = $(LIB_TDECORE) -ltdecorations +twin3_glow_la_SOURCES = glowclient.cpp glowbutton.cpp +twin3_glow_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx +twin3_glow_la_LIBADD = $(LIB_TDECORE) -ltdecorations METASOURCES = AUTO noinst_HEADERS = glowclient.h glowbutton.h resources.h -linkdir = $(kde_datadir)/kwin/ +linkdir = $(kde_datadir)/twin/ link_DATA = glow.desktop EXTRA_DIST = $(link_DATA) diff --git a/kwin-styles/glow/config/CMakeLists.txt b/kwin-styles/glow/config/CMakeLists.txt index dffdbaa5..bfcc2633 100644 --- a/kwin-styles/glow/config/CMakeLists.txt +++ b/kwin-styles/glow/config/CMakeLists.txt @@ -19,9 +19,9 @@ link_directories( ${TQT_LIBRARY_DIRS} ) -##### kwin_glow_config (module) ################## +##### twin_glow_config (module) ################## -tde_add_kpart( kwin_glow_config AUTOMOC +tde_add_kpart( twin_glow_config AUTOMOC SOURCES glowconfigdialog.cpp LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin-styles/glow/config/Makefile.am b/kwin-styles/glow/config/Makefile.am index ea82f75a..bf3d334b 100644 --- a/kwin-styles/glow/config/Makefile.am +++ b/kwin-styles/glow/config/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_glow_config.la +kde_module_LTLIBRARIES = twin_glow_config.la -kwin_glow_config_la_SOURCES = glowconfigdialog.cpp -kwin_glow_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx -kwin_glow_config_la_LIBADD = $(LIB_TDEUI) +twin_glow_config_la_SOURCES = glowconfigdialog.cpp +twin_glow_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx +twin_glow_config_la_LIBADD = $(LIB_TDEUI) METASOURCES = AUTO noinst_HEADERS = glowconfigdialog.h -lnkdir = $(kde_datadir)/kwin/ +lnkdir = $(kde_datadir)/twin/ ###KMAKE-start (don't edit or delete this block) diff --git a/kwin-styles/glow/config/glowconfigdialog.cpp b/kwin-styles/glow/config/glowconfigdialog.cpp index 5d3b4487..f8ff62fd 100644 --- a/kwin-styles/glow/config/glowconfigdialog.cpp +++ b/kwin-styles/glow/config/glowconfigdialog.cpp @@ -54,8 +54,8 @@ extern "C" GlowConfigDialog::GlowConfigDialog( KConfig * conf, TQWidget * parent ) : TQObject(parent) { - _glowConfig = new KConfig("kwinglowrc"); - KGlobal::locale()->insertCatalogue("kwin_glow_config"); + _glowConfig = new KConfig("twinglowrc"); + KGlobal::locale()->insertCatalogue("twin_glow_config"); _main_group_box = new TQWidget(parent); TQVBoxLayout *main_group_boxLayout = new TQVBoxLayout(_main_group_box); @@ -273,7 +273,7 @@ void GlowConfigDialog::defaults() void GlowConfigDialog::slotLoadThemeList () { - TQStringList dir_list=KGlobal::dirs()->findDirs("data", "kwin/glow-themes"); + TQStringList dir_list=KGlobal::dirs()->findDirs("data", "twin/glow-themes"); TQStringList::ConstIterator it; diff --git a/kwin-styles/glow/glow.desktop b/kwin-styles/glow/glow.desktop index 6db539eb..9659e5d6 100644 --- a/kwin-styles/glow/glow.desktop +++ b/kwin-styles/glow/glow.desktop @@ -46,4 +46,4 @@ Name[vi]=Hào quang Name[xh]=Qukuqela Name[zh_CN]=光芒 Name[zu]=Khanya -X-KDE-Library=kwin3_glow +X-KDE-Library=twin3_glow diff --git a/kwin-styles/glow/glowclient.cpp b/kwin-styles/glow/glowclient.cpp index 51c6e0d8..98133221 100644 --- a/kwin-styles/glow/glowclient.cpp +++ b/kwin-styles/glow/glowclient.cpp @@ -51,7 +51,7 @@ GlowClientConfig::GlowClientConfig() void GlowClientConfig::load(KDecorationFactory *factory) { - KConfig conf("kwinglowrc"); + KConfig conf("twinglowrc"); conf.setGroup("General"); const TQColor defaultCloseButtonColor(DEFAULT_CLOSE_BUTTON_COLOR); @@ -165,7 +165,7 @@ GlowClientGlobals::borderSizes() const void GlowClientGlobals::readTheme() { TQString theme_config_file = KGlobal::dirs()->findResource ("data", - TQString("kwin/glow-themes/") + config()->themeName + "/" + + TQString("twin/glow-themes/") + config()->themeName + "/" + config()->themeName + ".theme"); if (theme_config_file.isNull()) { @@ -291,7 +291,7 @@ const TQString GlowClientGlobals::getPixmapTypeName(PixmapType type) bool GlowClientGlobals::createPixmap(PixmapType type, bool isActive) { TQString theme_dir = KGlobal::dirs()->findResource ("data", - TQString("kwin/glow-themes/") + _config->themeName + "/"); + TQString("twin/glow-themes/") + _config->themeName + "/"); TQColor glow_color; TQColor color = options()->color(ColorButtonBg, isActive); diff --git a/kwin-styles/glow/themes/default/CMakeLists.txt b/kwin-styles/glow/themes/default/CMakeLists.txt index f7d98c0a..433e22b6 100644 --- a/kwin-styles/glow/themes/default/CMakeLists.txt +++ b/kwin-styles/glow/themes/default/CMakeLists.txt @@ -19,4 +19,4 @@ install( FILES stickyon.png stickyon_glow.png stickyoff.png stickyoff_glow.png default.theme - DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/default ) + DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/default ) diff --git a/kwin-styles/glow/themes/default/Makefile.am b/kwin-styles/glow/themes/default/Makefile.am index 881b15d4..b3ef0fa5 100644 --- a/kwin-styles/glow/themes/default/Makefile.am +++ b/kwin-styles/glow/themes/default/Makefile.am @@ -1,4 +1,4 @@ -linkdir = $(kde_datadir)/kwin/glow-themes/default +linkdir = $(kde_datadir)/twin/glow-themes/default link_DATA = \ background.png \ help.png help_glow.png \ diff --git a/kwin-styles/glow/themes/glass/CMakeLists.txt b/kwin-styles/glow/themes/glass/CMakeLists.txt index bb02a73c..279668d3 100644 --- a/kwin-styles/glow/themes/glass/CMakeLists.txt +++ b/kwin-styles/glow/themes/glass/CMakeLists.txt @@ -19,4 +19,4 @@ install( FILES stickyon.png stickyon_glow.png stickyoff.png stickyoff_glow.png glass.theme - DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass ) + DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass ) diff --git a/kwin-styles/glow/themes/glass/Makefile.am b/kwin-styles/glow/themes/glass/Makefile.am index f1d7e5d7..aeff2c35 100644 --- a/kwin-styles/glow/themes/glass/Makefile.am +++ b/kwin-styles/glow/themes/glass/Makefile.am @@ -1,4 +1,4 @@ -linkdir = $(kde_datadir)/kwin/glow-themes/glass +linkdir = $(kde_datadir)/twin/glow-themes/glass link_DATA = \ background.png \ help.png help_glow.png \ diff --git a/kwin-styles/glow/themes/glass_huge/CMakeLists.txt b/kwin-styles/glow/themes/glass_huge/CMakeLists.txt index cd98469f..92021eff 100644 --- a/kwin-styles/glow/themes/glass_huge/CMakeLists.txt +++ b/kwin-styles/glow/themes/glass_huge/CMakeLists.txt @@ -19,4 +19,4 @@ install( FILES stickyon.png stickyon_glow.png stickyoff.png stickyoff_glow.png glass_huge.theme - DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_huge ) + DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass_huge ) diff --git a/kwin-styles/glow/themes/glass_huge/Makefile.am b/kwin-styles/glow/themes/glass_huge/Makefile.am index b9631d1b..244f67a0 100644 --- a/kwin-styles/glow/themes/glass_huge/Makefile.am +++ b/kwin-styles/glow/themes/glass_huge/Makefile.am @@ -1,4 +1,4 @@ -linkdir = $(kde_datadir)/kwin/glow-themes/glass_huge +linkdir = $(kde_datadir)/twin/glow-themes/glass_huge link_DATA = \ background.png \ help.png help_glow.png \ diff --git a/kwin-styles/glow/themes/glass_large/CMakeLists.txt b/kwin-styles/glow/themes/glass_large/CMakeLists.txt index 7907f6ee..597d15c1 100644 --- a/kwin-styles/glow/themes/glass_large/CMakeLists.txt +++ b/kwin-styles/glow/themes/glass_large/CMakeLists.txt @@ -19,4 +19,4 @@ install( FILES stickyon.png stickyon_glow.png stickyoff.png stickyoff_glow.png glass_large.theme - DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_large ) + DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass_large ) diff --git a/kwin-styles/glow/themes/glass_large/Makefile.am b/kwin-styles/glow/themes/glass_large/Makefile.am index b884ff55..353e4b6f 100644 --- a/kwin-styles/glow/themes/glass_large/Makefile.am +++ b/kwin-styles/glow/themes/glass_large/Makefile.am @@ -1,4 +1,4 @@ -linkdir = $(kde_datadir)/kwin/glow-themes/glass_large +linkdir = $(kde_datadir)/twin/glow-themes/glass_large link_DATA = \ background.png \ help.png help_glow.png \ diff --git a/kwin-styles/glow/themes/glass_verylarge/CMakeLists.txt b/kwin-styles/glow/themes/glass_verylarge/CMakeLists.txt index 673e16a3..5fd50a91 100644 --- a/kwin-styles/glow/themes/glass_verylarge/CMakeLists.txt +++ b/kwin-styles/glow/themes/glass_verylarge/CMakeLists.txt @@ -19,4 +19,4 @@ install( FILES stickyon.png stickyon_glow.png stickyoff.png stickyoff_glow.png glass_verylarge.theme - DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_verylarge ) + DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass_verylarge ) diff --git a/kwin-styles/glow/themes/glass_verylarge/Makefile.am b/kwin-styles/glow/themes/glass_verylarge/Makefile.am index f6a5582c..ab67c5db 100644 --- a/kwin-styles/glow/themes/glass_verylarge/Makefile.am +++ b/kwin-styles/glow/themes/glass_verylarge/Makefile.am @@ -1,4 +1,4 @@ -linkdir = $(kde_datadir)/kwin/glow-themes/glass_verylarge +linkdir = $(kde_datadir)/twin/glow-themes/glass_verylarge link_DATA = \ background.png \ help.png help_glow.png \ diff --git a/kwin-styles/glow/themes/square/CMakeLists.txt b/kwin-styles/glow/themes/square/CMakeLists.txt index 26ea9ea7..0343fa2a 100644 --- a/kwin-styles/glow/themes/square/CMakeLists.txt +++ b/kwin-styles/glow/themes/square/CMakeLists.txt @@ -19,4 +19,4 @@ install( FILES stickyon.png stickyon_glow.png stickyoff.png stickyoff_glow.png square.theme - DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/square ) + DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/square ) diff --git a/kwin-styles/glow/themes/square/Makefile.am b/kwin-styles/glow/themes/square/Makefile.am index bcb698b0..01193d98 100644 --- a/kwin-styles/glow/themes/square/Makefile.am +++ b/kwin-styles/glow/themes/square/Makefile.am @@ -1,4 +1,4 @@ -linkdir = $(kde_datadir)/kwin/glow-themes/square +linkdir = $(kde_datadir)/twin/glow-themes/square link_DATA = \ background.png \ help.png help_glow.png \ |