diff options
Diffstat (limited to 'kwin-styles/icewm/config')
-rw-r--r-- | kwin-styles/icewm/config/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kwin-styles/icewm/config/Makefile.am | 10 | ||||
-rw-r--r-- | kwin-styles/icewm/config/config.cpp | 22 |
3 files changed, 18 insertions, 18 deletions
diff --git a/kwin-styles/icewm/config/CMakeLists.txt b/kwin-styles/icewm/config/CMakeLists.txt index f13613d0..9e2e118d 100644 --- a/kwin-styles/icewm/config/CMakeLists.txt +++ b/kwin-styles/icewm/config/CMakeLists.txt @@ -19,9 +19,9 @@ link_directories( ${TQT_LIBRARY_DIRS} ) -##### kwin_icewm_config (module) ################ +##### twin_icewm_config (module) ################ -tde_add_kpart( kwin_icewm_config AUTOMOC +tde_add_kpart( twin_icewm_config AUTOMOC SOURCES config.cpp LINK tdeui-shared kio-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin-styles/icewm/config/Makefile.am b/kwin-styles/icewm/config/Makefile.am index 5e026009..ca2d2552 100644 --- a/kwin-styles/icewm/config/Makefile.am +++ b/kwin-styles/icewm/config/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_icewm_config.la +kde_module_LTLIBRARIES = twin_icewm_config.la -kwin_icewm_config_la_SOURCES = config.cpp -kwin_icewm_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx -kwin_icewm_config_la_LIBADD = $(LIB_TDEUI) $(LIB_KIO) +twin_icewm_config_la_SOURCES = config.cpp +twin_icewm_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx +twin_icewm_config_la_LIBADD = $(LIB_TDEUI) $(LIB_KIO) METASOURCES = AUTO noinst_HEADERS = config.h -lnkdir = $(kde_datadir)/kwin/ +lnkdir = $(kde_datadir)/twin/ ###KMAKE-start (don't edit or delete this block) diff --git a/kwin-styles/icewm/config/config.cpp b/kwin-styles/icewm/config/config.cpp index 8b679d54..a0a2a8db 100644 --- a/kwin-styles/icewm/config/config.cpp +++ b/kwin-styles/icewm/config/config.cpp @@ -48,18 +48,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 // ========================================================================== IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent ) : TQObject( parent ) { - icewmConfig = new KConfig("kwinicewmrc"); - KGlobal::locale()->insertCatalogue("kwin_art_clients"); + icewmConfig = new KConfig("twinicewmrc"); + KGlobal::locale()->insertCatalogue("twin_art_clients"); mainWidget = new TQVBox( parent ); mainWidget->setSpacing( KDialog::spacingHint() ); @@ -123,7 +123,7 @@ IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent ) this, TQT_SLOT(slotSelectionChanged()) ); // Create the theme directory (if not found) ... and obtain the path as we do so. - localThemeString = KGlobal::dirs()->saveLocation("data", "kwin"); + localThemeString = KGlobal::dirs()->saveLocation("data", "twin"); localThemeString += "/icewm-themes"; if (!TQFile::exists(localThemeString)) TQDir().mkdir(localThemeString); @@ -139,7 +139,7 @@ IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent ) urlThemeString.replace( TQRegExp("~"), "$HOME" ); urlLabel->setURL( urlThemeString ); - // Make the widgets visible in kwindecoration + // Make the widgets visible in twindecoration mainWidget->show(); KDirWatch::self()->startScan(); @@ -158,14 +158,14 @@ IceWMConfig::~IceWMConfig() // Searches for all installed IceWM themes, and adds them to the listBox. void IceWMConfig::findIceWMThemes() { - TQStringList dirList = KGlobal::dirs()->findDirs("data", "kwin/icewm-themes"); + TQStringList dirList = KGlobal::dirs()->findDirs("data", "twin/icewm-themes"); TQStringList::ConstIterator it; // Remove any old themes in the list (if any) themeListBox->clear(); themeListBox->insertItem( i18n("Infadel #2 (default)") ); - // Step through all kwin/icewm-themes directories... + // Step through all twin/icewm-themes directories... for( it = dirList.begin(); it != dirList.end(); it++) { // List all directory names only... @@ -175,7 +175,7 @@ void IceWMConfig::findIceWMThemes() TQFileInfoListIterator it2( *d.entryInfoList() ); TQFileInfo* finfo; - // Step through all directories within the kwin/icewm-themes directory + // Step through all directories within the twin/icewm-themes directory while( (finfo = it2.current()) ) { // Ignore . and .. directories @@ -223,7 +223,7 @@ void IceWMConfig::slotSelectionChanged() } -// Loads the configurable options from the kwinicewmrc config file +// Loads the configurable options from the twinicewmrc config file void IceWMConfig::load( KConfig* ) { icewmConfig->setGroup("General"); @@ -241,7 +241,7 @@ void IceWMConfig::load( KConfig* ) } -// Saves the configurable options to the kwinicewmrc config file +// Saves the configurable options to the twinicewmrc config file void IceWMConfig::save( KConfig* ) { icewmConfig->setGroup("General"); |