From 54e824664fbb115686c390082459c1b66d606905 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 29 Sep 2014 01:21:58 -0500 Subject: Rename remaining KDE strings to TDE, with the exception of a couple of build variables --- twin-styles/cde/config/config.h | 4 ++-- twin-styles/icewm/icewm.cpp | 4 ++-- twin-styles/icewm/icewm.h | 4 ++-- twin-styles/kde1/kde1.desktop | 6 +++--- twin-styles/kde1/kde1client.cpp | 14 +++++++------- twin-styles/kde1/kde1client.h | 4 ++-- twin-styles/kstep/nextclient.cpp | 2 +- twin-styles/riscos/Manager.cpp | 2 +- twin-styles/smooth-blend/client/smoothblend.cc | 4 ++-- twin-styles/smooth-blend/client/smoothblend.h | 2 +- 10 files changed, 23 insertions(+), 23 deletions(-) (limited to 'twin-styles') diff --git a/twin-styles/cde/config/config.h b/twin-styles/cde/config/config.h index 3b1188d1..c281f4b7 100644 --- a/twin-styles/cde/config/config.h +++ b/twin-styles/cde/config/config.h @@ -1,5 +1,5 @@ -#ifndef __KDE_CDECONFIG_H -#define __KDE_CDECONFIG_H +#ifndef __TDE_CDECONFIG_H +#define __TDE_CDECONFIG_H #include #include diff --git a/twin-styles/icewm/icewm.cpp b/twin-styles/icewm/icewm.cpp index 0edaee15..768dbfe5 100644 --- a/twin-styles/icewm/icewm.cpp +++ b/twin-styles/icewm/icewm.cpp @@ -205,7 +205,7 @@ KDecoration* ThemeHandler::createDecoration( KDecorationBridge* bridge ) } -// Converts KDE style button strings to icewm style button strings +// Converts TDE style button strings to icewm style button strings void ThemeHandler::convertButtons( TQString& s ) { s.replace( TQRegExp("_"), ""); // Spacer (ignored) @@ -250,7 +250,7 @@ void ThemeHandler::readConfig() *titleButtonsLeft = KDecoration::options()->titleButtonsLeft(); *titleButtonsRight = KDecoration::options()->titleButtonsRight(); - // Convert KDE to icewm style buttons + // Convert TDE to icewm style buttons convertButtons( *titleButtonsLeft ); convertButtons( *titleButtonsRight ); } diff --git a/twin-styles/icewm/icewm.h b/twin-styles/icewm/icewm.h index 51821da1..a023d341 100644 --- a/twin-styles/icewm/icewm.h +++ b/twin-styles/icewm/icewm.h @@ -39,8 +39,8 @@ update to support the latest icewm 1.1.X theme format may be made. */ -#ifndef __KDEGALLIUM_ICEWM_H -#define __KDEGALLIUM_ICEWM_H +#ifndef __TDEGALLIUM_ICEWM_H +#define __TDEGALLIUM_ICEWM_H #include #include diff --git a/twin-styles/kde1/kde1.desktop b/twin-styles/kde1/kde1.desktop index ff633c91..4433a696 100644 --- a/twin-styles/kde1/kde1.desktop +++ b/twin-styles/kde1/kde1.desktop @@ -1,7 +1,7 @@ [Desktop Entry] -Name=KDE 1 -Name[fa]=KDE ۱ +Name=TDE 1 +Name[fa]=TDE ۱ Name[hi]=केडीई 1 Name[ne]=केडीई १ -Name[th]=โปรแกรมจัดการหน้าต่าง KDE 1 +Name[th]=โปรแกรมจัดการหน้าต่าง TDE 1 X-TDE-Library=twin3_kde1 diff --git a/twin-styles/kde1/kde1client.cpp b/twin-styles/kde1/kde1client.cpp index e45313f3..a24933a8 100644 --- a/twin-styles/kde1/kde1client.cpp +++ b/twin-styles/kde1/kde1client.cpp @@ -1,5 +1,5 @@ /***************************************************************** -twin - the KDE window manager +twin - the TDE window manager Copyright (C) 1999, 2000 Matthias Ettrich ******************************************************************/ @@ -23,7 +23,7 @@ Copyright (C) 1999, 2000 Matthias Ettrich const char default_left[] = "MS"; const char default_right[] = "H_IAX"; -namespace KDE1 +namespace TDE1 { TQPixmap* close_pix = 0; @@ -254,7 +254,7 @@ void StdClient::init() TQGridLayout* g = new TQGridLayout( widget(), 0, 0, 3, 2 ); g->setRowStretch( 1, 10 ); if( isPreview()) - g->addWidget( new TQLabel( i18n( "
KDE 1 preview
" ), widget()), 1, 1 ); + g->addWidget( new TQLabel( i18n( "
TDE 1 preview
" ), widget()), 1, 1 ); else g->addItem( new TQSpacerItem( 0, 0 ), 1, 1 ); //no widget in the middle g->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Fixed, TQSizePolicy::Expanding ) ); @@ -603,7 +603,7 @@ void StdToolClient::init() TQGridLayout* g = new TQGridLayout( widget(), 0, 0, 2 ); g->setRowStretch( 1, 10 ); if( isPreview()) - g->addWidget( new TQLabel( i18n( "
KDE 1 decoration
" ), widget()), 1, 1 ); + g->addWidget( new TQLabel( i18n( "
TDE 1 decoration
" ), widget()), 1, 1 ); else g->addItem( new TQSpacerItem( 0, 0 ), 1, 1 ); //no widget in the middle g->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Fixed, TQSizePolicy::Expanding ) ); @@ -768,8 +768,8 @@ bool StdFactory::reset( unsigned long mask ) needHardReset = true; if( mask & ( SettingFont | SettingColors )) { - KDE1::delete_pixmaps(); - KDE1::create_pixmaps(); + TDE1::delete_pixmaps(); + TDE1::create_pixmaps(); } if( !needHardReset ) @@ -802,7 +802,7 @@ extern "C" { KDE_EXPORT KDecorationFactory *create_factory() { - return new KDE1::StdFactory(); + return new TDE1::StdFactory(); } } diff --git a/twin-styles/kde1/kde1client.h b/twin-styles/kde1/kde1client.h index 858d7f59..124ee543 100644 --- a/twin-styles/kde1/kde1client.h +++ b/twin-styles/kde1/kde1client.h @@ -1,5 +1,5 @@ /***************************************************************** -twin - the KDE window manager +twin - the TDE window manager Copyright (C) 1999, 2000 Matthias Ettrich ******************************************************************/ @@ -13,7 +13,7 @@ Copyright (C) 1999, 2000 Matthias Ettrich class TQLabel; class TQSpacerItem; -namespace KDE1 { +namespace TDE1 { enum ButtonType { ButtonMenu=0, diff --git a/twin-styles/kstep/nextclient.cpp b/twin-styles/kstep/nextclient.cpp index ec4ad289..5cb29d13 100644 --- a/twin-styles/kstep/nextclient.cpp +++ b/twin-styles/kstep/nextclient.cpp @@ -622,7 +622,7 @@ void NextClient::menuButtonPressed() } } -// Copied, with minor edits, from KDEDefaultClient::slotMaximize() +// Copied, with minor edits, from TDEDefaultClient::slotMaximize() void NextClient::maximizeButtonClicked() { if (button[MAXIMIZE_IDX]) { diff --git a/twin-styles/riscos/Manager.cpp b/twin-styles/riscos/Manager.cpp index c76a449f..635d0f28 100644 --- a/twin-styles/riscos/Manager.cpp +++ b/twin-styles/riscos/Manager.cpp @@ -390,7 +390,7 @@ void Manager::slotLower() void Manager::slotMaximizeClicked(ButtonState state) { -#if KDE_IS_VERSION(3, 3, 0) +#if TDE_IS_VERSION(3, 3, 0) maximize(state); #else switch (state) diff --git a/twin-styles/smooth-blend/client/smoothblend.cc b/twin-styles/smooth-blend/client/smoothblend.cc index e60b297e..dda1f1b0 100644 --- a/twin-styles/smooth-blend/client/smoothblend.cc +++ b/twin-styles/smooth-blend/client/smoothblend.cc @@ -1,7 +1,7 @@ ////////////////////////////////////////////////////////////////////////////// // smoothblend.cc // ------------------- -// Smooth Blend window decoration for KDE +// Smooth Blend window decoration for TDE // ------------------- // Copyright (c) 2005 Ryan Nickell // Please see the header file for copyright and license information. @@ -1303,7 +1303,7 @@ void smoothblendClient::showEvent(TQShowEvent *) { void smoothblendClient::maxButtonPressed() { if (button[ButtonMax]) { -#if KDE_IS_VERSION(3, 3, 0) +#if TDE_IS_VERSION(3, 3, 0) maximize(button[ButtonMax]->lastMousePress()); #else diff --git a/twin-styles/smooth-blend/client/smoothblend.h b/twin-styles/smooth-blend/client/smoothblend.h index 3e2dc626..c7e1d2da 100644 --- a/twin-styles/smooth-blend/client/smoothblend.h +++ b/twin-styles/smooth-blend/client/smoothblend.h @@ -1,7 +1,7 @@ ////////////////////////////////////////////////////////////////////////////// // smoothblend.h // ------------------- -// Smooth Blend window decoration for KDE +// Smooth Blend window decoration for TDE // ------------------- // Copyright (c) 2005 Ryan Nickell // -- cgit v1.2.1