diff options
Diffstat (limited to 'kwin')
156 files changed, 702 insertions, 702 deletions
diff --git a/kwin/CMakeLists.txt b/kwin/CMakeLists.txt index 418ed1e88..cfdcf5e18 100644 --- a/kwin/CMakeLists.txt +++ b/kwin/CMakeLists.txt @@ -9,11 +9,11 @@ # ################################################# -project( kwin ) +project( twin ) add_subdirectory( lib ) add_subdirectory( killer ) -add_subdirectory( kcmkwin ) +add_subdirectory( kcmtwin ) add_subdirectory( pics ) add_subdirectory( clients ) add_subdirectory( oldheaders ) @@ -40,14 +40,14 @@ install( FILES KWinInterface.h DESTINATION ${INCLUDE_INSTALL_DIR} ) ##### other data ################################ -tde_install_icons( kwin ) -install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kwin ) -install( FILES kwin.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) +tde_install_icons( twin ) +install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/twin ) +install( FILES twin.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) -##### kwin (tdeinit) ############################ +##### twin (tdeinit) ############################ -set( target kwin ) +set( target twin ) set( ${target}_SRCS workspace.cpp client.cpp placement.cpp atoms.cpp diff --git a/kwin/COMPLIANCE b/kwin/COMPLIANCE index 0940d2b32..7ae943630 100644 --- a/kwin/COMPLIANCE +++ b/kwin/COMPLIANCE @@ -11,8 +11,8 @@ Listed below are all the NetWM (or EWM) hints decided upon on freedesktop.org compliance with the spec. Some parts also involve the pager and clients which this document will cater for as well where applicable. -If you modify the level of NetWM compliance (via modification of kwin/*, -tdecore/netwm.* or tdecore/kwin.* etc.), or notice any new hints that +If you modify the level of NetWM compliance (via modification of twin/*, +tdecore/netwm.* or tdecore/twin.* etc.), or notice any new hints that were added after version 1.2, please modify this document appropriately. Properties are ordered in the table in the order they are found in the specification. To list any important notes regarding a property, just @@ -26,7 +26,7 @@ _NET_NUMBER_OF_DESKTOPS root window property done +----------------------------------------------------------------+ If you have any questions regarding the specification, feel free to ask on the KWin -mailing list <[email protected]>, or on the Window Manager Spec list <[email protected]>. +mailing list <[email protected]>, or on the Window Manager Spec list <[email protected]>. -- Karol <[email protected]> ( diff --git a/kwin/CONFIGURING b/kwin/CONFIGURING index 4a2774149..c2c1e74da 100644 --- a/kwin/CONFIGURING +++ b/kwin/CONFIGURING @@ -36,35 +36,35 @@ To create such window-specific setting automatically without a need of doing it manually for every user (for example when doing a large deployment), follow these steps: -- Back up your $KDEHOME/share/config/kwinrulesrc ($KDEHOME usually being $HOME/.kde) +- Back up your $KDEHOME/share/config/twinrulesrc ($KDEHOME usually being $HOME/.kde) and remove it -- Run 'dcop kwin default reconfigure' +- Run 'dcop twin default reconfigure' - Create manually all window-specific settings that should be included (see above) - When done, check in Window-specific settings configuration module (Alt+F3/Configure window behavior/Window-specific settings) that all rules are included -- Create a copy of $KDEHOME/share/config/kwinrulesrc and restore the original one -- Rename the copy (i.e. the newly created kwinrulesrc) to have its unique name +- Create a copy of $KDEHOME/share/config/twinrulesrc and restore the original one +- Rename the copy (i.e. the newly created twinrulesrc) to have its unique name (e.g. foobar_fix_maxsize in this example case) - Be careful with manual modifications of the file, especially make sure the count= field in the [General] group is updated if needed -- Create a file for kconfig_update like this (named kwin_foobar_fix_maxsize.upd +- Create a file for kconfig_update like this (named twin_foobar_fix_maxsize.upd in this example): -# kwin_foobar_fix_maxsize.upd start # +# twin_foobar_fix_maxsize.upd start # Id=foobar_fix_maxsize -File=kwinrules_update +File=twinrules_update Group=Dummy Options=overwrite ScriptArguments=foobar_fix_maxsize -Script=kwin_update_default_rules +Script=twin_update_default_rules -# kwin_foobar_fix_maxsize.upd end # +# twin_foobar_fix_maxsize.upd end # -- The kconfig_file (kwin_foobar_fix_maxsize.upd) is to be placed +- The kconfig_file (twin_foobar_fix_maxsize.upd) is to be placed in $KDEDIR/share/apps/kconf_update/ - The file with the window-specific settings (foobar_fix_maxsize) is to be placed - in $KDEDIR/share/apps/kwin/default_rules/ + in $KDEDIR/share/apps/twin/default_rules/ All KDE user accounts should have these new window-specific settings added diff --git a/kwin/HACKING b/kwin/HACKING index f92c0e3fc..3dcd579f3 100644 --- a/kwin/HACKING +++ b/kwin/HACKING @@ -1,12 +1,12 @@ Mailing list and bugzilla: ========================== -The KWin mailing list is [email protected] . It's rather low traffic. +The KWin mailing list is [email protected] . It's rather low traffic. -The bugs.kde.org product for KWin is 'kwin'. Currently the components are 'general' (KWin core), +The bugs.kde.org product for KWin is 'twin'. Currently the components are 'general' (KWin core), 'decorations' (decoration plugins), 'compatibility' (problems with non-KDE WMs/apps) and 'eyecandy' (transparency and similar effects). -There are also two kcontrol components 'kcmkwindecoration' and 'kcmkwinoptions' related +There are also two kcontrol components 'kcmtwindecoration' and 'kcmtwinoptions' related to KWin's KControl modules. @@ -14,20 +14,20 @@ KWin parts: =========== There are four parts of KWin: -- The KWin core, located in kdebase/kwin/*, which implements the actual functionality. -- The decoration plugins, located in kdebase/kwin/clients and kdeartwork/kwin-styles, which +- The KWin core, located in kdebase/twin/*, which implements the actual functionality. +- The decoration plugins, located in kdebase/twin/clients and kdeartwork/twin-styles, which are responsible for the visual representation of the windows. -- The libkdecoration library, located in kdebase/kwin/lib/*, which is used for communication +- The libkdecoration library, located in kdebase/twin/lib/*, which is used for communication between the core and the decoration, and also implements some shared functionality for the decorations. -- KControl modules, located in kdebase/kwin/kcmkwin. +- KControl modules, located in kdebase/twin/kcmtwin. KWin decorations: ================= If you want to develop a decoration plugin for KWin, a HOWTO is available at -http://www.usermode.org/docs/kwintheme.html . It is currently not possible to create +http://www.usermode.org/docs/twintheme.html . It is currently not possible to create a new decoration without knowledge of C++, but it should be possible to write a themeable decoration (I'm not aware of any such decoration though). @@ -36,7 +36,7 @@ Restarting KWin: ================ Since KWin takes care of focus handling, first killing KWin and then launching new instance -can cause focus trouble. Therefore it's possible to run 'kwin --replace', which will start +can cause focus trouble. Therefore it's possible to run 'twin --replace', which will start new KWin instance and tell the old one to quit. @@ -46,7 +46,7 @@ Handling the case when KWin crashes: Again, without KWin running there may be focus problems. The simplest way to solve them is to add the 'Run Command' applet to Kicker - it can receive focus even without KWin running. If you can't add the applet or can reach it for some reason, switch to text console, and run -'DISPLAY=:0 kwin --replace' (and then you can run 'kwin --replace' again from X). +'DISPLAY=:0 twin --replace' (and then you can run 'twin --replace' again from X). If KWin is temporarily unusable because of some change and e.g. crashes during startup, it is possible to run another window manager, for example Metacity, OpenBox or FVWM (the command @@ -58,7 +58,7 @@ Debugging KWin: Focus problems once more. It is not possible to debug KWin in gdb in the X session that KWin is managing, because that'd block focus and window operations. It is necessary to switch to a text console -and attach to the running KWin instance from there, or launch it as 'DISPLAY=:0 gdb kwin'. +and attach to the running KWin instance from there, or launch it as 'DISPLAY=:0 gdb twin'. Since KWin is such an important component of KDE, it is usually better to start another X for development. Note that XNest is quite buggy and is therefore not recommended to use. @@ -101,7 +101,7 @@ The rest of the files contain additional helper classes: - group.* - grouping related windows together (warning! This is currently really messy and scary code that should be rewritten). - killwindow.* - handling of the Ctrl+Esc feature -- kwinbindings.cpp - KWin's keyboard shortcuts (used by kdebase/kcontrol/keys) +- twinbindings.cpp - KWin's keyboard shortcuts (used by kdebase/kcontrol/keys) - notifications.* - for KNotify - options.* - all configuration options for KWin are stored in this class - plugins.* - loading of the right decoration plugin @@ -123,7 +123,7 @@ code is wrapped in helper functions, and I can handle problems there ;) . Howeve features don't require touching X/Xlib directly, still X/Xlib may impose their semantics on the way things are done. When in doubt, simply ask. -All patches for KWin core should be sent to [email protected] for review first. Even seemingly harmless +All patches for KWin core should be sent to [email protected] for review first. Even seemingly harmless changes may have extensive consequences. Various notes: @@ -133,7 +133,7 @@ in class Client and it will print information about the window. - KWin itself cannot create any normal windows, because it would have trouble managing its own windows. For such cases (which should be rare) a small external helper application is needed (kdialog should often -do, and for special cases such a utility needs to be written like kwin/killer). +do, and for special cases such a utility needs to be written like twin/killer). X documentation: @@ -171,4 +171,4 @@ right before sending the patch). I don't care where you do and don't put spaces variables, as long as I can read it (trying to make it look like the rest of the code is bonus points though ;) ). diff --git a/kwin/Makefile.am b/kwin/Makefile.am index d7bc669e9..02e560d30 100644 --- a/kwin/Makefile.am +++ b/kwin/Makefile.am @@ -4,35 +4,35 @@ if include_kompmgr KOMPMGR=kompmgr endif -SUBDIRS = lib . killer kcmkwin pics clients oldheaders data $(KOMPMGR) +SUBDIRS = lib . killer kcmtwin pics clients oldheaders data $(KOMPMGR) bin_PROGRAMS = lib_LTLIBRARIES = -tdeinit_LTLIBRARIES = kwin.la +tdeinit_LTLIBRARIES = twin.la -kwin_la_SOURCES = workspace.cpp client.cpp placement.cpp atoms.cpp \ +twin_la_SOURCES = workspace.cpp client.cpp placement.cpp atoms.cpp \ utils.cpp layers.cpp main.cpp popupinfo.cpp tabbox.cpp \ options.cpp plugins.cpp events.cpp KWinInterface.skel \ killwindow.cpp geometrytip.cpp sm.cpp group.cpp bridge.cpp \ manage.cpp notifications.cpp activation.cpp useractions.cpp \ geometry.cpp rules.cpp -kwin_la_LIBADD = $(LIB_TDEUI) lib/libtdecorations.la -kwin_la_LDFLAGS = $(all_libraries) -module -avoid-version +twin_la_LIBADD = $(LIB_TDEUI) lib/libtdecorations.la +twin_la_LDFLAGS = $(all_libraries) -module -avoid-version include_HEADERS = KWinInterface.h -KDE_ICON = kwin +KDE_ICON = twin METASOURCES = AUTO messages: rc.cpp - $(XGETTEXT) -kaliasLocal *.h *.cpp killer/*.cpp lib/*.cpp -o $(podir)/kwin.pot + $(XGETTEXT) -kaliasLocal *.h *.cpp killer/*.cpp lib/*.cpp -o $(podir)/twin.pot -kwin_datadir = $(kde_datadir)/kwin +twin_datadir = $(kde_datadir)/twin -kwin_data_DATA= eventsrc +twin_data_DATA= eventsrc -kde_kcfg_DATA = kwin.kcfg +kde_kcfg_DATA = twin.kcfg include ../admin/Doxyfile.am diff --git a/kwin/README b/kwin/README index 52a26e079..7677b2b78 100644 --- a/kwin/README +++ b/kwin/README @@ -1,4 +1,4 @@ -- The mailing list for KWin is [email protected] (https://mail.kde.org/mailman/listinfo/kwin). +- The mailing list for KWin is [email protected] (https://mail.kde.org/mailman/listinfo/twin). - If you want to develop KWin, see file HACKING. @@ -23,7 +23,7 @@ background knowledge (since sometimes it's difficult even for people who do have the knowledge), the mechanisms are first briefly explained, and then an example of fixing the various problems is given. - For comments, questions, suggestions and whatever use the [email protected] + For comments, questions, suggestions and whatever use the [email protected] mailing list. diff --git a/kwin/activation.cpp b/kwin/activation.cpp index 544569a2d..d0212def2 100644 --- a/kwin/activation.cpp +++ b/kwin/activation.cpp @@ -609,7 +609,7 @@ bool Workspace::allowFullClientRaising( const Client* c, Time time ) void Workspace::restoreFocus() { // this updateXTime() is necessary - as FocusIn events don't have - // a timestamp *sigh*, kwin's timestamp would be older than the timestamp + // a timestamp *sigh*, twin's timestamp would be older than the timestamp // that was used by whoever caused the focus change, and therefore // the attempt to restore the focus would fail due to old timestamp updateXTime(); @@ -663,7 +663,7 @@ void Workspace::unfakeActivity( Client* c ) /*! Updates the user time (time of last action in the active window). - This is called inside kwin for every action with the window + This is called inside twin for every action with the window that qualifies for user interaction (clicking on it, activate it externally, etc.). */ diff --git a/kwin/atoms.cpp b/kwin/atoms.cpp index 165a9e72c..aa6e82ea2 100644 --- a/kwin/atoms.cpp +++ b/kwin/atoms.cpp @@ -26,7 +26,7 @@ Atoms::Atoms() Atom atoms_return[max]; int n = 0; - atoms[n] = &kwin_running; + atoms[n] = &twin_running; names[n++] = (char *) "KWIN_RUNNING"; atoms[n] = &wm_protocols; diff --git a/kwin/atoms.h b/kwin/atoms.h index ca9e063af..46dd11f9b 100644 --- a/kwin/atoms.h +++ b/kwin/atoms.h @@ -21,7 +21,7 @@ class Atoms public: Atoms(); - Atom kwin_running; + Atom twin_running; Atom wm_protocols; Atom wm_delete_window; diff --git a/kwin/client.cpp b/kwin/client.cpp index f7c2dad5e..fbd2d75aa 100644 --- a/kwin/client.cpp +++ b/kwin/client.cpp @@ -21,7 +21,7 @@ License. See the file "COPYING" for the exact licensing terms. #include <unistd.h> #include <kstandarddirs.h> #include <tqwhatsthis.h> -#include <kwin.h> +#include <twin.h> #include <kiconloader.h> #include <stdlib.h> @@ -1817,7 +1817,7 @@ void Client::killProcess( bool ask, Time timestamp ) else { // SELI TODO handle the window created by handler specially (on top,urgent?) process_killer = new KProcess( this ); - *process_killer << KStandardDirs::findExe( "kwin_killer_helper" ) + *process_killer << KStandardDirs::findExe( "twin_killer_helper" ) << "--pid" << TQCString().setNum( pid ) << "--hostname" << machine << "--windowname" << caption().utf8() << "--applicationname" << resourceClass() @@ -2832,7 +2832,7 @@ kdbgstream& operator<<( kdbgstream& stream, const ConstClientList& list ) } #endif -TQPixmap * kwin_get_menu_pix_hack() +TQPixmap * twin_get_menu_pix_hack() { static TQPixmap p; if ( p.isNull() ) diff --git a/kwin/clients/Makefile.am b/kwin/clients/Makefile.am index 6d00b0001..c62b21019 100644 --- a/kwin/clients/Makefile.am +++ b/kwin/clients/Makefile.am @@ -4,5 +4,5 @@ SUBDIRS = plastik b2 default keramik laptop modernsystem quartz redmond web messages: rc.cpp $(EXTRACTRC) `find . -name \*.ui` >> rc.cpp - $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kwin_clients.pot + $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/twin_clients.pot -rm rc.cpp diff --git a/kwin/clients/PORTING b/kwin/clients/PORTING index f6233beb9..b5fc6500f 100644 --- a/kwin/clients/PORTING +++ b/kwin/clients/PORTING @@ -2,16 +2,16 @@ It's suggested you check sources of some KDE CVS decoration if in doubts or in n Also, the API is documented in the .h header files. Makefile.am: -- Change kwin_ to kwin3_ (in LDFLAGS, LIBADD, kde_module_LTLIBRARIES, SOURCES). +- Change twin_ to twin3_ (in LDFLAGS, LIBADD, kde_module_LTLIBRARIES, SOURCES). - Make sure LDFLAGS contains $(KDE_PLUGIN) and -module . - Add -ltdecorations to LIBADD. -- Do NOT rename the directory where the .desktop file is installed ( $(kde_datadir)/kwin/ ). +- Do NOT rename the directory where the .desktop file is installed ( $(kde_datadir)/twin/ ). .desktop file: -- Change kwin_ to kwin3_ in X-KDE-Library. +- Change twin_ to twin3_ in X-KDE-Library. Sources: -- There are no kwin/something.h includes, and don't use the KWinInternal namespace. +- There are no twin/something.h includes, and don't use the KWinInternal namespace. - Use QToolTip instead of KWinToolTip. - Use QButton instead of KWinButton, QToolButton instead of KWinToolButton and QWidget instead of KWinWidgetButton. @@ -154,6 +154,6 @@ extern "C" - Review mousePosition() if it's implemented. Position constants need 'Position' prepended, e.g. Top -> PositionTop. - Note that you cannot use "appdata" with KStandardDirs, as the decoration will be used - also in other applications than kwin. + also in other applications than twin. - Implement all missing pure virtual functions. For mousePosition(), you may call KDecoration::mousePosition() if it's sufficient. diff --git a/kwin/clients/b2/CMakeLists.txt b/kwin/clients/b2/CMakeLists.txt index 2395ecc84..c7f4bdb9d 100644 --- a/kwin/clients/b2/CMakeLists.txt +++ b/kwin/clients/b2/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,12 +25,12 @@ link_directories( ##### other data ################################ -install( FILES b2.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES b2.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_b2 (module) ######################### +##### twin3_b2 (module) ######################### -tde_add_kpart( kwin3_b2 AUTOMOC +tde_add_kpart( twin3_b2 AUTOMOC SOURCES b2client.cpp LINK tdecorations-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/b2/Makefile.am b/kwin/clients/b2/Makefile.am index 32e68eeea..ccd7f39fa 100644 --- a/kwin/clients/b2/Makefile.am +++ b/kwin/clients/b2/Makefile.am @@ -3,17 +3,17 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) SUBDIRS = . config -kde_module_LTLIBRARIES = kwin3_b2.la +kde_module_LTLIBRARIES = twin3_b2.la -kwin3_b2_la_SOURCES = b2client.cpp -kwin3_b2_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -# kwin_b2_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) -kwin3_b2_la_LIBADD = ../../lib/libtdecorations.la +twin3_b2_la_SOURCES = b2client.cpp +twin3_b2_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +# twin_b2_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) +twin3_b2_la_LIBADD = ../../lib/libtdecorations.la METASOURCES = AUTO noinst_HEADERS = b2client.h -lnkdir = $(kde_datadir)/kwin/ +lnkdir = $(kde_datadir)/twin/ lnk_DATA = b2.desktop EXTRA_DIST = $(lnk_DATA) diff --git a/kwin/clients/b2/b2.desktop b/kwin/clients/b2/b2.desktop index c368d7fa7..3a1fa3b4a 100644 --- a/kwin/clients/b2/b2.desktop +++ b/kwin/clients/b2/b2.desktop @@ -4,4 +4,4 @@ Name[hi]=बी II Name[lo]= B II Name[te]=బి II Name[th]=ชุดตกแต่ง B II -X-KDE-Library=kwin3_b2 +X-KDE-Library=twin3_b2 diff --git a/kwin/clients/b2/b2client.cpp b/kwin/clients/b2/b2client.cpp index 179eee0eb..c5786146a 100644 --- a/kwin/clients/b2/b2client.cpp +++ b/kwin/clients/b2/b2client.cpp @@ -103,7 +103,7 @@ static void read_config(B2ClientFactory *f) buttonSize = (TQFontMetrics(options()->font(true)).height() + 1) & 0x3e; if (buttonSize < 16) buttonSize = 16; - KConfig conf("kwinb2rc"); + KConfig conf("twinb2rc"); conf.setGroup("General"); colored_frame = conf.readBoolEntry("UseTitleBarBorderColors", false); do_draw_handle = conf.readBoolEntry("DrawGrabHandle", true); @@ -167,7 +167,7 @@ static void drawB2Rect(KPixmap *pix, const TQColor &primary, bool down) } -TQPixmap* kwin_get_menu_pix_hack() +TQPixmap* twin_get_menu_pix_hack() { //return menu_pix; FIXME return PIXMAP_A(P_MENU); diff --git a/kwin/clients/b2/config/CMakeLists.txt b/kwin/clients/b2/config/CMakeLists.txt index f319ac8f6..0785fb176 100644 --- a/kwin/clients/b2/config/CMakeLists.txt +++ b/kwin/clients/b2/config/CMakeLists.txt @@ -20,9 +20,9 @@ link_directories( ) -##### kwin_b2_config (module) ################### +##### twin_b2_config (module) ################### -tde_add_kpart( kwin_b2_config AUTOMOC +tde_add_kpart( twin_b2_config AUTOMOC SOURCES config.cpp LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/b2/config/Makefile.am b/kwin/clients/b2/config/Makefile.am index 0a508a3c1..4319b5375 100644 --- a/kwin/clients/b2/config/Makefile.am +++ b/kwin/clients/b2/config/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_b2_config.la +kde_module_LTLIBRARIES = twin_b2_config.la -kwin_b2_config_la_SOURCES = config.cpp -kwin_b2_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin_b2_config_la_LIBADD = $(LIB_TDEUI) +twin_b2_config_la_SOURCES = config.cpp +twin_b2_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin_b2_config_la_LIBADD = $(LIB_TDEUI) 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/clients/b2/config/config.cpp b/kwin/clients/b2/config/config.cpp index ca1dccc65..956f55bb4 100644 --- a/kwin/clients/b2/config/config.cpp +++ b/kwin/clients/b2/config/config.cpp @@ -23,18 +23,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 */ B2Config::B2Config( KConfig* conf, TQWidget* parent ) : TQObject( parent ) { - KGlobal::locale()->insertCatalogue("kwin_b2_config"); - b2Config = new KConfig("kwinb2rc"); + KGlobal::locale()->insertCatalogue("twin_b2_config"); + b2Config = new KConfig("twinb2rc"); gb = new TQVBox(parent); cbColorBorder = new TQCheckBox( @@ -76,7 +76,7 @@ B2Config::B2Config( KConfig* conf, TQWidget* parent ) this, TQT_SLOT(slotSelectionChanged())); connect(menuDblClickOp, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSelectionChanged())); - // Make the widgets visible in kwindecoration + // Make the widgets visible in twindecoration gb->show(); } @@ -94,8 +94,8 @@ void B2Config::slotSelectionChanged() } -// 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 B2Config::load(KConfig * /*conf*/) { b2Config->setGroup("General"); @@ -140,7 +140,7 @@ static TQString opToString(int op) } -// Saves the configurable options to the kwinrc config file +// Saves the configurable options to the twinrc config file void B2Config::save(KConfig * /*conf*/) { b2Config->setGroup("General"); diff --git a/kwin/clients/default/CMakeLists.txt b/kwin/clients/default/CMakeLists.txt index 5ad3d2def..142a9b783 100644 --- a/kwin/clients/default/CMakeLists.txt +++ b/kwin/clients/default/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} ) @@ -23,9 +23,9 @@ link_directories( ) -##### kwin3_default (module) #################### +##### twin3_default (module) #################### -tde_add_kpart( kwin3_default AUTOMOC +tde_add_kpart( twin3_default AUTOMOC SOURCES kdedefault.cpp LINK tdecorations-shared tdecore-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/default/Makefile.am b/kwin/clients/default/Makefile.am index 331f87822..3e687a2a6 100644 --- a/kwin/clients/default/Makefile.am +++ b/kwin/clients/default/Makefile.am @@ -3,11 +3,11 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) SUBDIRS = . config -kde_module_LTLIBRARIES = kwin3_default.la +kde_module_LTLIBRARIES = twin3_default.la -kwin3_default_la_SOURCES = kdedefault.cpp -kwin3_default_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_default_la_LIBADD = $(LIB_TDECORE) ../../lib/libtdecorations.la +twin3_default_la_SOURCES = kdedefault.cpp +twin3_default_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_default_la_LIBADD = $(LIB_TDECORE) ../../lib/libtdecorations.la METASOURCES = AUTO noinst_HEADERS = kdedefault.h diff --git a/kwin/clients/default/config/CMakeLists.txt b/kwin/clients/default/config/CMakeLists.txt index 4f6c76835..5814e011f 100644 --- a/kwin/clients/default/config/CMakeLists.txt +++ b/kwin/clients/default/config/CMakeLists.txt @@ -20,9 +20,9 @@ link_directories( ) -##### kwin_default_config (module) ############## +##### twin_default_config (module) ############## -tde_add_kpart( kwin_default_config AUTOMOC +tde_add_kpart( twin_default_config AUTOMOC SOURCES config.cpp LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/default/config/Makefile.am b/kwin/clients/default/config/Makefile.am index 0c6084226..3a1df8aa2 100644 --- a/kwin/clients/default/config/Makefile.am +++ b/kwin/clients/default/config/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_default_config.la +kde_module_LTLIBRARIES = twin_default_config.la -kwin_default_config_la_SOURCES = config.cpp -kwin_default_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin_default_config_la_LIBADD = $(LIB_TDEUI) +twin_default_config_la_SOURCES = config.cpp +twin_default_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin_default_config_la_LIBADD = $(LIB_TDEUI) 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/clients/default/config/config.cpp b/kwin/clients/default/config/config.cpp index c98fb1366..eac4ef4e4 100644 --- a/kwin/clients/default/config/config.cpp +++ b/kwin/clients/default/config/config.cpp @@ -24,15 +24,15 @@ 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 KDEDefaultConfig::KDEDefaultConfig( KConfig* conf, TQWidget* parent ) : TQObject( parent ) { - KGlobal::locale()->insertCatalogue("kwin_clients"); + KGlobal::locale()->insertCatalogue("twin_clients"); highcolor = TQPixmap::defaultDepth() > 8; gb = new TQVBox( parent ); gb->setSpacing( KDialog::spacingHint() ); @@ -69,7 +69,7 @@ KDEDefaultConfig::KDEDefaultConfig( KConfig* conf, TQWidget* parent ) connect( cbUseGradients, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectionChanged()) ); - // Make the widgets visible in kwindecoration + // Make the widgets visible in twindecoration gb->show(); } @@ -86,8 +86,8 @@ void KDEDefaultConfig::slotSelectionChanged() } -// 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 KDEDefaultConfig::load( KConfig* conf ) { conf->setGroup("KDEDefault"); @@ -104,7 +104,7 @@ void KDEDefaultConfig::load( KConfig* conf ) } -// Saves the configurable options to the kwinrc config file +// Saves the configurable options to the twinrc config file void KDEDefaultConfig::save( KConfig* conf ) { conf->setGroup("KDEDefault"); @@ -113,7 +113,7 @@ void KDEDefaultConfig::save( KConfig* conf ) if (highcolor) conf->writeEntry( "UseGradients", cbUseGradients->isChecked() ); - // No need to conf->sync() - kwindecoration will do it for us + // No need to conf->sync() - twindecoration will do it for us } 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 diff --git a/kwin/clients/kwmtheme/Makefile.am b/kwin/clients/kwmtheme/Makefile.am index a3a91080a..e9d3c36b8 100644 --- a/kwin/clients/kwmtheme/Makefile.am +++ b/kwin/clients/kwmtheme/Makefile.am @@ -1,15 +1,15 @@ SUBDIRS=cli_installer INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin3_kwmtheme.la +kde_module_LTLIBRARIES = twin3_kwmtheme.la -kwin3_kwmtheme_la_SOURCES = kwmthemeclient.cpp -kwin3_kwmtheme_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_kwmtheme_la_LIBADD = -ltdecorations +twin3_kwmtheme_la_SOURCES = kwmthemeclient.cpp +twin3_kwmtheme_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_kwmtheme_la_LIBADD = -ltdecorations METASOURCES = AUTO noinst_HEADERS = kwmthemeclient.h -lnkdir = $(kde_datadir)/kwin +lnkdir = $(kde_datadir)/twin lnk_DATA = kwmtheme.desktop diff --git a/kwin/clients/kwmtheme/cli_installer/main.cpp b/kwin/clients/kwmtheme/cli_installer/main.cpp index 56de8c9fe..4533cf3e8 100644 --- a/kwin/clients/kwmtheme/cli_installer/main.cpp +++ b/kwin/clients/kwmtheme/cli_installer/main.cpp @@ -57,10 +57,10 @@ int main(int argc, char **argv) return(2); } - TQStringList appDirs = KGlobal::dirs()->findDirs("data", "kwin"); + TQStringList appDirs = KGlobal::dirs()->findDirs("data", "twin"); TQString localDirStr = *(appDirs.end()); if(localDirStr.isEmpty()){ - localDirStr = KGlobal::dirs()->saveLocation("data", "kwin"); + localDirStr = KGlobal::dirs()->saveLocation("data", "twin"); } localDirStr += "/pics/"; if(!TQFile::exists(localDirStr)) diff --git a/kwin/clients/kwmtheme/kwmtheme.desktop b/kwin/clients/kwmtheme/kwmtheme.desktop index caa8a6ea8..b34affaa7 100644 --- a/kwin/clients/kwmtheme/kwmtheme.desktop +++ b/kwin/clients/kwmtheme/kwmtheme.desktop @@ -78,4 +78,4 @@ Name[xh]=Umxholo we KWM Name[zh_CN]=KWM 主题 Name[zh_TW]=KWM 主題 Name[zu]=Ingqikithi ye-KWM -X-KDE-Library=kwin3_kwmtheme +X-KDE-Library=twin3_kwmtheme diff --git a/kwin/clients/kwmtheme/kwmthemeclient.cpp b/kwin/clients/kwmtheme/kwmthemeclient.cpp index 9f51c0edf..5d5e462f7 100644 --- a/kwin/clients/kwmtheme/kwmthemeclient.cpp +++ b/kwin/clients/kwmtheme/kwmthemeclient.cpp @@ -90,7 +90,7 @@ static void create_pixmaps() for(int i=0; i < 8; ++i) { framePixmaps[i] = new TQPixmap(locate("data", - "kwin/pics/"+config->readEntry(keys[i], " "))); + "twin/pics/"+config->readEntry(keys[i], " "))); if(framePixmaps[i]->isNull()) kdWarning() << "Unable to load frame pixmap for " << keys[i] << endl; } @@ -111,33 +111,33 @@ static void create_pixmaps() maxExtent++; menuPix = new TQPixmap(locate("data", - "kwin/pics/"+config->readEntry("menu", " "))); + "twin/pics/"+config->readEntry("menu", " "))); iconifyPix = new TQPixmap(locate("data", - "kwin/pics/"+config->readEntry("iconify", " "))); + "twin/pics/"+config->readEntry("iconify", " "))); maxPix = new TQPixmap(locate("appdata", "pics/"+config->readEntry("maximize", " "))); minmaxPix = new TQPixmap(locate("data", - "kwin/pics/"+config->readEntry("maximizedown", " "))); + "twin/pics/"+config->readEntry("maximizedown", " "))); closePix = new TQPixmap(locate("data", - "kwin/pics/"+config->readEntry("close", " "))); + "twin/pics/"+config->readEntry("close", " "))); pinupPix = new TQPixmap(locate("data", - "kwin/pics/"+config->readEntry("pinup", " "))); + "twin/pics/"+config->readEntry("pinup", " "))); pindownPix = new TQPixmap(locate("data", - "kwin/pics/"+config->readEntry("pindown", " "))); + "twin/pics/"+config->readEntry("pindown", " "))); if(menuPix->isNull()) - menuPix->load(locate("data", "kwin/pics/menu.png")); + menuPix->load(locate("data", "twin/pics/menu.png")); if(iconifyPix->isNull()) - iconifyPix->load(locate("data", "kwin/pics/iconify.png")); + iconifyPix->load(locate("data", "twin/pics/iconify.png")); if(maxPix->isNull()) - maxPix->load(locate("data", "kwin/pics/maximize.png")); + maxPix->load(locate("data", "twin/pics/maximize.png")); if(minmaxPix->isNull()) - minmaxPix->load(locate("data", "kwin/pics/maximizedown.png")); + minmaxPix->load(locate("data", "twin/pics/maximizedown.png")); if(closePix->isNull()) - closePix->load(locate("data", "kwin/pics/close.png")); + closePix->load(locate("data", "twin/pics/close.png")); if(pinupPix->isNull()) - pinupPix->load(locate("data", "kwin/pics/pinup.png")); + pinupPix->load(locate("data", "twin/pics/pinup.png")); if(pindownPix->isNull()) - pindownPix->load(locate("data", "kwin/pics/pindown.png")); + pindownPix->load(locate("data", "twin/pics/pindown.png")); tmpStr = config->readEntry("TitleAlignment"); if(tmpStr == "right") @@ -186,14 +186,14 @@ static void create_pixmaps() tmpStr = config->readEntry("TitlebarPixmapActive", ""); if(!tmpStr.isEmpty()){ aTitlePix = new KPixmap; - aTitlePix->load(locate("data", "kwin/pics/" + tmpStr)); + aTitlePix->load(locate("data", "twin/pics/" + tmpStr)); } else aTitlePix = NULL; tmpStr = config->readEntry("TitlebarPixmapInactive", ""); if(!tmpStr.isEmpty()){ iTitlePix = new KPixmap; - iTitlePix->load(locate("data", "kwin/pics/" + tmpStr)); + iTitlePix->load(locate("data", "twin/pics/" + tmpStr)); } else iTitlePix = NULL; diff --git a/kwin/clients/laptop/CMakeLists.txt b/kwin/clients/laptop/CMakeLists.txt index e4ae404c5..a06afdafc 100644 --- a/kwin/clients/laptop/CMakeLists.txt +++ b/kwin/clients/laptop/CMakeLists.txt @@ -11,7 +11,7 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_SOURCE_DIR}/kwin/lib + ${CMAKE_SOURCE_DIR}/twin/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) @@ -23,12 +23,12 @@ link_directories( ##### other data ################################ -install( FILES laptop.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES laptop.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_laptop (module) ##################### +##### twin3_laptop (module) ##################### -tde_add_kpart( kwin3_laptop AUTOMOC +tde_add_kpart( twin3_laptop AUTOMOC SOURCES laptopclient.cpp LINK tdecorations-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/laptop/Makefile.am b/kwin/clients/laptop/Makefile.am index cc21c569a..ccf1d359b 100644 --- a/kwin/clients/laptop/Makefile.am +++ b/kwin/clients/laptop/Makefile.am @@ -1,16 +1,16 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) -kde_module_LTLIBRARIES = kwin3_laptop.la +kde_module_LTLIBRARIES = twin3_laptop.la -kwin3_laptop_la_SOURCES = laptopclient.cpp -kwin3_laptop_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_laptop_la_LIBADD = ../../lib/libtdecorations.la +twin3_laptop_la_SOURCES = laptopclient.cpp +twin3_laptop_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_laptop_la_LIBADD = ../../lib/libtdecorations.la METASOURCES = AUTO noinst_HEADERS = laptopclient.h -lnkdir = $(kde_datadir)/kwin +lnkdir = $(kde_datadir)/twin lnk_DATA = laptop.desktop EXTRA_DIST = $(lnk_DATA) diff --git a/kwin/clients/laptop/laptop.desktop b/kwin/clients/laptop/laptop.desktop index 38c5386f1..640637546 100644 --- a/kwin/clients/laptop/laptop.desktop +++ b/kwin/clients/laptop/laptop.desktop @@ -66,4 +66,4 @@ Name[xh]=Umphezulu osongiweyo Name[zh_CN]=笔记本电脑 Name[zh_TW]=筆記型電腦 Name[zu]=Ikhomputha ephathwayo eyisicaba -X-KDE-Library=kwin3_laptop +X-KDE-Library=twin3_laptop diff --git a/kwin/clients/modernsystem/CMakeLists.txt b/kwin/clients/modernsystem/CMakeLists.txt index 723ddffe1..62c2d766c 100644 --- a/kwin/clients/modernsystem/CMakeLists.txt +++ b/kwin/clients/modernsystem/CMakeLists.txt @@ -12,7 +12,7 @@ add_subdirectory( config ) include_directories( - ${CMAKE_SOURCE_DIR}/kwin/lib + ${CMAKE_SOURCE_DIR}/twin/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) @@ -24,12 +24,12 @@ link_directories( ##### other data ################################ -install( FILES modernsystem.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES modernsystem.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_modernsys (module) ################## +##### twin3_modernsys (module) ################## -tde_add_kpart( kwin3_modernsys +tde_add_kpart( twin3_modernsys SOURCES modernsys.cpp LINK tdecorations-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/modernsystem/Makefile.am b/kwin/clients/modernsystem/Makefile.am index 7850663ba..e4c21d7a3 100644 --- a/kwin/clients/modernsystem/Makefile.am +++ b/kwin/clients/modernsystem/Makefile.am @@ -3,16 +3,16 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) SUBDIRS = config -kde_module_LTLIBRARIES = kwin3_modernsys.la +kde_module_LTLIBRARIES = twin3_modernsys.la -kwin3_modernsys_la_SOURCES = modernsys.cpp -kwin3_modernsys_la_LIBADD = ../../lib/libtdecorations.la -kwin3_modernsys_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_modernsys_la_SOURCES = modernsys.cpp +twin3_modernsys_la_LIBADD = ../../lib/libtdecorations.la +twin3_modernsys_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module METASOURCES = AUTO noinst_HEADERS = modernsys.h -lnkdir = $(kde_datadir)/kwin/ +lnkdir = $(kde_datadir)/twin/ lnk_DATA = modernsystem.desktop EXTRA_DIST = $(lnk_DATA) diff --git a/kwin/clients/modernsystem/config/CMakeLists.txt b/kwin/clients/modernsystem/config/CMakeLists.txt index e2468db33..8a6d6db43 100644 --- a/kwin/clients/modernsystem/config/CMakeLists.txt +++ b/kwin/clients/modernsystem/config/CMakeLists.txt @@ -20,9 +20,9 @@ link_directories( ) -##### kwin_modernsys_config (module) ############ +##### twin_modernsys_config (module) ############ -tde_add_kpart( kwin_modernsys_config AUTOMOC +tde_add_kpart( twin_modernsys_config AUTOMOC SOURCES config.cpp LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/modernsystem/config/Makefile.am b/kwin/clients/modernsystem/config/Makefile.am index 55a695684..aaae38b2a 100644 --- a/kwin/clients/modernsystem/config/Makefile.am +++ b/kwin/clients/modernsystem/config/Makefile.am @@ -1,14 +1,14 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_modernsys_config.la +kde_module_LTLIBRARIES = twin_modernsys_config.la -kwin_modernsys_config_la_SOURCES = config.cpp -kwin_modernsys_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin_modernsys_config_la_LIBADD = $(LIB_TDEUI) +twin_modernsys_config_la_SOURCES = config.cpp +twin_modernsys_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin_modernsys_config_la_LIBADD = $(LIB_TDEUI) METASOURCES = AUTO noinst_HEADERS = config.h -lnkdir = $(kde_datadir)/kwin/ +lnkdir = $(kde_datadir)/twin/ diff --git a/kwin/clients/modernsystem/config/config.cpp b/kwin/clients/modernsystem/config/config.cpp index f5260ba7d..136ff3492 100644 --- a/kwin/clients/modernsystem/config/config.cpp +++ b/kwin/clients/modernsystem/config/config.cpp @@ -19,16 +19,16 @@ extern "C" } -// '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 ModernSysConfig::ModernSysConfig(KConfig* conf, TQWidget* parent) : TQObject(parent) { - clientrc = new KConfig("kwinmodernsysrc"); - KGlobal::locale()->insertCatalogue("kwin_clients"); + clientrc = new KConfig("twinmodernsysrc"); + KGlobal::locale()->insertCatalogue("twin_clients"); mainw = new TQWidget(parent); vbox = new TQVBoxLayout(mainw); vbox->setSpacing(6); diff --git a/kwin/clients/modernsystem/modernsys.cpp b/kwin/clients/modernsystem/modernsys.cpp index 30344d75c..b6e7cda01 100644 --- a/kwin/clients/modernsystem/modernsys.cpp +++ b/kwin/clients/modernsystem/modernsys.cpp @@ -217,7 +217,7 @@ void ModernSysFactory::read_config() bool showh; int hsize, hwidth, bwidth, theight; - KConfig c("kwinmodernsysrc"); + KConfig c("twinmodernsysrc"); c.setGroup("General"); showh = c.readBoolEntry("ShowHandle", true); diff --git a/kwin/clients/modernsystem/modernsystem.desktop b/kwin/clients/modernsystem/modernsystem.desktop index d6247a390..994fd2860 100644 --- a/kwin/clients/modernsystem/modernsystem.desktop +++ b/kwin/clients/modernsystem/modernsystem.desktop @@ -66,4 +66,4 @@ Name[vi]=Hệ thống Hiện đại Name[wa]=Sistinme modiene Name[zh_CN]=现代系统 Name[zh_TW]=現代系統 -X-KDE-Library=kwin3_modernsys +X-KDE-Library=twin3_modernsys diff --git a/kwin/clients/plastik/CMakeLists.txt b/kwin/clients/plastik/CMakeLists.txt index cc9aaa347..d782413ce 100644 --- a/kwin/clients/plastik/CMakeLists.txt +++ b/kwin/clients/plastik/CMakeLists.txt @@ -15,7 +15,7 @@ add_definitions( -DQT_PLUGIN ) include_directories( ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_SOURCE_DIR}/kwin/lib + ${CMAKE_SOURCE_DIR}/twin/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) @@ -27,12 +27,12 @@ link_directories( ##### other data ################################ -install( FILES plastik.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES plastik.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_plastik (module) #################### +##### twin3_plastik (module) #################### -tde_add_kpart( kwin3_plastik AUTOMOC +tde_add_kpart( twin3_plastik AUTOMOC SOURCES plastik.cpp plastikclient.cpp plastikbutton.cpp misc.cpp LINK tdecorations-shared tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/plastik/Makefile.am b/kwin/clients/plastik/Makefile.am index cb3f5f447..c1757891d 100644 --- a/kwin/clients/plastik/Makefile.am +++ b/kwin/clients/plastik/Makefile.am @@ -6,14 +6,14 @@ KDE_CXXFLAGS = -DQT_PLUGIN INCLUDES = -I$(srcdir)/../../lib $(all_includes) -kwindir = $(kde_datadir)/kwin/ -kwin_DATA = plastik.desktop +twindir = $(kde_datadir)/twin/ +twin_DATA = plastik.desktop -kde_module_LTLIBRARIES = kwin3_plastik.la -kwin3_plastik_la_SOURCES = plastik.cpp plastikclient.cpp plastikbutton.cpp misc.cpp -kwin3_plastik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_plastik_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la -kwin3_plastik_la_METASOURCES = AUTO +kde_module_LTLIBRARIES = twin3_plastik.la +twin3_plastik_la_SOURCES = plastik.cpp plastikclient.cpp plastikbutton.cpp misc.cpp +twin3_plastik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_plastik_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la +twin3_plastik_la_METASOURCES = AUTO -DISTCLEANFILES = $(kwin3_plastik_la_METASOURCES) +DISTCLEANFILES = $(twin3_plastik_la_METASOURCES) diff --git a/kwin/clients/plastik/config/CMakeLists.txt b/kwin/clients/plastik/config/CMakeLists.txt index 4e3c2ac2b..49066000e 100644 --- a/kwin/clients/plastik/config/CMakeLists.txt +++ b/kwin/clients/plastik/config/CMakeLists.txt @@ -24,9 +24,9 @@ link_directories( install( FILES DESTINATION ${XDG_APPS_INSTALL_DIR} ) -##### kwin_plastik_config (module) ############## +##### twin_plastik_config (module) ############## -tde_add_kpart( kwin_plastik_config AUTOMOC +tde_add_kpart( twin_plastik_config AUTOMOC SOURCES config.cpp configdialog.ui LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/plastik/config/Makefile.am b/kwin/clients/plastik/config/Makefile.am index a7b50219b..b21a1d26b 100644 --- a/kwin/clients/plastik/config/Makefile.am +++ b/kwin/clients/plastik/config/Makefile.am @@ -1,14 +1,14 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_plastik_config.la +kde_module_LTLIBRARIES = twin_plastik_config.la -kwin_plastik_config_la_SOURCES = config.cpp configdialog.ui -kwin_plastik_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin_plastik_config_la_LIBADD = $(LIB_TDEUI) +twin_plastik_config_la_SOURCES = config.cpp configdialog.ui +twin_plastik_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin_plastik_config_la_LIBADD = $(LIB_TDEUI) METASOURCES = AUTO noinst_HEADERS = config.h DISTCLEANFILES = $(METASOURCES) -lnkdir = $(kde_datadir)/kwin +lnkdir = $(kde_datadir)/twin diff --git a/kwin/clients/plastik/config/config.cpp b/kwin/clients/plastik/config/config.cpp index 0352bff91..aa1c7bd0f 100644 --- a/kwin/clients/plastik/config/config.cpp +++ b/kwin/clients/plastik/config/config.cpp @@ -38,8 +38,8 @@ PlastikConfig::PlastikConfig(KConfig* config, TQWidget* parent) : TQObject(parent), m_config(0), m_dialog(0) { // create the configuration object - m_config = new KConfig("kwinplastikrc"); - KGlobal::locale()->insertCatalogue("kwin_clients"); + m_config = new KConfig("twinplastikrc"); + KGlobal::locale()->insertCatalogue("twin_clients"); // create and show the configuration dialog m_dialog = new ConfigDialog(parent); diff --git a/kwin/clients/plastik/plastik.cpp b/kwin/clients/plastik/plastik.cpp index 3f0ceab85..9faf73df0 100644 --- a/kwin/clients/plastik/plastik.cpp +++ b/kwin/clients/plastik/plastik.cpp @@ -162,7 +162,7 @@ bool PlastikHandler::supports( Ability ability ) void PlastikHandler::readConfig() { // create a config object - KConfig config("kwinplastikrc"); + KConfig config("twinplastikrc"); config.setGroup("General"); // grab settings diff --git a/kwin/clients/plastik/plastik.desktop b/kwin/clients/plastik/plastik.desktop index 55800ad9b..874719191 100644 --- a/kwin/clients/plastik/plastik.desktop +++ b/kwin/clients/plastik/plastik.desktop @@ -34,4 +34,4 @@ Name[uk]=Пластик Name[uz@cyrillic]=Пластик Name[vi]=Chất dẻo Name[zh_CN]=塑料 -X-KDE-Library=kwin3_plastik +X-KDE-Library=twin3_plastik diff --git a/kwin/clients/plastik/plastikbutton.cpp b/kwin/clients/plastik/plastikbutton.cpp index 795a384d2..5f81033cb 100644 --- a/kwin/clients/plastik/plastikbutton.cpp +++ b/kwin/clients/plastik/plastikbutton.cpp @@ -20,7 +20,7 @@ Boston, MA 02110-1301, USA. */ -// #include <kwin/options.h> +// #include <twin/options.h> #include <tqbitmap.h> #include <tqpainter.h> diff --git a/kwin/clients/quartz/CMakeLists.txt b/kwin/clients/quartz/CMakeLists.txt index 160a3cd52..c521bc19c 100644 --- a/kwin/clients/quartz/CMakeLists.txt +++ b/kwin/clients/quartz/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,12 +25,12 @@ link_directories( ##### other data ################################ -install( FILES quartz.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES quartz.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_quartz (module) ##################### +##### twin3_quartz (module) ##################### -tde_add_kpart( kwin3_quartz AUTOMOC +tde_add_kpart( twin3_quartz AUTOMOC SOURCES quartz.cpp LINK tdecorations-shared tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/quartz/Makefile.am b/kwin/clients/quartz/Makefile.am index adfc59968..3a5709773 100644 --- a/kwin/clients/quartz/Makefile.am +++ b/kwin/clients/quartz/Makefile.am @@ -3,16 +3,16 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) SUBDIRS = . config -kde_module_LTLIBRARIES = kwin3_quartz.la +kde_module_LTLIBRARIES = twin3_quartz.la -kwin3_quartz_la_SOURCES = quartz.cpp -kwin3_quartz_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_quartz_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la +twin3_quartz_la_SOURCES = quartz.cpp +twin3_quartz_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_quartz_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la METASOURCES = AUTO noinst_HEADERS = quartz.h -lnkdir = $(kde_datadir)/kwin/ +lnkdir = $(kde_datadir)/twin/ lnk_DATA = quartz.desktop EXTRA_DIST = $(lnk_DATA) diff --git a/kwin/clients/quartz/config/CMakeLists.txt b/kwin/clients/quartz/config/CMakeLists.txt index 3142505c7..e5554bb40 100644 --- a/kwin/clients/quartz/config/CMakeLists.txt +++ b/kwin/clients/quartz/config/CMakeLists.txt @@ -20,9 +20,9 @@ link_directories( ) -##### kwin_quartz_config (module) ############### +##### twin_quartz_config (module) ############### -tde_add_kpart( kwin_quartz_config AUTOMOC +tde_add_kpart( twin_quartz_config AUTOMOC SOURCES config.cpp LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/quartz/config/Makefile.am b/kwin/clients/quartz/config/Makefile.am index 525db9fe1..8a96e85a3 100644 --- a/kwin/clients/quartz/config/Makefile.am +++ b/kwin/clients/quartz/config/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kwin_quartz_config.la +kde_module_LTLIBRARIES = twin_quartz_config.la -kwin_quartz_config_la_SOURCES = config.cpp -kwin_quartz_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin_quartz_config_la_LIBADD = $(LIB_TDEUI) +twin_quartz_config_la_SOURCES = config.cpp +twin_quartz_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin_quartz_config_la_LIBADD = $(LIB_TDEUI) 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/clients/quartz/config/config.cpp b/kwin/clients/quartz/config/config.cpp index d15eb4da1..c4c8e5cba 100644 --- a/kwin/clients/quartz/config/config.cpp +++ b/kwin/clients/quartz/config/config.cpp @@ -23,18 +23,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 */ QuartzConfig::QuartzConfig( KConfig* conf, TQWidget* parent ) : TQObject( parent ) { - quartzConfig = new KConfig("kwinquartzrc"); - KGlobal::locale()->insertCatalogue("kwin_clients"); + quartzConfig = new KConfig("twinquartzrc"); + KGlobal::locale()->insertCatalogue("twin_clients"); gb = new TQVBox( parent ); cbColorBorder = new TQCheckBox( i18n("Draw window frames using &titlebar colors"), gb ); @@ -52,7 +52,7 @@ QuartzConfig::QuartzConfig( KConfig* conf, TQWidget* parent ) connect( cbColorBorder, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectionChanged()) ); connect( cbExtraSmall, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectionChanged()) ); - // Make the widgets visible in kwindecoration + // Make the widgets visible in twindecoration gb->show(); } @@ -70,8 +70,8 @@ void QuartzConfig::slotSelectionChanged() } -// 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 QuartzConfig::load( KConfig* /*conf*/ ) { quartzConfig->setGroup("General"); @@ -82,7 +82,7 @@ void QuartzConfig::load( KConfig* /*conf*/ ) } -// Saves the configurable options to the kwinrc config file +// Saves the configurable options to the twinrc config file void QuartzConfig::save( KConfig* /*conf*/ ) { quartzConfig->setGroup("General"); diff --git a/kwin/clients/quartz/quartz.cpp b/kwin/clients/quartz/quartz.cpp index 2bb0205ae..d0b8974cf 100644 --- a/kwin/clients/quartz/quartz.cpp +++ b/kwin/clients/quartz/quartz.cpp @@ -201,7 +201,7 @@ bool QuartzHandler::supports( Ability ability ) void QuartzHandler::readConfig() { - KConfig conf("kwinquartzrc"); + KConfig conf("twinquartzrc"); conf.setGroup("General"); coloredFrame = conf.readBoolEntry( "UseTitleBarBorderColors", true ); extraSlim = conf.readBoolEntry( "UseQuartzExtraSlim", false ); diff --git a/kwin/clients/quartz/quartz.desktop b/kwin/clients/quartz/quartz.desktop index 30a177973..d84c1d4dd 100644 --- a/kwin/clients/quartz/quartz.desktop +++ b/kwin/clients/quartz/quartz.desktop @@ -36,4 +36,4 @@ Name[uz@cyrillic]=Чақмоқтош Name[ven]=Musuku Name[vi]=Thạch anh Name[zh_TW]=石英 -X-KDE-Library=kwin3_quartz +X-KDE-Library=twin3_quartz diff --git a/kwin/clients/redmond/CMakeLists.txt b/kwin/clients/redmond/CMakeLists.txt index 5be11e2f9..b382af454 100644 --- a/kwin/clients/redmond/CMakeLists.txt +++ b/kwin/clients/redmond/CMakeLists.txt @@ -11,7 +11,7 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_SOURCE_DIR}/kwin/lib + ${CMAKE_SOURCE_DIR}/twin/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) @@ -23,12 +23,12 @@ link_directories( ##### other data ################################ -install( FILES redmond.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES redmond.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_redmond (module) #################### +##### twin3_redmond (module) #################### -tde_add_kpart( kwin3_redmond AUTOMOC +tde_add_kpart( twin3_redmond AUTOMOC SOURCES redmond.cpp LINK tdecorations-shared tdecore-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/redmond/Makefile.am b/kwin/clients/redmond/Makefile.am index 7580887b8..39985f347 100644 --- a/kwin/clients/redmond/Makefile.am +++ b/kwin/clients/redmond/Makefile.am @@ -1,16 +1,16 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) -kde_module_LTLIBRARIES = kwin3_redmond.la +kde_module_LTLIBRARIES = twin3_redmond.la -kwin3_redmond_la_SOURCES = redmond.cpp -kwin3_redmond_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_redmond_la_LIBADD = $(LIB_TDECORE) ../../lib/libtdecorations.la +twin3_redmond_la_SOURCES = redmond.cpp +twin3_redmond_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_redmond_la_LIBADD = $(LIB_TDECORE) ../../lib/libtdecorations.la METASOURCES = AUTO noinst_HEADERS = redmond.h -lnkdir = $(kde_datadir)/kwin +lnkdir = $(kde_datadir)/twin lnk_DATA = redmond.desktop EXTRA_DIST = $(lnk_DATA) diff --git a/kwin/clients/redmond/redmond.desktop b/kwin/clients/redmond/redmond.desktop index ae7628876..398a7f651 100644 --- a/kwin/clients/redmond/redmond.desktop +++ b/kwin/clients/redmond/redmond.desktop @@ -16,4 +16,4 @@ Name[te]=రెడ్ మండ్ Name[tg]=Райдмонд Name[th]=แบบเรดมอนด์ Name[uz@cyrillic]=Редмонд -X-KDE-Library=kwin3_redmond +X-KDE-Library=twin3_redmond diff --git a/kwin/clients/redmond/redmond.h b/kwin/clients/redmond/redmond.h index fdc5047bc..e5f15b8ba 100644 --- a/kwin/clients/redmond/redmond.h +++ b/kwin/clients/redmond/redmond.h @@ -3,7 +3,7 @@ * Redmond KWin client * * Copyright 2001-2003 - * Ported to kwin_iii by Chris Lee <[email protected]> + * Ported to twin_iii by Chris Lee <[email protected]> * Karol Szwed <[email protected]> * http://gallium.n3.net/ * diff --git a/kwin/clients/test/Makefile.am b/kwin/clients/test/Makefile.am index b63377889..07ac72c02 100644 --- a/kwin/clients/test/Makefile.am +++ b/kwin/clients/test/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) -kde_module_LTLIBRARIES = kwin3_test.la +kde_module_LTLIBRARIES = twin3_test.la -kwin3_test_la_SOURCES = test.cpp -kwin3_test_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_test_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la -#kwin_keramik_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) +twin3_test_la_SOURCES = test.cpp +twin3_test_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_test_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la +#twin_keramik_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) METASOURCES = AUTO -kwin_test_lnkdir = $(kde_datadir)/kwin -kwin_test_lnk_DATA = test.desktop +twin_test_lnkdir = $(kde_datadir)/twin +twin_test_lnk_DATA = test.desktop -EXTRA_DIST = $(kwin_test_lnk_DATA) +EXTRA_DIST = $(twin_test_lnk_DATA) diff --git a/kwin/clients/test/test.desktop b/kwin/clients/test/test.desktop index ed340f573..c6cd1e8fa 100644 --- a/kwin/clients/test/test.desktop +++ b/kwin/clients/test/test.desktop @@ -64,4 +64,4 @@ Name[vi]=Thử KWin Name[wa]=Saye KPurnea Name[zh_CN]=KWin 测试 Name[zh_TW]=KWin 測試 -X-KDE-Library=kwin3_test +X-KDE-Library=twin3_test diff --git a/kwin/clients/web/CMakeLists.txt b/kwin/clients/web/CMakeLists.txt index 6a6d1088d..badbd0467 100644 --- a/kwin/clients/web/CMakeLists.txt +++ b/kwin/clients/web/CMakeLists.txt @@ -22,12 +22,12 @@ link_directories( ##### other data ################################ -install( FILES web.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) +install( FILES web.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) -##### kwin3_web (module) ######################## +##### twin3_web (module) ######################## -tde_add_kpart( kwin3_web AUTOMOC +tde_add_kpart( twin3_web AUTOMOC SOURCES Web.cpp WebButton.cpp LINK tdecorations-shared tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/clients/web/Makefile.am b/kwin/clients/web/Makefile.am index bb5080889..4855602ca 100644 --- a/kwin/clients/web/Makefile.am +++ b/kwin/clients/web/Makefile.am @@ -1,15 +1,15 @@ INCLUDES = -I$(top_srcdir) $(all_includes) -kde_module_LTLIBRARIES = kwin3_web.la +kde_module_LTLIBRARIES = twin3_web.la -kwin3_web_la_SOURCES = Web.cpp WebButton.cpp +twin3_web_la_SOURCES = Web.cpp WebButton.cpp noinst_HEADERS = Web.h WebButton.h -kwin3_web_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module -kwin3_web_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la +twin3_web_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +twin3_web_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la METASOURCES = AUTO -linkdir = $(kde_datadir)/kwin/ +linkdir = $(kde_datadir)/twin/ link_DATA = web.desktop EXTRA_DIST = $(link_DATA) diff --git a/kwin/clients/web/Web.cpp b/kwin/clients/web/Web.cpp index 9b5e434da..793b406af 100644 --- a/kwin/clients/web/Web.cpp +++ b/kwin/clients/web/Web.cpp @@ -1,5 +1,5 @@ /* - 'Web' kwin client + 'Web' twin client Copyright (C) 2005 Sandro Giessl <[email protected]> Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> @@ -183,7 +183,7 @@ WebClient::init() if (0 != titleHeight_ % 2) titleHeight_ += 1; - KConfig c("kwinwebrc"); + KConfig c("twinwebrc"); c.setGroup("General"); tqshape_ = c.readBoolEntry("Shape", true); diff --git a/kwin/clients/web/Web.h b/kwin/clients/web/Web.h index 565fe8125..c2c18b0bd 100644 --- a/kwin/clients/web/Web.h +++ b/kwin/clients/web/Web.h @@ -1,5 +1,5 @@ /* - 'Web' kwin client + 'Web' twin client Copyright (C) 2005 Sandro Giessl <[email protected]> Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> diff --git a/kwin/clients/web/WebButton.cpp b/kwin/clients/web/WebButton.cpp index c58a7e75d..bf1f54af4 100644 --- a/kwin/clients/web/WebButton.cpp +++ b/kwin/clients/web/WebButton.cpp @@ -1,5 +1,5 @@ /* - 'Web' kwin client + 'Web' twin client Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> diff --git a/kwin/clients/web/WebButton.h b/kwin/clients/web/WebButton.h index b24136868..108aa2a52 100644 --- a/kwin/clients/web/WebButton.h +++ b/kwin/clients/web/WebButton.h @@ -1,5 +1,5 @@ /* - 'Web' kwin client + 'Web' twin client Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> diff --git a/kwin/clients/web/web.desktop b/kwin/clients/web/web.desktop index 12ced34f4..e08748011 100644 --- a/kwin/clients/web/web.desktop +++ b/kwin/clients/web/web.desktop @@ -44,4 +44,4 @@ Name[vi]=Mạng Name[wa]=Waibe Name[zh_TW]=網頁 Name[zu]=I-Web -X-KDE-Library=kwin3_web +X-KDE-Library=twin3_web diff --git a/kwin/data/CMakeLists.txt b/kwin/data/CMakeLists.txt index 832a71cfd..808d65e06 100644 --- a/kwin/data/CMakeLists.txt +++ b/kwin/data/CMakeLists.txt @@ -22,13 +22,13 @@ link_directories( ##### other data ################################ install( FILES - kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd - kwin_focus1.upd kwinupdatewindowsettings.upd - kwin_focus2.upd kwin_fsp_workarounds_1.upd + twin.upd twinsticky.upd twiniconify.upd twin3_plugin.upd + twin_focus1.upd twinupdatewindowsettings.upd + twin_focus2.upd twin_fsp_workarounds_1.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) install( PROGRAMS - pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh + pluginlibFix.pl twin3_plugin.pl twin_focus1.sh twin_focus2.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) install( FILES @@ -36,22 +36,22 @@ install( FILES DESTINATION ${SOUND_INSTALL_DIR} ) install( FILES - fsp_workarounds_1.kwinrules - DESTINATION ${DATA_INSTALL_DIR}/kwin/default_rules ) + fsp_workarounds_1.twinrules + DESTINATION ${DATA_INSTALL_DIR}/twin/default_rules ) -##### kwin_update_window_settings (executable) ## +##### twin_update_window_settings (executable) ## -tde_add_executable( kwin_update_window_settings +tde_add_executable( twin_update_window_settings SOURCES update_window_settings.cpp LINK tdecore-shared DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin ) -##### kwin_update_default_rules (executable) #### +##### twin_update_default_rules (executable) #### -tde_add_executable( kwin_update_default_rules +tde_add_executable( twin_update_default_rules SOURCES update_default_rules.cpp LINK tdecore-shared DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin diff --git a/kwin/data/Makefile.am b/kwin/data/Makefile.am index 3ae92fe7a..81bc0db43 100644 --- a/kwin/data/Makefile.am +++ b/kwin/data/Makefile.am @@ -1,13 +1,13 @@ -kconf_PROGRAMS = kwin_update_window_settings kwin_update_default_rules +kconf_PROGRAMS = twin_update_window_settings twin_update_default_rules kconfdir = $(libdir)/kconf_update_bin -kwin_update_window_settings_SOURCES = update_window_settings.cpp -kwin_update_window_settings_LDADD = $(LIB_TDECORE) $(KDE_RPATH) -kwin_update_window_settings_LDFLAGS = $(all_libraries) +twin_update_window_settings_SOURCES = update_window_settings.cpp +twin_update_window_settings_LDADD = $(LIB_TDECORE) $(KDE_RPATH) +twin_update_window_settings_LDFLAGS = $(all_libraries) -kwin_update_default_rules_SOURCES = update_default_rules.cpp -kwin_update_default_rules_LDADD = $(LIB_TDECORE) $(KDE_RPATH) -kwin_update_default_rules_LDFLAGS = $(all_libraries) +twin_update_default_rules_SOURCES = update_default_rules.cpp +twin_update_default_rules_LDADD = $(LIB_TDECORE) $(KDE_RPATH) +twin_update_default_rules_LDFLAGS = $(all_libraries) INCLUDES = $(all_includes) @@ -16,10 +16,10 @@ METASOURCES = AUTO sounddir= $(kde_sounddir) sound_DATA = pop.wav -update_DATA = kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd kwin_focus1.upd \ - kwinupdatewindowsettings.upd kwin_focus2.upd kwin_fsp_workarounds_1.upd -update_SCRIPTS = pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh +update_DATA = twin.upd twinsticky.upd twiniconify.upd twin3_plugin.upd twin_focus1.upd \ + twinupdatewindowsettings.upd twin_focus2.upd twin_fsp_workarounds_1.upd +update_SCRIPTS = pluginlibFix.pl twin3_plugin.pl twin_focus1.sh twin_focus2.sh updatedir = $(kde_datadir)/kconf_update -kwin_default_rules_DATA = fsp_workarounds_1.kwinrules -kwin_default_rulesdir = $(kde_datadir)/kwin/default_rules +twin_default_rules_DATA = fsp_workarounds_1.twinrules +twin_default_rulesdir = $(kde_datadir)/twin/default_rules diff --git a/kwin/data/kwin.upd b/kwin/data/kwin.upd index 3e8682bfe..802ad5c44 100644 --- a/kwin/data/kwin.upd +++ b/kwin/data/kwin.upd @@ -1,11 +1,11 @@ Id=trinity.0r1 -File=kwinrc +File=twinrc Options=overwrite Script=pluginlibFix.pl,perl # Xinerama fixups Id=trinity.2Xinerama -File=kwinrc,kdeglobals +File=twinrc,kdeglobals Group=Windows Key=XineramaEnabled Key=XineramaMovementEnabled diff --git a/kwin/data/kwin3_plugin.pl b/kwin/data/kwin3_plugin.pl index 791ea7f33..f5234bcce 100644 --- a/kwin/data/kwin3_plugin.pl +++ b/kwin/data/kwin3_plugin.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl foreach (<>) { - if(/^PluginLib=kwin_(.*)$/) { - print "PluginLib=kwin3_$1\n"; + if(/^PluginLib=twin_(.*)$/) { + print "PluginLib=twin3_$1\n"; next; } print $_; diff --git a/kwin/data/kwin3_plugin.upd b/kwin/data/kwin3_plugin.upd index 8b7675543..7194b5641 100644 --- a/kwin/data/kwin3_plugin.upd +++ b/kwin/data/kwin3_plugin.upd @@ -1,4 +1,4 @@ Id=trinity.2 -File=kwinrc +File=twinrc Options=overwrite -Script=kwin3_plugin.pl,perl +Script=twin3_plugin.pl,perl diff --git a/kwin/data/kwin_focus1.upd b/kwin/data/kwin_focus1.upd index 902ac0fad..b7cc384a7 100644 --- a/kwin/data/kwin_focus1.upd +++ b/kwin/data/kwin_focus1.upd @@ -1,5 +1,5 @@ -Id=kwin_focus1 -File=kwinrc +Id=twin_focus1 +File=twinrc Group=Windows Options=overwrite -Script=kwin_focus1.sh,sh +Script=twin_focus1.sh,sh diff --git a/kwin/data/kwin_focus2.upd b/kwin/data/kwin_focus2.upd index 681c2c404..094edd446 100644 --- a/kwin/data/kwin_focus2.upd +++ b/kwin/data/kwin_focus2.upd @@ -1,5 +1,5 @@ -Id=kwin_focus2 -File=kwinrc +Id=twin_focus2 +File=twinrc Group=Windows Options=overwrite -Script=kwin_focus2.sh,sh +Script=twin_focus2.sh,sh diff --git a/kwin/data/kwin_fsp_workarounds_1.upd b/kwin/data/kwin_fsp_workarounds_1.upd index 3a6182693..c451045c5 100644 --- a/kwin/data/kwin_fsp_workarounds_1.upd +++ b/kwin/data/kwin_fsp_workarounds_1.upd @@ -1,8 +1,8 @@ Id=trinity51 -# the file is intentionally a dummy, as the binary will update kwinrulesrc, -# file kwinrules_update will just remember it has been done -File=kwinrules_update +# the file is intentionally a dummy, as the binary will update twinrulesrc, +# file twinrules_update will just remember it has been done +File=twinrules_update Group=Dummy Options=overwrite -ScriptArguments=fsp_workarounds_1.kwinrules -Script=kwin_update_default_rules +ScriptArguments=fsp_workarounds_1.twinrules +Script=twin_update_default_rules diff --git a/kwin/data/kwiniconify.upd b/kwin/data/kwiniconify.upd index 1946a1a91..eae98094b 100644 --- a/kwin/data/kwiniconify.upd +++ b/kwin/data/kwiniconify.upd @@ -1,5 +1,5 @@ Id=iconifyupd3.1 -File=kwin.eventsrc +File=twin.eventsrc Group=iconify,minimize AllKeys Group=deiconify,unminimize diff --git a/kwin/data/kwinsticky.upd b/kwin/data/kwinsticky.upd index 3dc37ba47..84fd36788 100644 --- a/kwin/data/kwinsticky.upd +++ b/kwin/data/kwinsticky.upd @@ -1,5 +1,5 @@ Id=stickyupd3.1 -File=kwin.eventsrc +File=twin.eventsrc Group=sticky,on_all_desktops AllKeys Group=unsticky,not_on_all_desktops diff --git a/kwin/data/kwinupdatewindowsettings.upd b/kwin/data/kwinupdatewindowsettings.upd index dc205b464..74b252462 100644 --- a/kwin/data/kwinupdatewindowsettings.upd +++ b/kwin/data/kwinupdatewindowsettings.upd @@ -1,7 +1,7 @@ Id=trinity3b1 -# the file is intentionally a dummy, as the binary will update kwinrc and kwinrulesrc -# the kwin_update will just remember it has been done -File=kwin_update +# the file is intentionally a dummy, as the binary will update twinrc and twinrulesrc +# the twin_update will just remember it has been done +File=twin_update Group=Dummy Options=overwrite -Script=kwin_update_window_settings +Script=twin_update_window_settings diff --git a/kwin/data/pluginlibFix.pl b/kwin/data/pluginlibFix.pl index cb3859aeb..95357d1a2 100755 --- a/kwin/data/pluginlibFix.pl +++ b/kwin/data/pluginlibFix.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl foreach (<>) { - if(/^PluginLib=libkwin(.*)$/) { - print "PluginLib=kwin_$1\n"; + if(/^PluginLib=libtwin(.*)$/) { + print "PluginLib=twin_$1\n"; next; } print $_; diff --git a/kwin/data/update_default_rules.cpp b/kwin/data/update_default_rules.cpp index a949d6980..a5e018ba1 100644 --- a/kwin/data/update_default_rules.cpp +++ b/kwin/data/update_default_rules.cpp @@ -8,7 +8,7 @@ You can Freely distribute this program under the GNU General Public License. See the file "COPYING" for the exact licensing terms. ******************************************************************/ -// read addtional window rules and add them to kwinrulesrc +// read addtional window rules and add them to twinrulesrc #include <dcopclient.h> #include <kconfig.h> @@ -20,15 +20,15 @@ int main( int argc, char* argv[] ) { if( argc != 2 ) return 1; - KInstance inst( "kwin_update_default_rules" ); - TQString file = locate( "data", TQString( "kwin/default_rules/" ) + argv[ 1 ] ); + KInstance inst( "twin_update_default_rules" ); + TQString file = locate( "data", TQString( "twin/default_rules/" ) + argv[ 1 ] ); if( file.isEmpty()) { kdWarning() << "File " << argv[ 1 ] << " not found!" << endl; return 1; } KConfig src_cfg( file ); - KConfig dest_cfg( "kwinrulesrc" ); + KConfig dest_cfg( "twinrulesrc" ); src_cfg.setGroup( "General" ); dest_cfg.setGroup( "General" ); int count = src_cfg.readNumEntry( "count", 0 ); @@ -52,5 +52,5 @@ int main( int argc, char* argv[] ) dest_cfg.sync(); DCOPClient client; client.attach(); - client.send("kwin*", "", "reconfigure()", TQString("")); + client.send("twin*", "", "reconfigure()", TQString("")); } diff --git a/kwin/data/update_window_settings.cpp b/kwin/data/update_window_settings.cpp index 4c2414568..a82e26492 100644 --- a/kwin/data/update_window_settings.cpp +++ b/kwin/data/update_window_settings.cpp @@ -155,14 +155,14 @@ void writeRules( KConfig& cfg ) int main() { - KInstance inst( "kwin_update_window_settings" ); - KConfig src_cfg( "kwinrc" ); - KConfig dest_cfg( "kwinrulesrc" ); + KInstance inst( "twin_update_window_settings" ); + KConfig src_cfg( "twinrc" ); + KConfig dest_cfg( "twinrulesrc" ); loadFakeSessionInfo( &src_cfg ); writeRules( dest_cfg ); src_cfg.sync(); dest_cfg.sync(); DCOPClient client; client.attach(); - client.send("kwin*", "", "reconfigure()", TQString("")); + client.send("twin*", "", "reconfigure()", TQString("")); } diff --git a/kwin/events.cpp b/kwin/events.cpp index 28489cc0e..45f4f6e35 100644 --- a/kwin/events.cpp +++ b/kwin/events.cpp @@ -661,7 +661,7 @@ bool Client::mapRequestEvent( XMapRequestEvent* e ) return true; // no messing with frame etc. } if( isTopMenu() && workspace()->managingTopMenus()) - return true; // kwin controls these + return true; // twin controls these switch ( mappingState() ) { case WithdrawnState: @@ -746,7 +746,7 @@ void Client::clientMessageEvent( XClientMessageEvent* e ) if ( e->message_type == atoms->kde_wm_change_state ) { if( isTopMenu() && workspace()->managingTopMenus()) - return; // kwin controls these + return; // twin controls these if( e->data.l[ 1 ] ) blockAnimation = true; if( e->data.l[ 0 ] == IconicState ) @@ -770,7 +770,7 @@ void Client::clientMessageEvent( XClientMessageEvent* e ) else if ( e->message_type == atoms->wm_change_state) { if( isTopMenu() && workspace()->managingTopMenus()) - return; // kwin controls these + return; // twin controls these if ( e->data.l[0] == IconicState ) minimize(); return; @@ -825,7 +825,7 @@ void Client::configureRequestEvent( XConfigureRequestEvent* e ) sendSyntheticConfigureNotify(); // SELI TODO accept configure requests for isDesktop windows (because kdesktop - // may get XRANDR resize event before kwin), but check it's still at the bottom? + // may get XRANDR resize event before twin), but check it's still at the bottom? } diff --git a/kwin/eventsrc b/kwin/eventsrc index 44d6342d0..20c3c9473 100644 --- a/kwin/eventsrc +++ b/kwin/eventsrc @@ -1,5 +1,5 @@ [!Global!] -IconName=kwin +IconName=twin Comment=The KDE Window Manager Comment[af]=Die KDE Venster Bestuurder Comment[ar]=مسير KDE للنوافذ diff --git a/kwin/geometry.cpp b/kwin/geometry.cpp index dea566556..2e0b205c7 100644 --- a/kwin/geometry.cpp +++ b/kwin/geometry.cpp @@ -22,7 +22,7 @@ License. See the file "COPYING" for the exact licensing terms. #include <kapplication.h> #include <kglobal.h> #include <tqpainter.h> -#include <kwin.h> +#include <twin.h> #include "placement.h" #include "notifications.h" @@ -316,7 +316,7 @@ TQRect Workspace::clientArea( clientAreaOption opt, const Client* c ) const TQPoint Workspace::adjustClientPosition( Client* c, TQPoint pos ) { //CT 16mar98, 27May98 - magics: BorderSnapZone, WindowSnapZone - //CT adapted for kwin on 25Nov1999 + //CT adapted for twin on 25Nov1999 //aleXXX 02Nov2000 added second snapping mode if (options->windowSnapZone || options->borderSnapZone ) { @@ -1470,7 +1470,7 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i // clever(?) workaround for applications like xv that want to set // the location to the current location but miscalculate the - // frame size due to kwin being a double-reparenting window + // frame size due to twin being a double-reparenting window // manager if ( new_pos.x() == x() + clientPos().x() && new_pos.y() == y() + clientPos().y() && gravity == NorthWestGravity && !from_tool ) diff --git a/kwin/geometrytip.cpp b/kwin/geometrytip.cpp index 8fb92dc49..83598d47c 100644 --- a/kwin/geometrytip.cpp +++ b/kwin/geometrytip.cpp @@ -14,7 +14,7 @@ namespace KWinInternal { GeometryTip::GeometryTip( const XSizeHints* xSizeHints, bool save_under ): - TQLabel(NULL, "kwingeometry" ) + TQLabel(NULL, "twingeometry" ) { setMargin(1); setIndent(0); diff --git a/kwin/group.cpp b/kwin/group.cpp index 8df006def..8d5bd7246 100644 --- a/kwin/group.cpp +++ b/kwin/group.cpp @@ -777,7 +777,7 @@ Window Client::verifyTransientFor( Window new_transient_for, bool defined ) new_property_value = new_transient_for = workspace()->rootWin(); } // The transient_for window may be embedded in another application, -// so kwin cannot see it. Try to find the managed client for the +// so twin cannot see it. Try to find the managed client for the // window and fix the transient_for property if possible. WId before_search = new_transient_for; while( new_transient_for != None diff --git a/kwin/kcmkwin/CMakeLists.txt b/kwin/kcmkwin/CMakeLists.txt index 76ed077ec..e0ca44195 100644 --- a/kwin/kcmkwin/CMakeLists.txt +++ b/kwin/kcmkwin/CMakeLists.txt @@ -9,8 +9,8 @@ # ################################################# -add_subdirectory( kwinoptions ) -add_subdirectory( kwindecoration ) -add_subdirectory( kwinrules ) +add_subdirectory( twinoptions ) +add_subdirectory( twindecoration ) +add_subdirectory( twinrules ) install( FILES showdesktop.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) diff --git a/kwin/kcmkwin/Makefile.am b/kwin/kcmkwin/Makefile.am index e3a4a3d24..1f371dd46 100644 --- a/kwin/kcmkwin/Makefile.am +++ b/kwin/kcmkwin/Makefile.am @@ -1,3 +1,3 @@ -SUBDIRS = kwinoptions kwindecoration kwinrules +SUBDIRS = twinoptions twindecoration twinrules xdg_apps_DATA = showdesktop.desktop
\ No newline at end of file diff --git a/kwin/kcmkwin/kwindecoration/CMakeLists.txt b/kwin/kcmkwin/kwindecoration/CMakeLists.txt index 1d88ce5a9..5fbdb3653 100644 --- a/kwin/kcmkwin/kwindecoration/CMakeLists.txt +++ b/kwin/kcmkwin/kwindecoration/CMakeLists.txt @@ -12,7 +12,7 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_SOURCE_DIR}/kwin/lib + ${CMAKE_SOURCE_DIR}/twin/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) @@ -23,15 +23,15 @@ link_directories( ##### other data ################################ -install( FILES kwindecoration.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES twindecoration.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -##### kcm_kwindecoration (module) ############### +##### kcm_twindecoration (module) ############### -tde_add_kpart( kcm_kwindecoration AUTOMOC +tde_add_kpart( kcm_twindecoration AUTOMOC SOURCES - kwindecoration.cpp buttons.cpp - kwindecorationIface.skel preview.cpp + twindecoration.cpp buttons.cpp + twindecorationIface.skel preview.cpp LINK tdecorations-shared tdeui-shared Xext DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kwin/kcmkwin/kwindecoration/Makefile.am b/kwin/kcmkwin/kwindecoration/Makefile.am index e7bac2af8..021c1ac3e 100644 --- a/kwin/kcmkwin/kwindecoration/Makefile.am +++ b/kwin/kcmkwin/kwindecoration/Makefile.am @@ -1,18 +1,18 @@ INCLUDES = -I$(srcdir)/../../lib $(all_includes) -kde_module_LTLIBRARIES = kcm_kwindecoration.la +kde_module_LTLIBRARIES = kcm_twindecoration.la -kcm_kwindecoration_la_SOURCES = kwindecoration.cpp buttons.cpp kwindecorationIface.skel preview.cpp -noinst_HEADERS = kwindecoration.h kwindecorationIface.h buttons.h preview.h +kcm_twindecoration_la_SOURCES = twindecoration.cpp buttons.cpp twindecorationIface.skel preview.cpp +noinst_HEADERS = twindecoration.h twindecorationIface.h buttons.h preview.h -kcm_kwindecoration_la_LDFLAGS = \ +kcm_twindecoration_la_LDFLAGS = \ -module -avoid-version $(all_libraries) -no-undefined -kcm_kwindecoration_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la +kcm_twindecoration_la_LIBADD = $(LIB_TDEUI) ../../lib/libtdecorations.la METASOURCES = AUTO messages: - $(XGETTEXT) *.cpp -o $(podir)/kcmkwindecoration.pot + $(XGETTEXT) *.cpp -o $(podir)/kcmtwindecoration.pot -xdg_apps_DATA = kwindecoration.desktop +xdg_apps_DATA = twindecoration.desktop diff --git a/kwin/kcmkwin/kwindecoration/buttons.cpp b/kwin/kcmkwin/kwindecoration/buttons.cpp index 7ddcb2af2..2c450aed1 100644 --- a/kwin/kcmkwin/kwindecoration/buttons.cpp +++ b/kwin/kcmkwin/kwindecoration/buttons.cpp @@ -1,15 +1,15 @@ /* - This is the new kwindecoration kcontrol module + This is the new twindecoration kcontrol module Copyright (c) 2004, Sandro Giessl <[email protected]> Copyright (c) 2001 Karol Szwed <[email protected]> http://gallium.n3.net/ - Supports new kwin configuration plugins, and titlebar button position + Supports new twin configuration plugins, and titlebar button position modification via dnd interface. - Based on original "kwintheme" (Window Borders) + Based on original "twintheme" (Window Borders) Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> This program is free software; you can redistribute it and/or modify @@ -46,7 +46,7 @@ #include "pixmaps.h" -#define BUTTONDRAGMIMETYPE "application/x-kde_kwindecoration_buttons" +#define BUTTONDRAGMIMETYPE "application/x-kde_twindecoration_buttons" ButtonDrag::ButtonDrag( Button btn, TQWidget* parent, const char* name) : TQStoredDrag( BUTTONDRAGMIMETYPE, parent, name) { diff --git a/kwin/kcmkwin/kwindecoration/buttons.h b/kwin/kcmkwin/kwindecoration/buttons.h index 909adfe87..088d3414d 100644 --- a/kwin/kcmkwin/kwindecoration/buttons.h +++ b/kwin/kcmkwin/kwindecoration/buttons.h @@ -1,15 +1,15 @@ /* - This is the new kwindecoration kcontrol module + This is the new twindecoration kcontrol module Copyright (c) 2004, Sandro Giessl <[email protected]> Copyright (c) 2001 Karol Szwed <[email protected]> http://gallium.n3.net/ - Supports new kwin configuration plugins, and titlebar button position + Supports new twin configuration plugins, and titlebar button position modification via dnd interface. - Based on original "kwintheme" (Window Borders) + Based on original "twintheme" (Window Borders) Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> This program is free software; you can redistribute it and/or modify diff --git a/kwin/kcmkwin/kwindecoration/kwindecoration.cpp b/kwin/kcmkwin/kwindecoration/kwindecoration.cpp index 65c951893..4ef509e5a 100644 --- a/kwin/kcmkwin/kwindecoration/kwindecoration.cpp +++ b/kwin/kcmkwin/kwindecoration/kwindecoration.cpp @@ -1,14 +1,14 @@ /* - This is the new kwindecoration kcontrol module + This is the new twindecoration kcontrol module Copyright (c) 2001 Karol Szwed <[email protected]> http://gallium.n3.net/ - Supports new kwin configuration plugins, and titlebar button position + Supports new twin configuration plugins, and titlebar button position modification via dnd interface. - Based on original "kwintheme" (Window Borders) + Based on original "twintheme" (Window Borders) Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> This program is free software; you can redistribute it and/or modify @@ -56,7 +56,7 @@ #include <kaboutdata.h> #include <dcopclient.h> -#include "kwindecoration.h" +#include "twindecoration.h" #include "preview.h" #include <kdecoration_plugins_p.h> #include <kdecorationfactory.h> @@ -64,16 +64,16 @@ // KCModule plugin interface // ========================= typedef KGenericFactory<KWinDecorationModule, TQWidget> KWinDecoFactory; -K_EXPORT_COMPONENT_FACTORY( kcm_kwindecoration, KWinDecoFactory("kcmkwindecoration") ) +K_EXPORT_COMPONENT_FACTORY( kcm_twindecoration, KWinDecoFactory("kcmtwindecoration") ) KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, const TQStringList &) : DCOPObject("KWinClientDecoration"), KCModule(KWinDecoFactory::instance(), parent, name), - kwinConfig("kwinrc"), + twinConfig("twinrc"), pluginObject(0) { - kwinConfig.setGroup("Style"); - plugins = new KDecorationPreviewPlugins( &kwinConfig ); + twinConfig.setGroup("Style"); + plugins = new KDecorationPreviewPlugins( &twinConfig ); TQVBoxLayout* layout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); @@ -319,8 +319,8 @@ KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, c // Set up the decoration lists and other UI settings findDecorations(); createDecorationList(); - readConfig( &kwinConfig ); - resetPlugin( &kwinConfig ); + readConfig( &twinConfig ); + resetPlugin( &twinConfig ); tabWidget->insertTab( pluginPage, i18n("&Window Decoration") ); tabWidget->insertTab( buttonPage, i18n("&Buttons") ); @@ -343,11 +343,11 @@ KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, c connect( cBorder, TQT_SIGNAL( activated( int )), TQT_SLOT( slotBorderChanged( int ))); // connect( cbUseMiniWindows, TQT_SIGNAL(clicked()), TQT_SLOT(slotSelectionChanged()) ); - // Allow kwin dcop signal to update our selection list - connectDCOPSignal("kwin", 0, "dcopResetAllClients()", "dcopUpdateClientList()", false); + // Allow twin dcop signal to update our selection list + connectDCOPSignal("twin", 0, "dcopResetAllClients()", "dcopUpdateClientList()", false); KAboutData *about = - new KAboutData(I18N_NOOP("kcmkwindecoration"), + new KAboutData(I18N_NOOP("kcmtwindecoration"), I18N_NOOP("Window Decoration Control Module"), 0, 0, KAboutData::License_GPL, I18N_NOOP("(c) 2001 Karol Szwed")); @@ -363,11 +363,11 @@ KWinDecorationModule::~KWinDecorationModule() } -// Find all theme desktop files in all 'data' dirs owned by kwin. +// Find all theme desktop files in all 'data' dirs owned by twin. // And insert these into a DecorationInfo structure void KWinDecorationModule::findDecorations() { - TQStringList dirList = KGlobal::dirs()->findDirs("data", "kwin"); + TQStringList dirList = KGlobal::dirs()->findDirs("data", "twin"); TQStringList::ConstIterator it; for (it = dirList.begin(); it != dirList.end(); it++) @@ -382,7 +382,7 @@ void KWinDecorationModule::findDecorations() KDesktopFile desktopFile(filename); TQString libName = desktopFile.readEntry("X-KDE-Library"); - if (!libName.isEmpty() && libName.startsWith( "kwin3_" )) + if (!libName.isEmpty() && libName.startsWith( "twin3_" )) { DecorationInfo di; di.name = desktopFile.readName(); @@ -395,12 +395,12 @@ void KWinDecorationModule::findDecorations() } -// Fills the decorationList with a list of available kwin decorations +// Fills the decorationList with a list of available twin decorations void KWinDecorationModule::createDecorationList() { TQValueList<DecorationInfo>::ConstIterator it; - // Sync with kwin hardcoded KDE2 style which has no desktop item + // Sync with twin hardcoded KDE2 style which has no desktop item TQStringList decorationNames; decorationNames.append( i18n("KDE 2") ); for (it = decorations.begin(); it != decorations.end(); ++it) @@ -415,11 +415,11 @@ void KWinDecorationModule::createDecorationList() // Reset the decoration plugin to what the user just selected void KWinDecorationModule::slotChangeDecoration( const TQString & text) { - KConfig kwinConfig("kwinrc"); - kwinConfig.setGroup("Style"); + KConfig twinConfig("twinrc"); + twinConfig.setGroup("Style"); // Let the user see config options for the currently selected decoration - resetPlugin( &kwinConfig, text ); + resetPlugin( &twinConfig, text ); } @@ -515,7 +515,7 @@ TQString KWinDecorationModule::decorationLibName( const TQString& name ) } if (libName.isEmpty()) - libName = "kwin_default"; // KDE 2 + libName = "twin_default"; // KDE 2 return libName; } @@ -525,8 +525,8 @@ TQString KWinDecorationModule::decorationLibName( const TQString& name ) // pluginConfigWidget, allowing for dynamic configuration of decorations void KWinDecorationModule::resetPlugin( KConfig* conf, const TQString& currentDecoName ) { - // Config names are "kwin_icewm_config" - // for "kwin3_icewm" kwin client + // Config names are "twin_icewm_config" + // for "twin3_icewm" twin client TQString oldName = styleToConfigLib( oldLibraryName ); @@ -585,7 +585,7 @@ void KWinDecorationModule::resetPlugin( KConfig* conf, const TQString& currentDe } -// Reads the kwin config settings, and sets all UI controls to those settings +// Reads the twin config settings, and sets all UI controls to those settings // Updating the config plugin if required void KWinDecorationModule::readConfig( KConfig* conf ) { @@ -599,7 +599,7 @@ void KWinDecorationModule::readConfig( KConfig* conf ) oldLibraryName = currentLibraryName; currentLibraryName = conf->readEntry("PluginLib", - ((TQPixmap::defaultDepth() > 8) ? "kwin_plastik" : "kwin_quartz")); + ((TQPixmap::defaultDepth() > 8) ? "twin_plastik" : "twin_quartz")); TQString decoName = decorationName( currentLibraryName ); // If we are using the "default" kde client, use the "default" entry. @@ -659,14 +659,14 @@ void KWinDecorationModule::readConfig( KConfig* conf ) } -// Writes the selected user configuration to the kwin config file +// Writes the selected user configuration to the twin config file void KWinDecorationModule::writeConfig( KConfig* conf ) { TQString name = decorationList->currentText(); TQString libName = decorationLibName( name ); - KConfig kwinConfig("kwinrc"); - kwinConfig.setGroup("Style"); + KConfig twinConfig("twinrc"); + twinConfig.setGroup("Style"); // General settings conf->writeEntry("PluginLib", libName); @@ -712,35 +712,35 @@ void KWinDecorationModule::dcopUpdateClientList() { // Changes the current active ListBox item, and // Loads a new plugin configuration tab if required. - KConfig kwinConfig("kwinrc"); - kwinConfig.setGroup("Style"); + KConfig twinConfig("twinrc"); + twinConfig.setGroup("Style"); - readConfig( &kwinConfig ); - resetPlugin( &kwinConfig ); + readConfig( &twinConfig ); + resetPlugin( &twinConfig ); } // Virutal functions required by KCModule void KWinDecorationModule::load() { - KConfig kwinConfig("kwinrc"); - kwinConfig.setGroup("Style"); + KConfig twinConfig("twinrc"); + twinConfig.setGroup("Style"); // Reset by re-reading the config - readConfig( &kwinConfig ); - resetPlugin( &kwinConfig ); + readConfig( &twinConfig ); + resetPlugin( &twinConfig ); } void KWinDecorationModule::save() { - KConfig kwinConfig("kwinrc"); - kwinConfig.setGroup("Style"); + KConfig twinConfig("twinrc"); + twinConfig.setGroup("Style"); - writeConfig( &kwinConfig ); - emit pluginSave( &kwinConfig ); + writeConfig( &twinConfig ); + emit pluginSave( &twinConfig ); - kwinConfig.sync(); + twinConfig.sync(); resetKWin(); // resetPlugin() will get called via the above DCOP function } @@ -807,8 +807,8 @@ void KWinDecorationModule::checkSupportedBorderSizes() TQString KWinDecorationModule::styleToConfigLib( TQString& styleLib ) { - if( styleLib.startsWith( "kwin3_" )) - return "kwin_" + styleLib.mid( 6 ) + "_config"; + if( styleLib.startsWith( "twin3_" )) + return "twin_" + styleLib.mid( 6 ) + "_config"; else return styleLib + "_config"; } @@ -828,13 +828,13 @@ TQString KWinDecorationModule::quickHelp() const void KWinDecorationModule::resetKWin() { - bool ok = kapp->dcopClient()->send("kwin*", "KWinInterface", + bool ok = kapp->dcopClient()->send("twin*", "KWinInterface", "reconfigure()", TQByteArray()); if (!ok) - kdDebug() << "kcmkwindecoration: Could not reconfigure kwin" << endl; + kdDebug() << "kcmtwindecoration: Could not reconfigure twin" << endl; } -#include "kwindecoration.moc" +#include "twindecoration.moc" // vim: ts=4 // kate: space-indent off; tab-width 4; diff --git a/kwin/kcmkwin/kwindecoration/kwindecoration.desktop b/kwin/kcmkwin/kwindecoration/kwindecoration.desktop index 3c5f12e6f..dc1e55ef6 100644 --- a/kwin/kcmkwin/kwindecoration/kwindecoration.desktop +++ b/kwin/kcmkwin/kwindecoration/kwindecoration.desktop @@ -1,12 +1,12 @@ [Desktop Entry] -Exec=kcmshell kwindecoration +Exec=kcmshell twindecoration Icon=kcmkwm Type=Application -DocPath=kcontrol/kwindecoration/index.html +DocPath=kcontrol/twindecoration/index.html X-KDE-ModuleType=Library -X-KDE-Library=kwindecoration -X-KDE-FactoryName=kwindecoration +X-KDE-Library=twindecoration +X-KDE-FactoryName=twindecoration Name=Window Decorations Name[af]=Venster Versierings @@ -162,70 +162,70 @@ Comment[zh_CN]=配置窗口标题的观感 Comment[zh_TW]=設定視窗標題列的外觀與感覺 Comment[zu]=Hlanganisela ukubona kanye nokuzwa kwezihloko zama-window -Keywords=kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration -Keywords[ar]=kwin,نافذة,مسيير,الحافة,الشكل,سمة,مظهر,ملمس,تصميم,زر,معامل,مدبر,kwm,زخرفات -Keywords[az]=kwin,pəncərə,idarəçi,kənar,tərz,örtü,görünüş,toxuma,yer,düymə,applet,kənar,kwm,dekorasiya,bəzək -Keywords[be]=Акно,Кіраўнік,Мяжа,Стыль,Тэма,Вонкавы выгляд,Кнопкі,Апрацоўшчык,Край,Дэкарацыя,kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration -Keywords[bg]=прозорец, декорация, заглавие, бутони, меню, kwin, window, manager, border, style, theme, look, feel, layout, button, handle, edge, kwm, decoration -Keywords[ca]=kwin,finestra,gestor,vora,estil,tema,aspecte,comportament,disposició,botó,nansa,marges,kwm,decoració -Keywords[cs]=kwin,okno,správce,okraj,styl,motiv,vzhled,rozvržení,tlačítko,úchytka,hrana,kwm,dekorace -Keywords[csb]=kwin,òkno,menedżer,zberk,sztél,téma,wëzdrzatk,ùchòwanié,ùstôw,knąpa,ùchwët,rańt,kwm,dekòracëjô -Keywords[cy]=kwin,ffenestr,trefnydd,ymyl,arddull,thema,golwg,teimlad,haenlun,botwm,carn,kwm,addurniad -Keywords[da]=kwin,vindue,håndtering,kant,stil,tema,udseende,fornemmelse,layout,knap,håndtag,kant,kwm,dekoration +Keywords=twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration +Keywords[ar]=twin,نافذة,مسيير,الحافة,الشكل,سمة,مظهر,ملمس,تصميم,زر,معامل,مدبر,kwm,زخرفات +Keywords[az]=twin,pəncərə,idarəçi,kənar,tərz,örtü,görünüş,toxuma,yer,düymə,applet,kənar,kwm,dekorasiya,bəzək +Keywords[be]=Акно,Кіраўнік,Мяжа,Стыль,Тэма,Вонкавы выгляд,Кнопкі,Апрацоўшчык,Край,Дэкарацыя,twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration +Keywords[bg]=прозорец, декорация, заглавие, бутони, меню, twin, window, manager, border, style, theme, look, feel, layout, button, handle, edge, kwm, decoration +Keywords[ca]=twin,finestra,gestor,vora,estil,tema,aspecte,comportament,disposició,botó,nansa,marges,kwm,decoració +Keywords[cs]=twin,okno,správce,okraj,styl,motiv,vzhled,rozvržení,tlačítko,úchytka,hrana,kwm,dekorace +Keywords[csb]=twin,òkno,menedżer,zberk,sztél,téma,wëzdrzatk,ùchòwanié,ùstôw,knąpa,ùchwët,rańt,kwm,dekòracëjô +Keywords[cy]=twin,ffenestr,trefnydd,ymyl,arddull,thema,golwg,teimlad,haenlun,botwm,carn,kwm,addurniad +Keywords[da]=twin,vindue,håndtering,kant,stil,tema,udseende,fornemmelse,layout,knap,håndtag,kant,kwm,dekoration Keywords[de]=KWin,Kwm,Fenster,Manager,Rahmen,Design,Stile,Themes,Optik,Erscheinungsbild,Layout,Knöpfe,Ränder,Dekorationen -Keywords[el]=kwin,παράθυρο,διαχειριστής,περίγραμμα,στυλ,θέμα,εμφάνιση,αίσθηση,διάταξη,κουμπί,χειρισμός,άκρο,kwm,διακόσμηση -Keywords[eo]=kwin,fenestro,administrilo,rando,stilo,etoso,aspekto,konduto,aranĝo,butono,eĝo,kwm,ornamo -Keywords[es]=kwin,ventana,gestor,borde,estilo,tema,aspecto,comportamiento,disposición,botón,asa,esquina,kwm,decoración -Keywords[et]=kwin,aken,haldur,piire,stiil,teema,välimus,kasutamine,nupud,serv,kwm,dekoratsioon -Keywords[eu]=kwin,leihoa,kudeatzailea,ertza,estiloa,gaia,itxura,antolaketa,botoia, maneiatzailea,ertzea,kwm,dekorazioa -Keywords[fa]=kwin، پنجره، مدیر، لبه، سبک، چهره، ظاهر، احساس، طرحبندی، دکمه، گرداندن، لبه، kwm، تزئین -Keywords[fi]=kwin,ikkuna,ikkunaohjelma,ikkunoinnin hallintaohjelma,tausta,tyyli,teema,ulkonäkö,tuntuma,ulkoasu,painike,kahva,kulma,kwm,kehys -Keywords[fr]=kwin,fenêtre,gestionnaire,bordure,style,thème,apparence,ergonomie,disposition,bouton,poignée,bord,kwm,décoration -Keywords[fy]=kwin,window,manager,rand,stijl,theme,tema,look,uiterlijk,gedrag,feel,layout,opmaak,button,knoppen,handle,rand,kwm,decoratie,windowmanager,venster,vensterbeheer,finster,râne,kader,styltema,uterlik,gedrach,finsterbehear -Keywords[ga]=kwin,fuinneog,bainisteoir,imlíne,stíl,téama,leagan amach,cnaipe,hanla,ciumhais,kwm,maisiúchán -Keywords[gl]=kwin,fiestra,xestor,beira,estilo,tema,apariencia,formato,botón,xestión,esquina,kwm,decoración -Keywords[he]=מנהל חלונות,חלונות,מנהל,גבול,מסגרת,סגנון,ערכה,ערכת נושא,מראה,תחושה,פריסה,תצוגה,כפתור,ידית,קצה,קישוט, kwin,window,manager,border,style,theme,look,feel,layout,button,handle, edge,kwm,decoration +Keywords[el]=twin,παράθυρο,διαχειριστής,περίγραμμα,στυλ,θέμα,εμφάνιση,αίσθηση,διάταξη,κουμπί,χειρισμός,άκρο,kwm,διακόσμηση +Keywords[eo]=twin,fenestro,administrilo,rando,stilo,etoso,aspekto,konduto,aranĝo,butono,eĝo,kwm,ornamo +Keywords[es]=twin,ventana,gestor,borde,estilo,tema,aspecto,comportamiento,disposición,botón,asa,esquina,kwm,decoración +Keywords[et]=twin,aken,haldur,piire,stiil,teema,välimus,kasutamine,nupud,serv,kwm,dekoratsioon +Keywords[eu]=twin,leihoa,kudeatzailea,ertza,estiloa,gaia,itxura,antolaketa,botoia, maneiatzailea,ertzea,kwm,dekorazioa +Keywords[fa]=twin، پنجره، مدیر، لبه، سبک، چهره، ظاهر، احساس، طرحبندی، دکمه، گرداندن، لبه، kwm، تزئین +Keywords[fi]=twin,ikkuna,ikkunaohjelma,ikkunoinnin hallintaohjelma,tausta,tyyli,teema,ulkonäkö,tuntuma,ulkoasu,painike,kahva,kulma,kwm,kehys +Keywords[fr]=twin,fenêtre,gestionnaire,bordure,style,thème,apparence,ergonomie,disposition,bouton,poignée,bord,kwm,décoration +Keywords[fy]=twin,window,manager,rand,stijl,theme,tema,look,uiterlijk,gedrag,feel,layout,opmaak,button,knoppen,handle,rand,kwm,decoratie,windowmanager,venster,vensterbeheer,finster,râne,kader,styltema,uterlik,gedrach,finsterbehear +Keywords[ga]=twin,fuinneog,bainisteoir,imlíne,stíl,téama,leagan amach,cnaipe,hanla,ciumhais,kwm,maisiúchán +Keywords[gl]=twin,fiestra,xestor,beira,estilo,tema,apariencia,formato,botón,xestión,esquina,kwm,decoración +Keywords[he]=מנהל חלונות,חלונות,מנהל,גבול,מסגרת,סגנון,ערכה,ערכת נושא,מראה,תחושה,פריסה,תצוגה,כפתור,ידית,קצה,קישוט, twin,window,manager,border,style,theme,look,feel,layout,button,handle, edge,kwm,decoration Keywords[hi]=के-विन,विंडो,प्रबंधक,बार्डर,शैली,प्रसंग,रूप,अनुभव,ले-आउट,बटन,हैंडल,किनारा,केडबल्यूएम,सजावट -Keywords[hr]=kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,prozor,upravljanje,obrub,stil,tema,izgled,raspored,gumb,rukovanje,rub,ukras +Keywords[hr]=twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,prozor,upravljanje,obrub,stil,tema,izgled,raspored,gumb,rukovanje,rub,ukras Keywords[hu]=KWin,ablak,kezelő,szegély,stílus,téma,kinézet,megjelenés,elrendezés,nyomógomb,fogantyú,perem,kwm,ablakstílus -Keywords[is]=kwin,gluggi,gluggastjóri,gluggar,kantar,rammi,skreyting,þema,stíll,útlit,takki,kwm,skraut -Keywords[it]=kwin,finestra,window manager,bordo,stile,tema,aspetto,pulsante,maniglia,bordo,kwm,decorazione -Keywords[ja]=kwin,ウィンドウ,マネージャ,枠,スタイル,テーマ,ルック,外観,レイアウト,ボタン,ハンドル,エッジ,kwm,装飾 -Keywords[km]=kwin,បង្អួច,កម្មវិធីគ្រប់គ្រង,ស៊ុម,រចនាប័ទ្ម,ស្បែក,មុខងារ,ប្លង់,ប៊ូតុង,ការប្រើ,គែម,kwm,ការតុបតែង -Keywords[lt]=kwin,window,manager,border,style,theme,look,feel,layout,buttons,handle,edge,kwm,decoration,langas,tvarkyklė,rėmelis,stilius,tema,žiūrėti,jausti,išdėstymas,mygtukai,kraštas,dekoracija -Keywords[lv]=kwin, logs, menedžeris, rāmis, stils, tēma, skats, gars, izkārtojums, poga, rokturis, stūris, kwm, dekorācija -Keywords[mk]=kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,прозорец,менаџер,граница,стил,тема,изглед,чувство,распоред,копче,рачка,раб,декорација +Keywords[is]=twin,gluggi,gluggastjóri,gluggar,kantar,rammi,skreyting,þema,stíll,útlit,takki,kwm,skraut +Keywords[it]=twin,finestra,window manager,bordo,stile,tema,aspetto,pulsante,maniglia,bordo,kwm,decorazione +Keywords[ja]=twin,ウィンドウ,マネージャ,枠,スタイル,テーマ,ルック,外観,レイアウト,ボタン,ハンドル,エッジ,kwm,装飾 +Keywords[km]=twin,បង្អួច,កម្មវិធីគ្រប់គ្រង,ស៊ុម,រចនាប័ទ្ម,ស្បែក,មុខងារ,ប្លង់,ប៊ូតុង,ការប្រើ,គែម,kwm,ការតុបតែង +Keywords[lt]=twin,window,manager,border,style,theme,look,feel,layout,buttons,handle,edge,kwm,decoration,langas,tvarkyklė,rėmelis,stilius,tema,žiūrėti,jausti,išdėstymas,mygtukai,kraštas,dekoracija +Keywords[lv]=twin, logs, menedžeris, rāmis, stils, tēma, skats, gars, izkārtojums, poga, rokturis, stūris, kwm, dekorācija +Keywords[mk]=twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,прозорец,менаџер,граница,стил,тема,изглед,чувство,распоред,копче,рачка,раб,декорација Keywords[mn]=KWin,Kwm,Цонх,Manager,Хүрээ,Design,Хэлбэр,Загвар, Optik,Харагдалт,Layout,Товч,Өнцөг,Засал -Keywords[mt]=kwin, window, manager, border, bordura, stil, tema, apparenza, style, theme, look, feel, layout, tqassim, użu, button, handle, edge, kwm, decoration -Keywords[nb]=kwin,vindu,vindusstyring,styrer,ramme,stil,tema,utseende,layout,knapp,kant,kwm,pynt,dekorasjon -Keywords[nds]=kwin,Finster,Finsterpleger,manager,Rahmen,Stil,Muster,look,feel,layout,Knoop,Greep,Rand,kwm,Dekoratschoon +Keywords[mt]=twin, window, manager, border, bordura, stil, tema, apparenza, style, theme, look, feel, layout, tqassim, użu, button, handle, edge, kwm, decoration +Keywords[nb]=twin,vindu,vindusstyring,styrer,ramme,stil,tema,utseende,layout,knapp,kant,kwm,pynt,dekorasjon +Keywords[nds]=twin,Finster,Finsterpleger,manager,Rahmen,Stil,Muster,look,feel,layout,Knoop,Greep,Rand,kwm,Dekoratschoon Keywords[ne]=के विन,सञ्झ्याल, प्रबन्धक, किनारा, शैली, विषयवस्तु, हेराइ, बुझाइ, सजावट, बटन, ह्यान्डल, छेउ,kwm, सजावट -Keywords[nl]=kwin,window,manager,rand,stijl,theme,thema,look,uiterlijk,gedrag,feel, layout,opmaak,button,knoppen,handle,rand,kwm,decoratie,windowmanager,venster,vensterbeheer -Keywords[nn]=kwin,vindauge,kant,bord,stil,tema,utsjånad,bunad,knapp,handtak,kwm,dekorasjon -Keywords[nso]=kwin,window,molaodi,mollwane,mokgwa,molaetsa,tebelego,maikutlo,peakanyo,setobetswa,moswaro,nthla,kwm,kgabiso -Keywords[pa]=kwin,handle,edge,kwm,decoration,ਝਰੋਖਾ,ਮੈਨੇਜਰ,ਹਾਸ਼ੀਆ,ਸ਼ੈਲੀ,ਸਰੂਪ,ਦਿੱਖ,ਖਾਕਾ,ਬਟਨ,ਹੈਂਡਲ,ਸਜਾਵਟ -Keywords[pl]=kwin,okno,menedżer,brzeg,styl,motyw,wygląd,zachowanie,układ,przycisk,uchwyt,krawędź,kwm,dekoracja -Keywords[pt]=kwin,janela,gestor,contorno,estilo,tema,aparência,comportamento,visual,botão,pega,extremo,kwm,decoração -Keywords[pt_BR]=kwin,janela,gerenciador,borda,estilo,tema,aparência,aparência,botão, gerenciador,borda,kwm,decoração -Keywords[ro]=kwin,fereastră,manager,margine,stil,tematică,aspect,comportament,format,buton,kwm,decorare -Keywords[rw]=kwin,idirishya,muyobozi,impera,imisusire,insanganyamatsiko,imboneko,kumva,imigaragarire,buto,ikirindi,impera,kwm,ugutaaka -Keywords[se]=kwin,láse,gieđahalli,ravda,stiila,fáddá,fárda,dovdu,hápmi,boallu,geavja,ravda,kwm,hearva -Keywords[sk]=kwin,okno,správa,okraj,štýl,téma,vzhľad,rozloženie,tlačidlo,hrana,kwm,dekorácia,oblasť -Keywords[sl]=kwin,okno,upravitelj,rob,meja,slog,stil,tema,pogled,občutek,gumb,ročaj,rob,kwm,okrasek -Keywords[sr]=kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,прозор,менаџер,оквир,стил,тема,изглед,дугме,хватаљка,декорација -Keywords[sr@Latn]=kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,prozor,menadžer,okvir,stil,tema,izgled,dugme,hvataljka,dekoracija -Keywords[sv]=kwin,fönster,hanterare,kant,stil,tema,utseende,känsla,layout,knapp,hantera,kant,kwm,dekoration -Keywords[ta]=kwin,சாளரம்,மேலாளர்,விளிம்பு,பாணி,தலைப்பு,பார்வை,உணர்தல்,உருவரை,விசை,கையாள்,முனை,kwm,அலங்கரிப்பு -Keywords[th]=kwin,หน้าต่าง,ตัวจัดการ,กรอบ,ลักษณะ,ชุดตกแต่ง,มองเห็น,รู้สึก,การจัดวาง,ปุ่ม,ที่จับ,ขอบ,kwm,การตกแต่ง -Keywords[tr]=kwin,pencere,yönetici,kenar,stil,tema,görünüş,doku,yerleşim,düğme,tutamaç,kenar,kwm,dekorasyon -Keywords[uk]=kwin,вікно,менеджер,границя,стиль,тема,вигляд,поведінка,розклад,кнопка,handle,край,kwm,обрамлення -Keywords[uz]=kwin,kwm,bezak,oyna,boshqaruvchi,usul,tashqi koʻrinish -Keywords[uz@cyrillic]=kwin,kwm,безак,ойна,бошқарувчи,усул,ташқи кўриниш -Keywords[ven]=kwin,windo,mulanguli,mukanoni,tshitaela,thero,sedza,upfa,vhuvha,bathene,fara,mafhedziselo,kwn,u khavhisedza -Keywords[vi]=kwin,cửa sổ,quản lý,bờ,kiểu,sắc thái,ngoại hình,cảm nhận,sắp xếp,nút,điều khiển,cạnh,kwm,trang trí -Keywords[wa]=kwin,kpurnea,purnea,manaedjeu,boird,stîle,tinme,rivnance,layout;loukance,boton,apougnî,costé,kwm,gåliotaedje -Keywords[xh]=kwin,window,umphathi,umda,uhlobo,umxholo wokuxoxwa,jonga,yiva,beka,iqhosha,umqheba,umda,kwm,uhombiso -Keywords[zh_CN]=kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,窗口,管理器,边框,样式,主题,观感,布局,按钮,处理,边缘,装饰 -Keywords[zh_TW]=kwin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,視窗,管理員,邊框,風格,佈景主題,外觀,感覺,佈局,按鈕,邊緣,裝飾 -Keywords[zu]=kwin,i-window,imenenja,umngcele,isitayela,bona,izwa, isendlalelo,inkinobho,isibambo,unqenqema,kwm,umhlobiso +Keywords[nl]=twin,window,manager,rand,stijl,theme,thema,look,uiterlijk,gedrag,feel, layout,opmaak,button,knoppen,handle,rand,kwm,decoratie,windowmanager,venster,vensterbeheer +Keywords[nn]=twin,vindauge,kant,bord,stil,tema,utsjånad,bunad,knapp,handtak,kwm,dekorasjon +Keywords[nso]=twin,window,molaodi,mollwane,mokgwa,molaetsa,tebelego,maikutlo,peakanyo,setobetswa,moswaro,nthla,kwm,kgabiso +Keywords[pa]=twin,handle,edge,kwm,decoration,ਝਰੋਖਾ,ਮੈਨੇਜਰ,ਹਾਸ਼ੀਆ,ਸ਼ੈਲੀ,ਸਰੂਪ,ਦਿੱਖ,ਖਾਕਾ,ਬਟਨ,ਹੈਂਡਲ,ਸਜਾਵਟ +Keywords[pl]=twin,okno,menedżer,brzeg,styl,motyw,wygląd,zachowanie,układ,przycisk,uchwyt,krawędź,kwm,dekoracja +Keywords[pt]=twin,janela,gestor,contorno,estilo,tema,aparência,comportamento,visual,botão,pega,extremo,kwm,decoração +Keywords[pt_BR]=twin,janela,gerenciador,borda,estilo,tema,aparência,aparência,botão, gerenciador,borda,kwm,decoração +Keywords[ro]=twin,fereastră,manager,margine,stil,tematică,aspect,comportament,format,buton,kwm,decorare +Keywords[rw]=twin,idirishya,muyobozi,impera,imisusire,insanganyamatsiko,imboneko,kumva,imigaragarire,buto,ikirindi,impera,kwm,ugutaaka +Keywords[se]=twin,láse,gieđahalli,ravda,stiila,fáddá,fárda,dovdu,hápmi,boallu,geavja,ravda,kwm,hearva +Keywords[sk]=twin,okno,správa,okraj,štýl,téma,vzhľad,rozloženie,tlačidlo,hrana,kwm,dekorácia,oblasť +Keywords[sl]=twin,okno,upravitelj,rob,meja,slog,stil,tema,pogled,občutek,gumb,ročaj,rob,kwm,okrasek +Keywords[sr]=twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,прозор,менаџер,оквир,стил,тема,изглед,дугме,хватаљка,декорација +Keywords[sr@Latn]=twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,prozor,menadžer,okvir,stil,tema,izgled,dugme,hvataljka,dekoracija +Keywords[sv]=twin,fönster,hanterare,kant,stil,tema,utseende,känsla,layout,knapp,hantera,kant,kwm,dekoration +Keywords[ta]=twin,சாளரம்,மேலாளர்,விளிம்பு,பாணி,தலைப்பு,பார்வை,உணர்தல்,உருவரை,விசை,கையாள்,முனை,kwm,அலங்கரிப்பு +Keywords[th]=twin,หน้าต่าง,ตัวจัดการ,กรอบ,ลักษณะ,ชุดตกแต่ง,มองเห็น,รู้สึก,การจัดวาง,ปุ่ม,ที่จับ,ขอบ,kwm,การตกแต่ง +Keywords[tr]=twin,pencere,yönetici,kenar,stil,tema,görünüş,doku,yerleşim,düğme,tutamaç,kenar,kwm,dekorasyon +Keywords[uk]=twin,вікно,менеджер,границя,стиль,тема,вигляд,поведінка,розклад,кнопка,handle,край,kwm,обрамлення +Keywords[uz]=twin,kwm,bezak,oyna,boshqaruvchi,usul,tashqi koʻrinish +Keywords[uz@cyrillic]=twin,kwm,безак,ойна,бошқарувчи,усул,ташқи кўриниш +Keywords[ven]=twin,windo,mulanguli,mukanoni,tshitaela,thero,sedza,upfa,vhuvha,bathene,fara,mafhedziselo,kwn,u khavhisedza +Keywords[vi]=twin,cửa sổ,quản lý,bờ,kiểu,sắc thái,ngoại hình,cảm nhận,sắp xếp,nút,điều khiển,cạnh,kwm,trang trí +Keywords[wa]=twin,kpurnea,purnea,manaedjeu,boird,stîle,tinme,rivnance,layout;loukance,boton,apougnî,costé,kwm,gåliotaedje +Keywords[xh]=twin,window,umphathi,umda,uhlobo,umxholo wokuxoxwa,jonga,yiva,beka,iqhosha,umqheba,umda,kwm,uhombiso +Keywords[zh_CN]=twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,窗口,管理器,边框,样式,主题,观感,布局,按钮,处理,边缘,装饰 +Keywords[zh_TW]=twin,window,manager,border,style,theme,look,feel,layout,button,handle,edge,kwm,decoration,視窗,管理員,邊框,風格,佈景主題,外觀,感覺,佈局,按鈕,邊緣,裝飾 +Keywords[zu]=twin,i-window,imenenja,umngcele,isitayela,bona,izwa, isendlalelo,inkinobho,isibambo,unqenqema,kwm,umhlobiso Categories=Qt;KDE;X-KDE-settings-looknfeel; diff --git a/kwin/kcmkwin/kwindecoration/kwindecoration.h b/kwin/kcmkwin/kwindecoration/kwindecoration.h index 53b3ed6ae..f6b535024 100644 --- a/kwin/kcmkwin/kwindecoration/kwindecoration.h +++ b/kwin/kcmkwin/kwindecoration/kwindecoration.h @@ -1,14 +1,14 @@ /* - This is the new kwindecoration kcontrol module + This is the new twindecoration kcontrol module Copyright (c) 2001 Karol Szwed <[email protected]> http://gallium.n3.net/ - Supports new kwin configuration plugins, and titlebar button position + Supports new twin configuration plugins, and titlebar button position modification via dnd interface. - Based on original "kwintheme" (Window Borders) + Based on original "twintheme" (Window Borders) Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> This program is free software; you can redistribute it and/or modify @@ -38,7 +38,7 @@ #include <kdecoration.h> -#include "kwindecorationIface.h" +#include "twindecorationIface.h" class KComboBox; class TQCheckBox; @@ -109,7 +109,7 @@ class KWinDecorationModule : public KCModule, virtual public KWinDecorationIface KDecorationPreview* preview; KDecorationPlugins* plugins; - KConfig kwinConfig; + KConfig twinConfig; TQCheckBox* cbUseCustomButtonPositions; // TQCheckBox* cbUseMiniWindows; diff --git a/kwin/kcmkwin/kwindecoration/kwindecorationIface.h b/kwin/kcmkwin/kwindecoration/kwindecorationIface.h index f45be6b7b..f50082648 100644 --- a/kwin/kcmkwin/kwindecoration/kwindecorationIface.h +++ b/kwin/kcmkwin/kwindecoration/kwindecorationIface.h @@ -1,14 +1,14 @@ /* - This is the new kwindecoration kcontrol module + This is the new twindecoration kcontrol module Copyright (c) 2001 Karol Szwed (gallium) <[email protected]> http://gallium.n3.net/ - Supports new kwin configuration plugins, and titlebar button position + Supports new twin configuration plugins, and titlebar button position modification via dnd interface. - Based on original "kwintheme" (Window Borders) + Based on original "twintheme" (Window Borders) Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> This program is free software; you can redistribute it and/or modify diff --git a/kwin/kcmkwin/kwindecoration/pixmaps.h b/kwin/kcmkwin/kwindecoration/pixmaps.h index 76f60b3e9..710e01425 100644 --- a/kwin/kcmkwin/kwindecoration/pixmaps.h +++ b/kwin/kcmkwin/kwindecoration/pixmaps.h @@ -1,15 +1,15 @@ /* - This is the new kwindecoration kcontrol module + This is the new twindecoration kcontrol module Copyright (c) 2004, Sandro Giessl <[email protected]> Copyright (c) 2001 Karol Szwed <[email protected]> http://gallium.n3.net/ - Supports new kwin configuration plugins, and titlebar button position + Supports new twin configuration plugins, and titlebar button position modification via dnd interface. - Based on original "kwintheme" (Window Borders) + Based on original "twintheme" (Window Borders) Copyright (C) 2001 Rik Hemsley (rikkus) <[email protected]> This program is free software; you can redistribute it and/or modify diff --git a/kwin/kcmkwin/kwindecoration/preview.cpp b/kwin/kcmkwin/kwindecoration/preview.cpp index ea894ecbc..ee8c59c75 100644 --- a/kwin/kcmkwin/kwindecoration/preview.cpp +++ b/kwin/kcmkwin/kwindecoration/preview.cpp @@ -454,7 +454,7 @@ KDecorationPreviewOptions::~KDecorationPreviewOptions() unsigned long KDecorationPreviewOptions::updateSettings() { - KConfig cfg( "kwinrc", true ); + KConfig cfg( "twinrc", true ); unsigned long changed = 0; changed |= d->updateKWinSettings( &cfg ); diff --git a/kwin/kcmkwin/kwinoptions/CMakeLists.txt b/kwin/kcmkwin/kwinoptions/CMakeLists.txt index b3caf6ec0..591883e21 100644 --- a/kwin/kcmkwin/kwinoptions/CMakeLists.txt +++ b/kwin/kcmkwin/kwinoptions/CMakeLists.txt @@ -23,17 +23,17 @@ link_directories( ##### other data ################################ -install( FILES kwinoptions.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES twinoptions.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) install( FILES - kwinactions.desktop kwinadvanced.desktop kwinfocus.desktop - kwinmoving.desktop kwintranslucency.desktop + twinactions.desktop twinadvanced.desktop twinfocus.desktop + twinmoving.desktop twintranslucency.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden ) -##### kcm_kwinoptions (module) ################## +##### kcm_twinoptions (module) ################## -tde_add_kpart( kcm_kwinoptions AUTOMOC +tde_add_kpart( kcm_twinoptions AUTOMOC SOURCES windows.cpp mouse.cpp main.cpp LINK tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} diff --git a/kwin/kcmkwin/kwinoptions/Makefile.am b/kwin/kcmkwin/kwinoptions/Makefile.am index 7dd897762..d2b4e6583 100644 --- a/kwin/kcmkwin/kwinoptions/Makefile.am +++ b/kwin/kcmkwin/kwinoptions/Makefile.am @@ -1,18 +1,18 @@ METASOURCES = AUTO INCLUDES = $(all_includes) -kde_module_LTLIBRARIES = kcm_kwinoptions.la +kde_module_LTLIBRARIES = kcm_twinoptions.la -kcm_kwinoptions_la_SOURCES = windows.cpp mouse.cpp main.cpp -kcm_kwinoptions_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined -kcm_kwinoptions_la_LIBADD = $(LIB_TDEUI) +kcm_twinoptions_la_SOURCES = windows.cpp mouse.cpp main.cpp +kcm_twinoptions_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined +kcm_twinoptions_la_LIBADD = $(LIB_TDEUI) noinst_HEADERS = windows.h mouse.h messages: $(XGETTEXT) *.cpp -o $(podir)/kcmkwm.pot -kwin_kcmkwin_options_data_DATA = kwinactions.desktop kwinadvanced.desktop kwinfocus.desktop kwinmoving.desktop kwintranslucency.desktop -kwin_kcmkwin_options_datadir = $(kde_appsdir)/.hidden +twin_kcmtwin_options_data_DATA = twinactions.desktop twinadvanced.desktop twinfocus.desktop twinmoving.desktop twintranslucency.desktop +twin_kcmtwin_options_datadir = $(kde_appsdir)/.hidden -xdg_apps_DATA = kwinoptions.desktop +xdg_apps_DATA = twinoptions.desktop diff --git a/kwin/kcmkwin/kwinoptions/kwinactions.desktop b/kwin/kcmkwin/kwinoptions/kwinactions.desktop index 61b58b06d..8f0b7b0ba 100644 --- a/kwin/kcmkwin/kwinoptions/kwinactions.desktop +++ b/kwin/kcmkwin/kwinoptions/kwinactions.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Icon=kcmkwm Type=Application -Exec=kcmshell kwinactions +Exec=kcmshell twinactions DocPath=kcontrol/windowmanagement/index.html#action-actions X-KDE-ModuleType=Library -X-KDE-Library=kwinoptions -X-KDE-FactoryName=kwinactions +X-KDE-Library=twinoptions +X-KDE-FactoryName=twinactions Name=Actions Name[af]=Aksies diff --git a/kwin/kcmkwin/kwinoptions/kwinadvanced.desktop b/kwin/kcmkwin/kwinoptions/kwinadvanced.desktop index e8b6b52e8..541f93e7f 100644 --- a/kwin/kcmkwin/kwinoptions/kwinadvanced.desktop +++ b/kwin/kcmkwin/kwinoptions/kwinadvanced.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Icon=kcmkwm Type=Application -Exec=kcmshell kwinadvanced +Exec=kcmshell twinadvanced DocPath=kcontrol/windowmanagement/index.html#action-advanced X-KDE-ModuleType=Library -X-KDE-Library=kwinoptions -X-KDE-FactoryName=kwinadvanced +X-KDE-Library=twinoptions +X-KDE-FactoryName=twinadvanced Name=Advanced Name[af]=Gevorderde diff --git a/kwin/kcmkwin/kwinoptions/kwinfocus.desktop b/kwin/kcmkwin/kwinoptions/kwinfocus.desktop index 115463654..541c82501 100644 --- a/kwin/kcmkwin/kwinoptions/kwinfocus.desktop +++ b/kwin/kcmkwin/kwinoptions/kwinfocus.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Icon=kcmkwm Type=Application -Exec=kcmshell kwinfocus +Exec=kcmshell twinfocus DocPath=kcontrol/windowmanagement/index.html#action-focus X-KDE-ModuleType=Library -X-KDE-Library=kwinoptions -X-KDE-FactoryName=kwinfocus +X-KDE-Library=twinoptions +X-KDE-FactoryName=twinfocus Name=Focus Name[af]=Fokus diff --git a/kwin/kcmkwin/kwinoptions/kwinmoving.desktop b/kwin/kcmkwin/kwinoptions/kwinmoving.desktop index 912418e0e..9ba6aec20 100644 --- a/kwin/kcmkwin/kwinoptions/kwinmoving.desktop +++ b/kwin/kcmkwin/kwinoptions/kwinmoving.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Icon=kcmkwm Type=Application -Exec=kcmshell kwinmoving +Exec=kcmshell twinmoving DocPath=kcontrol/windowmanagement/index.html#action-moving X-KDE-ModuleType=Library -X-KDE-Library=kwinoptions -X-KDE-FactoryName=kwinmoving +X-KDE-Library=twinoptions +X-KDE-FactoryName=twinmoving Name=Moving Name[af]=Beweeg diff --git a/kwin/kcmkwin/kwinoptions/kwinoptions.desktop b/kwin/kcmkwin/kwinoptions/kwinoptions.desktop index 23a222197..e520dcc88 100644 --- a/kwin/kcmkwin/kwinoptions/kwinoptions.desktop +++ b/kwin/kcmkwin/kwinoptions/kwinoptions.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Icon=kcmkwm Type=Application -Exec=kcmshell kwinoptions +Exec=kcmshell twinoptions DocPath=kcontrol/windowmanagement/index.html X-KDE-ModuleType=Library -X-KDE-Library=kwinoptions -X-KDE-FactoryName=kwinoptions +X-KDE-Library=twinoptions +X-KDE-FactoryName=twinoptions Name=Window Behavior Name[af]=Venster Gedrag diff --git a/kwin/kcmkwin/kwinoptions/kwintranslucency.desktop b/kwin/kcmkwin/kwinoptions/kwintranslucency.desktop index e45e5928a..591cab231 100644 --- a/kwin/kcmkwin/kwinoptions/kwintranslucency.desktop +++ b/kwin/kcmkwin/kwinoptions/kwintranslucency.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Icon=kcmkwm Type=Application -Exec=kcmshell kwintranslucency +Exec=kcmshell twintranslucency DocPath=kcontrol/windowmanagement/index.html#action-translucency X-KDE-ModuleType=Library -X-KDE-Library=kwinoptions -X-KDE-FactoryName=kwintranslucency +X-KDE-Library=twinoptions +X-KDE-FactoryName=twintranslucency Name=Translucency Name[af]=Deursigtigheid diff --git a/kwin/kcmkwin/kwinoptions/main.cpp b/kwin/kcmkwin/kwinoptions/main.cpp index 8c8a283f2..a10269eca 100644 --- a/kwin/kcmkwin/kwinoptions/main.cpp +++ b/kwin/kcmkwin/kwinoptions/main.cpp @@ -36,48 +36,48 @@ extern "C" { - KDE_EXPORT KCModule *create_kwinfocus(TQWidget *parent, const char *name) + KDE_EXPORT KCModule *create_twinfocus(TQWidget *parent, const char *name) { - //CT there's need for decision: kwm or kwin? + //CT there's need for decision: kwm or twin? KGlobal::locale()->insertCatalogue("kcmkwm"); - KConfig *c = new KConfig("kwinrc", false, true); + KConfig *c = new KConfig("twinrc", false, true); return new KFocusConfig(true, c, parent, name); } - KDE_EXPORT KCModule *create_kwinactions(TQWidget *parent, const char *name) + KDE_EXPORT KCModule *create_twinactions(TQWidget *parent, const char *name) { - //CT there's need for decision: kwm or kwin? + //CT there's need for decision: kwm or twin? KGlobal::locale()->insertCatalogue("kcmkwm"); return new KActionsOptions( parent, name); } - KDE_EXPORT KCModule *create_kwinmoving(TQWidget *parent, const char *name) + KDE_EXPORT KCModule *create_twinmoving(TQWidget *parent, const char *name) { - //CT there's need for decision: kwm or kwin? + //CT there's need for decision: kwm or twin? KGlobal::locale()->insertCatalogue("kcmkwm"); - KConfig *c = new KConfig("kwinrc", false, true); + KConfig *c = new KConfig("twinrc", false, true); return new KMovingConfig(true, c, parent, name); } - KDE_EXPORT KCModule *create_kwinadvanced(TQWidget *parent, const char *name) + KDE_EXPORT KCModule *create_twinadvanced(TQWidget *parent, const char *name) { - //CT there's need for decision: kwm or kwin? + //CT there's need for decision: kwm or twin? KGlobal::locale()->insertCatalogue("kcmkwm"); - KConfig *c = new KConfig("kwinrc", false, true); + KConfig *c = new KConfig("twinrc", false, true); return new KAdvancedConfig(true, c, parent, name); } - KDE_EXPORT KCModule *create_kwintranslucency(TQWidget *parent, const char *name) + KDE_EXPORT KCModule *create_twintranslucency(TQWidget *parent, const char *name) { - //CT there's need for decision: kwm or kwin? + //CT there's need for decision: kwm or twin? KGlobal::locale()->insertCatalogue("kcmkwm"); - KConfig *c = new KConfig("kwinrc", false, true); + KConfig *c = new KConfig("twinrc", false, true); return new KTranslucencyConfig(true, c, parent, name); } - KDE_EXPORT KCModule *create_kwinoptions ( TQWidget *parent, const char* name) + KDE_EXPORT KCModule *create_twinoptions ( TQWidget *parent, const char* name) { - //CT there's need for decision: kwm or kwin? + //CT there's need for decision: kwm or twin? KGlobal::locale()->insertCatalogue("kcmkwm"); return new KWinOptions( parent, name); } @@ -86,7 +86,7 @@ extern "C" KWinOptions::KWinOptions(TQWidget *parent, const char *name) : KCModule(parent, name) { - mConfig = new KConfig("kwinrc", false, true); + mConfig = new KConfig("twinrc", false, true); TQVBoxLayout *layout = new TQVBoxLayout(this); tab = new TQTabWidget(this); @@ -123,7 +123,7 @@ KWinOptions::KWinOptions(TQWidget *parent, const char *name) connect(mTranslucency, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool))); KAboutData *about = - new KAboutData(I18N_NOOP("kcmkwinoptions"), I18N_NOOP("Window Behavior Configuration Module"), + new KAboutData(I18N_NOOP("kcmtwinoptions"), I18N_NOOP("Window Behavior Configuration Module"), 0, 0, KAboutData::License_GPL, I18N_NOOP("(c) 1997 - 2002 KWin and KControl Authors")); @@ -167,11 +167,11 @@ void KWinOptions::save() mTranslucency->save(); emit KCModule::changed( false ); - // Send signal to kwin + // Send signal to twin mConfig->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } @@ -204,7 +204,7 @@ void KWinOptions::moduleChanged(bool state) KActionsOptions::KActionsOptions(TQWidget *parent, const char *name) : KCModule(parent, name) { - mConfig = new KConfig("kwinrc", false, true); + mConfig = new KConfig("twinrc", false, true); TQVBoxLayout *layout = new TQVBoxLayout(this); tab = new TQTabWidget(this); @@ -240,11 +240,11 @@ void KActionsOptions::save() mWindowActions->save(); emit KCModule::changed( false ); - // Send signal to kwin + // Send signal to twin mConfig->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } diff --git a/kwin/kcmkwin/kwinoptions/mouse.cpp b/kwin/kcmkwin/kwinoptions/mouse.cpp index 30c18383c..30692d87f 100644 --- a/kwin/kcmkwin/kwinoptions/mouse.cpp +++ b/kwin/kcmkwin/kwinoptions/mouse.cpp @@ -565,7 +565,7 @@ void KTitleBarActionsConfig::save() config->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } } @@ -839,7 +839,7 @@ void KWindowActionsConfig::save() config->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } } diff --git a/kwin/kcmkwin/kwinoptions/windows.cpp b/kwin/kcmkwin/kwinoptions/windows.cpp index 30d0791e8..80185a427 100644 --- a/kwin/kcmkwin/kwinoptions/windows.cpp +++ b/kwin/kcmkwin/kwinoptions/windows.cpp @@ -53,7 +53,7 @@ #include "windows.h" -// kwin config keywords +// twin config keywords #define KWIN_FOCUS "FocusPolicy" #define KWIN_PLACEMENT "Placement" #define KWIN_MOVE "MoveMode" @@ -535,7 +535,7 @@ void KFocusConfig::save( void ) config->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } emit KCModule::changed(false); } @@ -762,7 +762,7 @@ void KAdvancedConfig::save( void ) config->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } emit KCModule::changed(false); } @@ -907,7 +907,7 @@ KMovingConfig::KMovingConfig (bool _standAlone, KConfig *_config, TQWidget *pare placementCombo->insertItem(i18n("Random"), RANDOM_PLACEMENT); placementCombo->insertItem(i18n("Centered"), CENTERED_PLACEMENT); placementCombo->insertItem(i18n("Zero-Cornered"), ZEROCORNERED_PLACEMENT); - // CT: disabling is needed as long as functionality misses in kwin + // CT: disabling is needed as long as functionality misses in twin //placementCombo->insertItem(i18n("Interactive"), INTERACTIVE_PLACEMENT); //placementCombo->insertItem(i18n("Manual"), MANUAL_PLACEMENT); placementCombo->setCurrentItem(SMART_PLACEMENT); @@ -1098,7 +1098,7 @@ void KMovingConfig::load( void ) setMinimizeAnim( anim ); setMinimizeAnimSpeed( animSpeed ); - // DF: please keep the default consistent with kwin (options.cpp line 145) + // DF: please keep the default consistent with twin (options.cpp line 145) key = config->readEntry(KWIN_RESIZE_OPAQUE, "Opaque"); if( key == "Opaque") setResizeOpaque(RESIZE_OPAQUE); @@ -1219,7 +1219,7 @@ void KMovingConfig::save( void ) config->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } emit KCModule::changed(false); } @@ -1232,7 +1232,7 @@ void KMovingConfig::defaults() setPlacement(SMART_PLACEMENT); setMoveResizeMaximized(false); - //copied from kcontrol/konq/kwindesktop, aleXXX + //copied from kcontrol/konq/twindesktop, aleXXX setWindowSnapZone(KWM_WNDW_SNAP_ZONE_DEFAULT); setBorderSnapZone(KWM_BRDR_SNAP_ZONE_DEFAULT); OverlapSnap->setChecked(false); @@ -1277,7 +1277,7 @@ KTranslucencyConfig::KTranslucencyConfig (bool _standAlone, KConfig *_config, TQ KActiveLabel *label = new KActiveLabel(i18n("<qt><b>It seems that alpha channel support is not available.</b><br><br>" "Please make sure you have " "<a href=\"http://www.freedesktop.org/\">Xorg ≥ 6.8</a>," - " and installed the kompmgr that came with kwin.<br>" + " and installed the kompmgr that came with twin.<br>" "Also, make sure you have the following entries in your XConfig (e.g. /etc/X11/xorg.conf):<br><br>" "<i>Section \"Extensions\"<br>" "Option \"Composite\" \"Enable\"<br>" @@ -1636,7 +1636,7 @@ void KTranslucencyConfig::save( void ) config->sync(); if ( !kapp->dcopClient()->isAttached() ) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } if (useTranslucency->isChecked()) startKompmgr(); diff --git a/kwin/kcmkwin/kwinoptions/windows.h b/kwin/kcmkwin/kwinoptions/windows.h index 57ac7163e..e3b81d07a 100644 --- a/kwin/kcmkwin/kwinoptions/windows.h +++ b/kwin/kcmkwin/kwinoptions/windows.h @@ -200,7 +200,7 @@ public: private slots: void shadeHoverChanged(bool); - //copied from kcontrol/konq/kwindesktop, aleXXX + //copied from kcontrol/konq/twindesktop, aleXXX void setEBorders(); void changed() { emit KCModule::changed(true); } diff --git a/kwin/kcmkwin/kwinrules/CMakeLists.txt b/kwin/kcmkwin/kwinrules/CMakeLists.txt index d505cf709..29aa24e4e 100644 --- a/kwin/kcmkwin/kwinrules/CMakeLists.txt +++ b/kwin/kcmkwin/kwinrules/CMakeLists.txt @@ -13,7 +13,7 @@ add_definitions( -DKCMRULES ) include_directories( ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_SOURCE_DIR}/kwin/lib + ${CMAKE_SOURCE_DIR}/twin/lib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) @@ -24,30 +24,30 @@ link_directories( ##### other data ################################ -install( FILES kwinrules.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES twinrules.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -##### kcm_kwinrules (module) #################### +##### kcm_twinrules (module) #################### -tde_add_kpart( kcm_kwinrules AUTOMOC +tde_add_kpart( kcm_twinrules AUTOMOC SOURCES kcm.cpp - LINK kwinrules-static + LINK twinrules-static DESTINATION ${PLUGIN_INSTALL_DIR} ) -##### kwin_rules_dialog (tdeinit) ############### +##### twin_rules_dialog (tdeinit) ############### -tde_add_tdeinit_executable( kwin_rules_dialog +tde_add_tdeinit_executable( twin_rules_dialog SOURCES main.cpp - LINK ${TQT_LIBRARIES} kwinrules-static ) + LINK ${TQT_LIBRARIES} twinrules-static ) -##### kwinrules (static) ######################## +##### twinrules (static) ######################## -set( target kwinrules ) +set( target twinrules ) set( ${target}_SRCS - ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp + ruleswidget.cpp ruleslist.cpp twinsrc.cpp detectwidget.cpp ruleswidgetbase.ui ruleslistbase.ui detectwidgetbase.ui editshortcutbase.ui ) diff --git a/kwin/kcmkwin/kwinrules/Makefile.am b/kwin/kcmkwin/kwinrules/Makefile.am index 6fe4b8108..c9e7c7beb 100644 --- a/kwin/kcmkwin/kwinrules/Makefile.am +++ b/kwin/kcmkwin/kwinrules/Makefile.am @@ -1,29 +1,29 @@ METASOURCES = AUTO AM_CPPFLAGS = $(all_includes) -DKCMRULES -INCLUDES = -I$(top_srcdir)/kwin/lib +INCLUDES = -I$(top_srcdir)/twin/lib bin_PROGRAMS = lib_LTLIBRARIES = -tdeinit_LTLIBRARIES = kwin_rules_dialog.la -kde_module_LTLIBRARIES = kcm_kwinrules.la -noinst_LTLIBRARIES = libkwinrules.la +tdeinit_LTLIBRARIES = twin_rules_dialog.la +kde_module_LTLIBRARIES = kcm_twinrules.la +noinst_LTLIBRARIES = libtwinrules.la -libkwinrules_la_SOURCES = ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp \ +libtwinrules_la_SOURCES = ruleswidget.cpp ruleslist.cpp twinsrc.cpp detectwidget.cpp \ ruleswidgetbase.ui ruleslistbase.ui detectwidgetbase.ui editshortcutbase.ui -libkwinrules_la_LDFLAGS = $(all_libraries) -no-undefined -libkwinrules_la_LIBADD = $(LIB_TDEUI) +libtwinrules_la_LDFLAGS = $(all_libraries) -no-undefined +libtwinrules_la_LIBADD = $(LIB_TDEUI) -kcm_kwinrules_la_SOURCES = kcm.cpp -kcm_kwinrules_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined -kcm_kwinrules_la_LIBADD = libkwinrules.la -kcm_kwinrules_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h +kcm_twinrules_la_SOURCES = kcm.cpp +kcm_twinrules_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined +kcm_twinrules_la_LIBADD = libtwinrules.la +kcm_twinrules_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h -kwin_rules_dialog_la_SOURCES = main.cpp -kwin_rules_dialog_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined -kwin_rules_dialog_la_LIBADD = libkwinrules.la -kwin_rules_dialog_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h +twin_rules_dialog_la_SOURCES = main.cpp +twin_rules_dialog_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined +twin_rules_dialog_la_LIBADD = libtwinrules.la +twin_rules_dialog_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h messages: rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/kcmkwinrules.pot + $(XGETTEXT) *.cpp -o $(podir)/kcmtwinrules.pot -xdg_apps_DATA = kwinrules.desktop +xdg_apps_DATA = twinrules.desktop diff --git a/kwin/kcmkwin/kwinrules/detectwidget.cpp b/kwin/kcmkwin/kwinrules/detectwidget.cpp index c30ae24ff..d82836868 100644 --- a/kwin/kcmkwin/kwinrules/detectwidget.cpp +++ b/kwin/kcmkwin/kwinrules/detectwidget.cpp @@ -21,7 +21,7 @@ #include <kapplication.h> #include <klocale.h> #include <kdebug.h> -#include <kwin.h> +#include <twin.h> #include <tqlabel.h> #include <tqradiobutton.h> #include <tqcheckbox.h> diff --git a/kwin/kcmkwin/kwinrules/detectwidget.h b/kwin/kcmkwin/kwinrules/detectwidget.h index 9a2cca3d2..75e725f5f 100644 --- a/kwin/kcmkwin/kwinrules/detectwidget.h +++ b/kwin/kcmkwin/kwinrules/detectwidget.h @@ -23,7 +23,7 @@ #include "detectwidgetbase.h" #include <kdialogbase.h> -#include <kwin.h> +#include <twin.h> #include "../../rules.h" diff --git a/kwin/kcmkwin/kwinrules/kcm.cpp b/kwin/kcmkwin/kwinrules/kcm.cpp index 90802c41d..c7cdc7587 100644 --- a/kwin/kcmkwin/kwinrules/kcm.cpp +++ b/kwin/kcmkwin/kwinrules/kcm.cpp @@ -28,10 +28,10 @@ #include "ruleslist.h" extern "C" - KDE_EXPORT KCModule *create_kwinrules( TQWidget *parent, const char *name ) + KDE_EXPORT KCModule *create_twinrules( TQWidget *parent, const char *name ) { - //CT there's need for decision: kwm or kwin? - KGlobal::locale()->insertCatalogue( "kcmkwinrules" ); + //CT there's need for decision: kwm or twin? + KGlobal::locale()->insertCatalogue( "kcmtwinrules" ); return new KWinInternal::KCMRules( parent, name ); } @@ -40,13 +40,13 @@ namespace KWinInternal KCMRules::KCMRules( TQWidget *parent, const char *name ) : KCModule( parent, name ) -, config( "kwinrulesrc" ) +, config( "twinrulesrc" ) { TQVBoxLayout *layout = new TQVBoxLayout( this ); widget = new KCMRulesList( this ); layout->addWidget( TQT_TQWIDGET(widget) ); connect( widget, TQT_SIGNAL( changed( bool )), TQT_SLOT( moduleChanged( bool ))); - KAboutData *about = new KAboutData(I18N_NOOP( "kcmkwinrules" ), + KAboutData *about = new KAboutData(I18N_NOOP( "kcmtwinrules" ), I18N_NOOP( "Window-Specific Settings Configuration Module" ), 0, 0, KAboutData::License_GPL, I18N_NOOP( "(c) 2004 KWin and KControl Authors" )); about->addAuthor("Lubos Lunak",0,"[email protected]"); @@ -64,11 +64,11 @@ void KCMRules::save() { widget->save(); emit KCModule::changed( false ); - // Send signal to kwin + // Send signal to twin config.sync(); if( !kapp->dcopClient()->isAttached()) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); } void KCMRules::defaults() diff --git a/kwin/kcmkwin/kwinrules/kwinrules.desktop b/kwin/kcmkwin/kwinrules/kwinrules.desktop index 245994a8a..9d82ea38a 100644 --- a/kwin/kcmkwin/kwinrules/kwinrules.desktop +++ b/kwin/kcmkwin/kwinrules/kwinrules.desktop @@ -1,12 +1,12 @@ [Desktop Entry] Icon=kcmkwm Type=Application -Exec=kcmshell kwinrules +Exec=kcmshell twinrules DocPath=kcontrol/windowmanagement/index.html X-KDE-ModuleType=Library -X-KDE-Library=kwinrules -X-KDE-FactoryName=kwinrules +X-KDE-Library=twinrules +X-KDE-FactoryName=twinrules Name=Window-Specific Settings Name[af]=Venser spesifike Instellings diff --git a/kwin/kcmkwin/kwinrules/kwinsrc.cpp b/kwin/kcmkwin/kwinrules/kwinsrc.cpp index 38f48e003..fb901efb6 100644 --- a/kwin/kcmkwin/kwinrules/kwinsrc.cpp +++ b/kwin/kcmkwin/kwinrules/kwinsrc.cpp @@ -1,4 +1,4 @@ -// Include some code from kwin core in order to avoid +// Include some code from twin core in order to avoid // double implementation. #include "ruleslist.h" diff --git a/kwin/kcmkwin/kwinrules/main.cpp b/kwin/kcmkwin/kwinrules/main.cpp index 4ed26a9e6..db3a9fc48 100644 --- a/kwin/kcmkwin/kwinrules/main.cpp +++ b/kwin/kcmkwin/kwinrules/main.cpp @@ -21,7 +21,7 @@ #include <dcopclient.h> #include <kconfig.h> #include <klocale.h> -#include <kwin.h> +#include <twin.h> #include <X11/Xlib.h> #include <fixx11h.h> @@ -34,7 +34,7 @@ namespace KWinInternal static void loadRules( TQValueList< Rules* >& rules ) { - KConfig cfg( "kwinrulesrc", true ); + KConfig cfg( "twinrulesrc", true ); cfg.setGroup( "General" ); int count = cfg.readNumEntry( "count" ); for( int i = 1; @@ -49,7 +49,7 @@ static void loadRules( TQValueList< Rules* >& rules ) static void saveRules( const TQValueList< Rules* >& rules ) { - KConfig cfg( "kwinrulesrc" ); + KConfig cfg( "twinrulesrc" ); TQStringList groups = cfg.groupList(); for( TQStringList::ConstIterator it = groups.begin(); it != groups.end(); @@ -258,7 +258,7 @@ static int edit( Window wid, bool whole_app ) saveRules( rules ); if( !kapp->dcopClient()->isAttached()) kapp->dcopClient()->attach(); - kapp->dcopClient()->send("kwin*", "", "reconfigure()", TQString("")); + kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString("")); return 0; } @@ -275,8 +275,8 @@ static const KCmdLineOptions options[] = extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] ) { - KLocale::setMainCatalogue( "kcmkwinrules" ); - KCmdLineArgs::init( argc, argv, "kwin_rules_dialog", I18N_NOOP( "KWin" ), + KLocale::setMainCatalogue( "kcmtwinrules" ); + KCmdLineArgs::init( argc, argv, "twin_rules_dialog", I18N_NOOP( "KWin" ), I18N_NOOP( "KWin helper utility" ), "1.0" ); KCmdLineArgs::addCmdLineOptions( options ); KApplication app; diff --git a/kwin/kcmkwin/kwinrules/ruleslist.cpp b/kwin/kcmkwin/kwinrules/ruleslist.cpp index e525e472f..29e02549d 100644 --- a/kwin/kcmkwin/kwinrules/ruleslist.cpp +++ b/kwin/kcmkwin/kwinrules/ruleslist.cpp @@ -150,7 +150,7 @@ void KCMRulesList::load() ++it ) delete *it; rules.clear(); - KConfig cfg( "kwinrulesrc", true ); + KConfig cfg( "twinrulesrc", true ); cfg.setGroup( "General" ); int count = cfg.readNumEntry( "count" ); rules.reserve( count ); @@ -171,7 +171,7 @@ void KCMRulesList::load() void KCMRulesList::save() { - KConfig cfg( "kwinrulesrc" ); + KConfig cfg( "twinrulesrc" ); TQStringList groups = cfg.groupList(); for( TQStringList::ConstIterator it = groups.begin(); it != groups.end(); diff --git a/kwin/kcmkwin/kwinrules/ruleswidget.cpp b/kwin/kcmkwin/kwinrules/ruleswidget.cpp index 7a82a8149..cfe96458e 100644 --- a/kwin/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kwin/kcmkwin/kwinrules/ruleswidget.cpp @@ -24,7 +24,7 @@ #include <tqcheckbox.h> #include <kpushbutton.h> #include <tqlabel.h> -#include <kwinmodule.h> +#include <twinmodule.h> #include <klocale.h> #include <tqregexp.h> #include <tqwhatsthis.h> diff --git a/kwin/kcmkwin/kwinrules/ruleswidget.h b/kwin/kcmkwin/kwinrules/ruleswidget.h index b47ad88ab..2a9b0d036 100644 --- a/kwin/kcmkwin/kwinrules/ruleswidget.h +++ b/kwin/kcmkwin/kwinrules/ruleswidget.h @@ -21,7 +21,7 @@ #define __RULESWIDGET_H__ #include <kdialogbase.h> -#include <kwin.h> +#include <twin.h> #include <kshortcutdialog.h> #include "ruleswidgetbase.h" diff --git a/kwin/killer/CMakeLists.txt b/kwin/killer/CMakeLists.txt index 4fd991d40..5a7b36918 100644 --- a/kwin/killer/CMakeLists.txt +++ b/kwin/killer/CMakeLists.txt @@ -19,9 +19,9 @@ link_directories( ) -##### kwin_killer_helper (executable) ########### +##### twin_killer_helper (executable) ########### -tde_add_executable( kwin_killer_helper +tde_add_executable( twin_killer_helper SOURCES killer.cpp LINK tdeui-shared DESTINATION ${BIN_INSTALL_DIR} diff --git a/kwin/killer/Makefile.am b/kwin/killer/Makefile.am index b55ee7b8c..cd396bde7 100644 --- a/kwin/killer/Makefile.am +++ b/kwin/killer/Makefile.am @@ -1,9 +1,9 @@ INCLUDES = $(all_includes) -bin_PROGRAMS = kwin_killer_helper +bin_PROGRAMS = twin_killer_helper -kwin_killer_helper_SOURCES = killer.cpp -kwin_killer_helper_LDADD = $(LIB_TDEUI) -kwin_killer_helper_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +twin_killer_helper_SOURCES = killer.cpp +twin_killer_helper_LDADD = $(LIB_TDEUI) +twin_killer_helper_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor METASOURCES = AUTO diff --git a/kwin/killer/killer.cpp b/kwin/killer/killer.cpp index d348e48ff..716b829cc 100644 --- a/kwin/killer/killer.cpp +++ b/kwin/killer/killer.cpp @@ -28,7 +28,7 @@ DEALINGS IN THE SOFTWARE. #include <kprocess.h> #include <klocale.h> #include <unistd.h> -#include <kwin.h> +#include <twin.h> #include <X11/Xlib.h> static const KCmdLineOptions options[] = @@ -45,8 +45,8 @@ static const KCmdLineOptions options[] = int main( int argc, char* argv[] ) { - KLocale::setMainCatalogue( "kwin" ); // the messages are in kwin's .po file - KCmdLineArgs::init( argc, argv, "kwin_killer_helper", I18N_NOOP( "KWin" ), + KLocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file + KCmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "KWin" ), I18N_NOOP( "KWin helper utility" ), "1.0" ); KCmdLineArgs::addCmdLineOptions( options ); KApplication app; diff --git a/kwin/kwin.kcfg b/kwin/kwin.kcfg index 63749c1f8..4962c1d95 100644 --- a/kwin/kwin.kcfg +++ b/kwin/kwin.kcfg @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > - <kcfgfile name="kwinrc" /> + <kcfgfile name="twinrc" /> <group name="Desktops" > <entry key="Name_1" type="String" /> <entry key="Name_2" type="String" /> diff --git a/kwin/kwinbindings.cpp b/kwin/kwinbindings.cpp index 45a927f48..265e5b8e9 100644 --- a/kwin/kwinbindings.cpp +++ b/kwin/kwinbindings.cpp @@ -15,7 +15,7 @@ // some shortcuts have Tarzan-speech like names, they need extra normal human descriptions with DEF2() // the others can use DEF() - keys->insert( "Program:kwin", i18n("System") ); + keys->insert( "Program:twin", i18n("System") ); keys->insert( "Group:Navigation", i18n("Navigation") ); DEF( I18N_NOOP("Walk Through Windows"), ALT+Qt::Key_Tab, ALT+Qt::Key_Tab, slotWalkThroughWindows() ); diff --git a/kwin/layers.cpp b/kwin/layers.cpp index 7f6c90378..773ea2d58 100644 --- a/kwin/layers.cpp +++ b/kwin/layers.cpp @@ -149,7 +149,7 @@ void Workspace::propagateClients( bool propagate_new_clients ) // Stack all windows under the support window. The support window is // not used for anything (besides the NETWM property), and it's not shown, - // but it was lowered after kwin startup. Stacking all clients below + // but it was lowered after twin startup. Stacking all clients below // it ensures that no client will be ever shown above override-redirect // windows (e.g. popups). #if 0 @@ -717,7 +717,7 @@ bool Workspace::keepTransientAbove( const Client* mainwindow, const Client* tran return false; // This is rather a hack for #76026. Don't keep non-modal dialogs above // the mainwindow, but only if they're group transient (since only such dialogs - // have taskbar entry in Kicker). A proper way of doing this (both kwin and kicker) + // have taskbar entry in Kicker). A proper way of doing this (both twin and kicker) // needs to be found. if( transient->isDialog() && !transient->isModal() && transient->groupTransient()) return false; diff --git a/kwin/lib/Makefile.am b/kwin/lib/Makefile.am index 1ded5c5d8..af19b7df3 100644 --- a/kwin/lib/Makefile.am +++ b/kwin/lib/Makefile.am @@ -1,4 +1,4 @@ -# FRAME libkwin??? +# FRAME libtwin??? lib_LTLIBRARIES = libtdecorations.la libtdecorations_la_SOURCES = kdecoration.cpp kdecoration_p.cpp kdecoration_plugins_p.cpp \ @@ -16,5 +16,5 @@ METASOURCES = AUTO include ../../admin/Doxyfile.am messages: rc.cpp - $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kwin_lib.pot + $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/twin_lib.pot -rm rc.cpp diff --git a/kwin/lib/kdecoration.h b/kwin/lib/kdecoration.h index 37dc3f69a..ae3c58e28 100644 --- a/kwin/lib/kdecoration.h +++ b/kwin/lib/kdecoration.h @@ -582,7 +582,7 @@ class KWIN_EXPORT KDecoration // mustn't do any repaints, resizes or anything like that virtual void borders( int& left, int& right, int& top, int& bottom ) const = 0; /** - * This method is called by kwin when the style should resize the decoration window. + * This method is called by twin when the style should resize the decoration window. * The usual implementation is to resize the main widget of the decoration to the * given size. * diff --git a/kwin/lib/kdecoration_plugins_p.cpp b/kwin/lib/kdecoration_plugins_p.cpp index 0490e4755..a7b12ab85 100644 --- a/kwin/lib/kdecoration_plugins_p.cpp +++ b/kwin/lib/kdecoration_plugins_p.cpp @@ -42,7 +42,7 @@ KDecorationPlugins::KDecorationPlugins( KConfig* cfg ) fact( NULL ), old_library( NULL ), old_fact( NULL ), - pluginStr( "kwin3_undefined " ), + pluginStr( "twin3_undefined " ), config( cfg ) { } @@ -98,9 +98,9 @@ bool KDecorationPlugins::loadPlugin( TQString nameStr ) KConfigGroupSaver saver( config, "Style" ); nameStr = config->readEntry("PluginLib", defaultPlugin ); } - // make sure people can switch between HEAD and kwin_iii branch - if( nameStr.startsWith( "kwin_" )) - nameStr = "kwin3_" + nameStr.mid( 5 ); + // make sure people can switch between HEAD and twin_iii branch + if( nameStr.startsWith( "twin_" )) + nameStr = "twin3_" + nameStr.mid( 5 ); KLibrary *oldLibrary = library; KDecorationFactory* oldFactory = fact; @@ -114,7 +114,7 @@ bool KDecorationPlugins::loadPlugin( TQString nameStr ) path = KLibLoader::findLibrary(TQFile::encodeName(nameStr)); } - // If no library was found, exit kwin with an error message + // If no library was found, exit twin with an error message if (path.isEmpty()) { error( i18n("No window decoration plugin library was found." )); @@ -167,14 +167,14 @@ bool KDecorationPlugins::loadPlugin( TQString nameStr ) // For clients in kdeartwork TQString catalogue = nameStr; - catalogue.replace( "kwin3_", "kwin_" ); + catalogue.replace( "twin3_", "twin_" ); KGlobal::locale()->insertCatalogue( catalogue ); // For KCommonDecoration based clients - KGlobal::locale()->insertCatalogue( "kwin_lib" ); + KGlobal::locale()->insertCatalogue( "twin_lib" ); // For clients in kdebase - KGlobal::locale()->insertCatalogue( "kwin_clients" ); + KGlobal::locale()->insertCatalogue( "twin_clients" ); // For clients in kdeartwork - KGlobal::locale()->insertCatalogue( "kwin_art_clients" ); + KGlobal::locale()->insertCatalogue( "twin_art_clients" ); old_library = oldLibrary; // save for delayed destroying old_fact = oldFactory; diff --git a/kwin/main.cpp b/kwin/main.cpp index efd788ad6..c30dc3601 100644 --- a/kwin/main.cpp +++ b/kwin/main.cpp @@ -60,7 +60,7 @@ int x11ErrorHandler(Display *d, XErrorEvent *e) ) && (e->error_code == BadAccess)) { - fputs(i18n("kwin: it looks like there's already a window manager running. kwin not started.\n").local8Bit(), stderr); + fputs(i18n("twin: it looks like there's already a window manager running. twin not started.\n").local8Bit(), stderr); exit(1); } @@ -71,11 +71,11 @@ int x11ErrorHandler(Display *d, XErrorEvent *e) sprintf(number, "%d", e->request_code); XGetErrorDatabaseText(d, "XRequest", number, "<unknown>", req, sizeof(req)); - fprintf(stderr, "kwin: %s(0x%lx): %s\n", req, e->resourceid, msg); + fprintf(stderr, "twin: %s(0x%lx): %s\n", req, e->resourceid, msg); if (initting) { - fputs(i18n("kwin: failure during initialization; aborting").local8Bit(), stderr); + fputs(i18n("twin: failure during initialization; aborting").local8Bit(), stderr); exit(1); } return 0; @@ -116,9 +116,9 @@ Application::Application( ) int format; unsigned long n, left; unsigned char *data; - Atom kwinRunningAtom = XInternAtom (dpy, "_KDE_WM_IS_KWIN", True); + Atom twinRunningAtom = XInternAtom (dpy, "_KDE_WM_IS_KWIN", True); - int result = XGetWindowProperty (dpy, w, kwinRunningAtom, 0L, 1L, False, + int result = XGetWindowProperty (dpy, w, twinRunningAtom, 0L, 1L, False, XA_ATOM, &actual, &format, &n, &left, &data); @@ -129,25 +129,25 @@ Application::Application( ) XFree ( (void *) data); if( !owner.claim( true, true )) { - fputs(i18n("kwin: unable to claim manager selection, another wm running? (try using --replace)\n").local8Bit(), stderr); + fputs(i18n("twin: unable to claim manager selection, another wm running? (try using --replace)\n").local8Bit(), stderr); ::exit(1); } } else { - fputs(i18n("kwin: unable to claim manager selection, another wm running? (try using --replace)\n").local8Bit(), stderr); + fputs(i18n("twin: unable to claim manager selection, another wm running? (try using --replace)\n").local8Bit(), stderr); ::exit(1); } } else { - fputs(i18n("kwin: unable to claim manager selection, another wm running? (try using --replace)\n").local8Bit(), stderr); + fputs(i18n("twin: unable to claim manager selection, another wm running? (try using --replace)\n").local8Bit(), stderr); ::exit(1); } } connect( &owner, TQT_SIGNAL( lostOwnership()), TQT_SLOT( lostSelection())); - // if there was already kwin running, it saved its configuration after loosing the selection -> reread + // if there was already twin running, it saved its configuration after loosing the selection -> reread config()->reparseConfiguration(); initting = TRUE; // startup.... @@ -253,7 +253,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] ) if (! restored) { // we only do the multihead fork if we are not restored by the session - // manager, since the session manager will register multiple kwins, + // manager, since the session manager will register multiple twins, // one for each screen... TQCString multiHead = getenv("KDE_MULTIHEAD"); if (multiHead.lower() == "true") @@ -282,7 +282,7 @@ KDE_EXPORT int kdemain( int argc, char * argv[] ) { for (int i = 0; i < number_of_screens; i++ ) { - // if execution doesn't pass by here, then kwin + // if execution doesn't pass by here, then twin // acts exactly as previously if ( i != KWinInternal::screen_number && fork() == 0 ) { @@ -307,9 +307,9 @@ KDE_EXPORT int kdemain( int argc, char * argv[] ) } } - KGlobal::locale()->setMainCatalogue("kwin"); + KGlobal::locale()->setMainCatalogue("twin"); - KAboutData aboutData( "kwin", I18N_NOOP("KWin"), + KAboutData aboutData( "twin", I18N_NOOP("KWin"), version, description, KAboutData::License_GPL, I18N_NOOP("(c) 1999-2005, The KDE Developers")); aboutData.addAuthor("Matthias Ettrich",0, "[email protected]"); @@ -336,9 +336,9 @@ KDE_EXPORT int kdemain( int argc, char * argv[] ) TQCString appname; if (KWinInternal::screen_number == 0) - appname = "kwin"; + appname = "twin"; else - appname.sprintf("kwin-screen-%d", KWinInternal::screen_number); + appname.sprintf("twin-screen-%d", KWinInternal::screen_number); DCOPClient* client = a.dcopClient(); client->registerAs( appname.data(), false); diff --git a/kwin/oldheaders/CMakeLists.txt b/kwin/oldheaders/CMakeLists.txt index fa5995850..d14ace573 100644 --- a/kwin/oldheaders/CMakeLists.txt +++ b/kwin/oldheaders/CMakeLists.txt @@ -10,5 +10,5 @@ ################################################# install( FILES - options.h client.h workspace.h kwinbutton.h - DESTINATION ${INCLUDE_INSTALL_DIR}/kwin ) + options.h client.h workspace.h twinbutton.h + DESTINATION ${INCLUDE_INSTALL_DIR}/twin ) diff --git a/kwin/oldheaders/Makefile.am b/kwin/oldheaders/Makefile.am index 2dd570c5f..7076d9e13 100644 --- a/kwin/oldheaders/Makefile.am +++ b/kwin/oldheaders/Makefile.am @@ -1,2 +1,2 @@ -kwin_kwinincludedir = $(includedir)/kwin -kwin_kwininclude_HEADERS = options.h client.h workspace.h kwinbutton.h +twin_twinincludedir = $(includedir)/twin +twin_twininclude_HEADERS = options.h client.h workspace.h twinbutton.h diff --git a/kwin/oldheaders/client.h b/kwin/oldheaders/client.h index 89db145b2..cff5cdb61 100644 --- a/kwin/oldheaders/client.h +++ b/kwin/oldheaders/client.h @@ -1,4 +1,4 @@ #error The KWin decorations API provided by this header file is obsolete. #error All code using it will have to be ported to the new KDecoration API. -// See kdebase/kwin/clients/PORTING . +// See kdebase/twin/clients/PORTING . diff --git a/kwin/oldheaders/kwinbutton.h b/kwin/oldheaders/kwinbutton.h index 89db145b2..cff5cdb61 100644 --- a/kwin/oldheaders/kwinbutton.h +++ b/kwin/oldheaders/kwinbutton.h @@ -1,4 +1,4 @@ #error The KWin decorations API provided by this header file is obsolete. #error All code using it will have to be ported to the new KDecoration API. -// See kdebase/kwin/clients/PORTING . +// See kdebase/twin/clients/PORTING . diff --git a/kwin/oldheaders/options.h b/kwin/oldheaders/options.h index 89db145b2..cff5cdb61 100644 --- a/kwin/oldheaders/options.h +++ b/kwin/oldheaders/options.h @@ -1,4 +1,4 @@ #error The KWin decorations API provided by this header file is obsolete. #error All code using it will have to be ported to the new KDecoration API. -// See kdebase/kwin/clients/PORTING . +// See kdebase/twin/clients/PORTING . diff --git a/kwin/oldheaders/workspace.h b/kwin/oldheaders/workspace.h index 89db145b2..cff5cdb61 100644 --- a/kwin/oldheaders/workspace.h +++ b/kwin/oldheaders/workspace.h @@ -1,4 +1,4 @@ #error The KWin decorations API provided by this header file is obsolete. #error All code using it will have to be ported to the new KDecoration API. -// See kdebase/kwin/clients/PORTING . +// See kdebase/twin/clients/PORTING . diff --git a/kwin/pics/CMakeLists.txt b/kwin/pics/CMakeLists.txt index 928efb718..e9068f5d9 100644 --- a/kwin/pics/CMakeLists.txt +++ b/kwin/pics/CMakeLists.txt @@ -13,4 +13,4 @@ install( FILES close.png maximize.png maximizedown.png menu.png iconify.png pindown.png pinup.png unknown.png fog.png fog-grey.png bluesun.png greenie.light.png greenie.dim.png - DESTINATION ${DATA_INSTALL_DIR}/kwin/pics ) + DESTINATION ${DATA_INSTALL_DIR}/twin/pics ) diff --git a/kwin/pics/Makefile.am b/kwin/pics/Makefile.am index 8558a612c..29967b69e 100644 --- a/kwin/pics/Makefile.am +++ b/kwin/pics/Makefile.am @@ -1,9 +1,9 @@ -kwin_pics_data_DATA = close.png maximize.png maximizedown.png menu.png \ +twin_pics_data_DATA = close.png maximize.png maximizedown.png menu.png \ iconify.png pindown.png pinup.png unknown.png fog.png \ fog-grey.png bluesun.png greenie.light.png greenie.dim.png -kwin_pics_datadir = $(kde_datadir)/kwin/pics +twin_pics_datadir = $(kde_datadir)/twin/pics -EXTRA_DIST = $(kwin_pics_data_DATA) +EXTRA_DIST = $(twin_pics_data_DATA) diff --git a/kwin/placement.cpp b/kwin/placement.cpp index a9862ce27..84be2e0b8 100644 --- a/kwin/placement.cpp +++ b/kwin/placement.cpp @@ -132,7 +132,7 @@ void Placement::placeSmart(Client* c, const TQRect& area, Policy /*next*/ ) { /* * SmartPlacement by Cristian Tibirna ([email protected]) - * adapted for kwm (16-19jan98) and for kwin (16Nov1999) using (with + * adapted for kwm (16-19jan98) and for twin (16Nov1999) using (with * permission) ideas from fvwm, authored by * Anthony Martin ([email protected]). * Xinerama supported added by Balaji Ramani ([email protected]) @@ -435,7 +435,7 @@ void Placement::placeZeroCornered(Client* c, const TQRect& area, Policy /*next*/ void Placement::placeUtility(Client* c, TQRect& area, Policy /*next*/ ) { -// TODO kwin should try to place utility windows next to their mainwindow, +// TODO twin should try to place utility windows next to their mainwindow, // preferably at the right edge, and going down if there are more of them // if there's not enough place outside the mainwindow, it should prefer // top-right corner diff --git a/kwin/plugins.cpp b/kwin/plugins.cpp index 75e7b3498..c1c1a4d40 100644 --- a/kwin/plugins.cpp +++ b/kwin/plugins.cpp @@ -23,7 +23,7 @@ PluginMgr::PluginMgr() : KDecorationPlugins( KGlobal::config()) { defaultPlugin = (TQPixmap::defaultDepth() > 8) ? - "kwin3_plastik" : "kwin3_quartz"; + "twin3_plastik" : "twin3_quartz"; loadPlugin( "" ); // load the plugin specified in cfg file } diff --git a/kwin/rules.cpp b/kwin/rules.cpp index 41489e3cd..f3479f48f 100644 --- a/kwin/rules.cpp +++ b/kwin/rules.cpp @@ -877,7 +877,7 @@ void Client::finishWindowRules() } void Client::checkAndSetInitialRuledOpacity() -//apply kwin-rules for window-translucency upon hitting apply or starting to manage client +//apply twin-rules for window-translucency upon hitting apply or starting to manage client { int tmp; @@ -950,7 +950,7 @@ void Workspace::editWindowRules( Client* c, bool whole_app ) args << "--wid" << TQString::number( c->window()); if( whole_app ) args << "--whole-app"; - KApplication::tdeinitExec( "kwin_rules_dialog", args ); + KApplication::tdeinitExec( "twin_rules_dialog", args ); } void Workspace::loadWindowRules() @@ -960,7 +960,7 @@ void Workspace::loadWindowRules() delete rules.front(); rules.pop_front(); } - KConfig cfg( "kwinrulesrc", true ); + KConfig cfg( "twinrulesrc", true ); cfg.setGroup( "General" ); int count = cfg.readNumEntry( "count" ); for( int i = 1; @@ -976,7 +976,7 @@ void Workspace::loadWindowRules() void Workspace::writeWindowRules() { rulesUpdatedTimer.stop(); - KConfig cfg( "kwinrulesrc" ); + KConfig cfg( "twinrulesrc" ); TQStringList groups = cfg.groupList(); for( TQStringList::ConstIterator it = groups.begin(); it != groups.end(); diff --git a/kwin/rules.h b/kwin/rules.h index 992487e73..061f0ce80 100644 --- a/kwin/rules.h +++ b/kwin/rules.h @@ -30,7 +30,7 @@ namespace KWinInternal class Client; class Rules; -#ifndef KCMRULES // only for kwin core +#ifndef KCMRULES // only for twin core class WindowRules : public KDecorationDefines diff --git a/kwin/tabbox.cpp b/kwin/tabbox.cpp index 19f6560a1..4ca33a04f 100644 --- a/kwin/tabbox.cpp +++ b/kwin/tabbox.cpp @@ -38,7 +38,7 @@ License. See the file "COPYING" for the exact licensing terms. namespace KWinInternal { -extern TQPixmap* kwin_get_menu_pix_hack(); +extern TQPixmap* twin_get_menu_pix_hack(); TabBox::TabBox( Workspace *ws, const char *name ) : TQFrame( 0, name, TQt::WNoAutoErase ), current_client( NULL ), wspace(ws) @@ -375,7 +375,7 @@ void TabBox::drawContents( TQPainter * ) TQPainter p; p.tqbegin(&pix, this); - TQPixmap* menu_pix = kwin_get_menu_pix_hack(); + TQPixmap* menu_pix = twin_get_menu_pix_hack(); int iconWidth = showMiniIcon ? 16 : 32; int x = 0; diff --git a/kwin/tools/decobenchmark/main.cpp b/kwin/tools/decobenchmark/main.cpp index ca3ce11d2..59a6e6762 100644 --- a/kwin/tools/decobenchmark/main.cpp +++ b/kwin/tools/decobenchmark/main.cpp @@ -39,7 +39,7 @@ static KCmdLineOptions options[] = { - { "+decoration", "Decoration library to use, such as kwin3_plastik.", 0 }, + { "+decoration", "Decoration library to use, such as twin3_plastik.", 0 }, { "+tests", "Which test should be executed ('all', 'tqrepaint', 'caption', 'resize', 'recreation')", 0 }, { "+repetitions", "Number of test repetitions.", 0 }, { 0, 0, 0 } @@ -49,10 +49,10 @@ DecoBenchApplication::DecoBenchApplication(const TQString &library, Tests tests, m_tests(tests), m_count(count) { - KConfig kwinConfig("kwinrc"); - kwinConfig.setGroup("Style"); + KConfig twinConfig("twinrc"); + twinConfig.setGroup("Style"); - plugins = new KDecorationPreviewPlugins( &kwinConfig ); + plugins = new KDecorationPreviewPlugins( &twinConfig ); preview = new KDecorationPreview( plugins, 0 ); if (plugins->loadPlugin(library) ) @@ -101,7 +101,7 @@ int main(int argc, char** argv) { TQString style = "keramik"; // KApplication app(argc, argv); - KAboutData about("decobenchmark", "DecoBenchmark", "0.1", "kwin decoration performance tester...", KAboutData::License_LGPL, "(C) 2005 Sandro Giessl"); + KAboutData about("decobenchmark", "DecoBenchmark", "0.1", "twin decoration performance tester...", KAboutData::License_LGPL, "(C) 2005 Sandro Giessl"); KCmdLineArgs::init(argc, argv, &about); KCmdLineArgs::addCmdLineOptions( options ); diff --git a/kwin/tools/decobenchmark/preview.cpp b/kwin/tools/decobenchmark/preview.cpp index 50a12fb24..ec870abe5 100644 --- a/kwin/tools/decobenchmark/preview.cpp +++ b/kwin/tools/decobenchmark/preview.cpp @@ -397,7 +397,7 @@ KDecorationPreviewOptions::~KDecorationPreviewOptions() unsigned long KDecorationPreviewOptions::updateSettings() { - KConfig cfg( "kwinrc", true ); + KConfig cfg( "twinrc", true ); unsigned long changed = 0; changed |= d->updateKWinSettings( &cfg ); diff --git a/kwin/useractions.cpp b/kwin/useractions.cpp index d1b3b1f55..7f7136724 100644 --- a/kwin/useractions.cpp +++ b/kwin/useractions.cpp @@ -258,7 +258,7 @@ void Workspace::initShortcuts() disable_shortcuts_keys = new KGlobalAccel( this ); disable_shortcuts_keys->disableBlocking( true ); #define IN_KWIN -#include "kwinbindings.cpp" +#include "twinbindings.cpp" readShortcuts(); } @@ -1023,7 +1023,7 @@ void Workspace::slotWindowOperations() void Workspace::showWindowMenu( const TQRect &pos, Client* cl ) { - if (!kapp->authorizeKAction("kwin_rmb")) + if (!kapp->authorizeKAction("twin_rmb")) return; if( !cl ) return; diff --git a/kwin/utils.cpp b/kwin/utils.cpp index de422f40e..608b4bed3 100644 --- a/kwin/utils.cpp +++ b/kwin/utils.cpp @@ -47,8 +47,8 @@ namespace KWinInternal // used to store the return values of // XShapeQueryExtension. // Necessary since tqshaped window are an extension to X -int Shape::kwin_tqshape_version = 0; -int Shape::kwin_tqshape_event = 0; +int Shape::twin_tqshape_version = 0; +int Shape::twin_tqshape_event = 0; // does the window w need a tqshape combine mask around it? bool Shape::hasShape( WId w) @@ -66,19 +66,19 @@ bool Shape::hasShape( WId w) int Shape::tqshapeEvent() { - return kwin_tqshape_event; + return twin_tqshape_event; } void Shape::init() { - kwin_tqshape_version = 0; + twin_tqshape_version = 0; int dummy; - if( !XShapeQueryExtension(qt_xdisplay(), &kwin_tqshape_event, &dummy)) + if( !XShapeQueryExtension(qt_xdisplay(), &twin_tqshape_event, &dummy)) return; int major, minor; if( !XShapeQueryVersion( qt_xdisplay(), &major, &minor )) return; - kwin_tqshape_version = major * 0x10 + minor; + twin_tqshape_version = major * 0x10 + minor; } void Motif::readFlags( WId w, bool& noborder, bool& resize, bool& move, @@ -263,7 +263,7 @@ void updateXTime() if ( !w ) w = new TQWidget; long data = 1; - XChangeProperty(qt_xdisplay(), w->winId(), atoms->kwin_running, atoms->kwin_running, 32, + XChangeProperty(qt_xdisplay(), w->winId(), atoms->twin_running, atoms->twin_running, 32, PropModeAppend, (unsigned char*) &data, 1); next_x_time = CurrentTime; XEvent dummy; diff --git a/kwin/utils.h b/kwin/utils.h index 4521eeaa7..e8271e174 100644 --- a/kwin/utils.h +++ b/kwin/utils.h @@ -111,14 +111,14 @@ enum ShadeMode class Shape { public: - static bool available() { return kwin_tqshape_version > 0; } - static int version() { return kwin_tqshape_version; } // as 16*major+minor, i.e. two hex digits + static bool available() { return twin_tqshape_version > 0; } + static int version() { return twin_tqshape_version; } // as 16*major+minor, i.e. two hex digits static bool hasShape( WId w); static int tqshapeEvent(); static void init(); private: - static int kwin_tqshape_version; - static int kwin_tqshape_event; + static int twin_tqshape_version; + static int twin_tqshape_event; }; // compile with XShape older than 1.0 diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp index 06b8bdc8a..44045838c 100644 --- a/kwin/workspace.cpp +++ b/kwin/workspace.cpp @@ -193,8 +193,8 @@ Workspace::Workspace( bool restore ) XChangeProperty( qt_xdisplay(), qt_xrootwin(), - atoms->kwin_running, - atoms->kwin_running, + atoms->twin_running, + atoms->twin_running, 32, PropModeAppend, (unsigned char*) &data, @@ -501,7 +501,7 @@ Workspace::~Workspace() delete kompmgr; blockStackingUpdates( true ); // TODO grabXServer(); - // use stacking_order, so that kwin --replace keeps stacking order + // use stacking_order, so that twin --replace keeps stacking order for( ClientList::ConstIterator it = stacking_order.begin(); it != stacking_order.end(); ++it ) @@ -519,7 +519,7 @@ Workspace::~Workspace() delete popupinfo; delete popup; if ( root == qt_xrootwin() ) - XDeleteProperty(qt_xdisplay(), qt_xrootwin(), atoms->kwin_running); + XDeleteProperty(qt_xdisplay(), qt_xrootwin(), atoms->twin_running); writeWindowRules(); KGlobal::config()->sync(); @@ -1209,11 +1209,11 @@ void Workspace::saveDesktopSettings() TQStringList Workspace::configModules(bool controlCenter) { TQStringList args; - args << "kde-kwindecoration.desktop"; + args << "kde-twindecoration.desktop"; if (controlCenter) - args << "kde-kwinoptions.desktop"; - else if (kapp->authorizeControlModule("kde-kwinoptions.desktop")) - args << "kwinactions" << "kwinfocus" << "kwinmoving" << "kwinadvanced" << "kwinrules" << "kwintranslucency"; + args << "kde-twinoptions.desktop"; + else if (kapp->authorizeControlModule("kde-twinoptions.desktop")) + args << "twinactions" << "twinfocus" << "twinmoving" << "twinadvanced" << "twinrules" << "twintranslucency"; return args; } @@ -2670,11 +2670,11 @@ void Workspace::helperDialog( const TQString& message, const Client* c ) proc << "kdialog" << args; if( !type.isEmpty()) { - KConfig cfg( "kwin_dialogsrc" ); + KConfig cfg( "twin_dialogsrc" ); cfg.setGroup( "Notification Messages" ); // this depends on KMessageBox if( !cfg.readBoolEntry( type, true )) // has don't show again checked return; // save launching kdialog - proc << "--dontagain" << "kwin_dialogsrc:" + type; + proc << "--dontagain" << "twin_dialogsrc:" + type; } if( c != NULL ) proc << "--embed" << TQString::number( c->window()); @@ -2928,7 +2928,7 @@ void Workspace::setShowingDesktop( bool showing ) // A new window resets the state and shows the windows again, with the new window // being active. Due to popular demand (#67406) by people who apparently // don't see a difference between "show desktop" and "minimize all", this is not -// true if "showDesktopIsMinimizeAll" is set in kwinrc. In such case showing +// true if "showDesktopIsMinimizeAll" is set in twinrc. In such case showing // a new window resets the state but doesn't show windows. void Workspace::resetShowingDesktop( bool keep_hidden ) { @@ -2974,14 +2974,14 @@ void Workspace::disableGlobalShortcutsForClient( bool disable ) if( disable ) pending_dfc = true; KIPC::sendMessageAll( KIPC::BlockShortcuts, disable ); - // kwin will get the kipc message too + // twin will get the kipc message too } } void Workspace::disableGlobalShortcuts( bool disable ) { KIPC::sendMessageAll( KIPC::BlockShortcuts, disable ); - // kwin will get the kipc message too + // twin will get the kipc message too } void Workspace::kipcMessage( int id, int data ) |