Rename kwin to twin (part 1 of 2)

pull/2/head
Timothy Pearson 12 years ago
parent 6354e6b3ba
commit 43d99cc247

@ -87,7 +87,7 @@ option( BUILD_DOC "Build doc" ${BUILD_ALL} )
option( BUILD_LIBKONQ "Build libkonq" ${BUILD_ALL} )
option( BUILD_KCMINIT "Build kcminit" ${BUILD_ALL} )
option( BUILD_KCONTROL "Build kcontrol" ${BUILD_ALL} )
option( BUILD_KWIN "Build kwin" ${BUILD_ALL} )
option( BUILD_KWIN "Build twin" ${BUILD_ALL} )
option( BUILD_KATE "Build kate" ${BUILD_ALL} )
option( BUILD_KONQUEROR "Build konqueror" ${BUILD_ALL} )
option( BUILD_KIOSLAVES "Build kioslaves" ${BUILD_ALL} )
@ -161,7 +161,7 @@ tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_LIBKONQ libkonq )
tde_conditional_add_subdirectory( BUILD_KCMINIT kcminit )
add_subdirectory( kcontrol )
tde_conditional_add_subdirectory( BUILD_KWIN kwin )
tde_conditional_add_subdirectory( BUILD_KWIN twin )
tde_conditional_add_subdirectory( BUILD_KATE kate )
tde_conditional_add_subdirectory( BUILD_KONQUEROR konqueror )
tde_conditional_add_subdirectory( BUILD_KIOSLAVES kioslave )

@ -44,7 +44,7 @@ if( WITH_HAL )
endif( )
# xrender (kdesktop, konsole, kcontrol, kicker, kwin)
# xrender (kdesktop, konsole, kcontrol, kicker, twin)
if( WITH_XRENDER OR BUILD_KDESKTOP OR BUILD_KONSOLE OR BUILD_KCONTROL OR BUILD_KICKER )
pkg_search_module( XRENDER xrender )
if( XRENDER_FOUND )
@ -66,7 +66,7 @@ if( WITH_XCURSOR )
endif( )
# xcomposite (kicker, kwin)
# xcomposite (kicker, twin)
if( WITH_XCOMPOSITE )
pkg_search_module( XCOMPOSITE xcomposite )
if( XCOMPOSITE_FOUND )
@ -88,7 +88,7 @@ if( WITH_XFIXES )
endif( )
# xdamage (kwin/kompmgr)
# xdamage (twin/kompmgr)
if( WITH_XDAMAGE )
pkg_search_module( XDAMAGE xdamage )
if( NOT XDAMAGE_FOUND )
@ -97,7 +97,7 @@ if( WITH_XDAMAGE )
endif( )
# xext (kwin/kompmgr)
# xext (twin/kompmgr)
if( WITH_XEXT )
pkg_search_module( XEXT xext )
if( NOT XEXT_FOUND )

@ -133,7 +133,7 @@ libraries. Here is an overview of the directories:
* ktip
Gives you tips how to use KDE.
* kwin
* twin
The KDE window manager (moves, resizes and decorates windows).
* kxkb

@ -45,7 +45,7 @@ particular the &gcc; compiler.</para>
</question>
<answer>
<para>No, &kde; is not a window manager. While &kde; includes a very
sophisticated window manager (&kwin;), &kde; is much more than that.
sophisticated window manager (&twin;), &kde; is much more than that.
It is a full-blown Integrated Desktop Environment.</para>
<para>&kde; provides a complete desktop environment, including a web
browser, a file manager, a window manager, a help system, a

@ -15,7 +15,7 @@
<para>Does &kde; support transparency and other visual effects provided by the new composite extension to X.org?</para>
</question>
<answer>
<para> Yes! An exciting new feature for &kde; 3.4 is support for the new X composite extension. This allows for effects such as translucency and drop shadows for all windows, easily configurable through &kwin;'s configuration dialog. This requires you to be using X.org version 6.8.0 or newer and have:
<para> Yes! An exciting new feature for &kde; 3.4 is support for the new X composite extension. This allows for effects such as translucency and drop shadows for all windows, easily configurable through &twin;'s configuration dialog. This requires you to be using X.org version 6.8.0 or newer and have:
<screen>
Section "Extensions"

@ -10,14 +10,14 @@
<title>The window manager</title>
<para>The default window manager provided by &kde; is the K Window
Manager (&kwin;). Please read <quote>The
Manager (&twin;). Please read <quote>The
K Window Manager Handbook</quote> (which should be accessible from the
<application>&kde; Help Center</application>) for usage information.</para>
<qandaset>
<qandaentry>
<question>
<para>Are there keyboard shortcuts for &kwin; operations?</para>
<para>Are there keyboard shortcuts for &twin; operations?</para>
</question>
<answer>
<para>Yes. Please refer to "The K Window Manager Handbook" for the
@ -58,7 +58,7 @@ Iconified tasks will have their names displayed in gray.</para>
</listitem>
<listitem>
<para>If you click the &MMB; on the root window (&ie;,
the background of the desktop), &kwin; will give you a list
the background of the desktop), &twin; will give you a list
of all available tasks.</para>
</listitem>
</itemizedlist>

@ -9,4 +9,4 @@
#
#################################################
tde_create_handbook( DESTINATION kcontrol/kwindecoration )
tde_create_handbook( DESTINATION kcontrol/twindecoration )

@ -1,2 +1,2 @@
KDE_LANG = en
KDE_DOCS = kcontrol/kwindecoration
KDE_DOCS = kcontrol/twindecoration

@ -19,7 +19,7 @@
<keywordset>
<keyword>KDE</keyword>
<keyword>KControl</keyword>
<keyword>kwin</keyword>
<keyword>twin</keyword>
<keyword>window</keyword>
<keyword>border</keyword>
<keyword>theme</keyword>

@ -32,7 +32,7 @@ some windows.</para>
<note>
<para>Please note that this configuration will not take effect if you
do not use &kwin; as your window manager. If you do use a different
do not use &twin; as your window manager. If you do use a different
window manager, please refer to its documentation for how to customize
window behavior.</para>
</note>

@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kappname "kompmgr">
<!ENTITY package "kwin">
<!ENTITY package "twin">
<!ENTITY % English "INCLUDE">
<!ENTITY % addindex "IGNORE">
]>
@ -30,7 +30,7 @@
<releaseinfo>2.0.1</releaseinfo>
<abstract>
<para>&kappname; is a composite rendering engine to be used by &kwin;.</para>
<para>&kappname; is a composite rendering engine to be used by &twin;.</para>
<para>This document is rather a general explanation of what it does,
how it works and what the restrictions are than a documentation how to use
it (as it works in the background automatically).</para>
@ -38,7 +38,7 @@ it (as it works in the background automatically).</para>
<keywordset>
<keyword>KDE</keyword>
<keyword>kwin</keyword>
<keyword>twin</keyword>
<keyword>render engine</keyword>
</keywordset>
</bookinfo>

@ -252,7 +252,7 @@ mouse buttons.</para>
<term><guilabel>Window Behavior</guilabel></term>
<listitem>
<para>This is where you would configure options related to the behavior of
&kde;'s window manager, &kwin;. &kwin; is extremely configurable and has
&kde;'s window manager, &twin;. &twin; is extremely configurable and has
advanced features such as focus stealing prevention and different focus
policies such as focus follows mouse. You can also configure what actions
you would like to bind to certain keys and mouse events.</para>

@ -118,7 +118,7 @@ to apply effects such as translucency. Window decorations must be able to do all
these without sacrificing speed and performance. This is the reason why window
decorations come in source code that must be compiled, or as binary packages
that must be installed. Basically, Window decorations are plugins or small
programs that instruct &kwin;, &kde;'s Window Manager,
programs that instruct &twin;, &kde;'s Window Manager,
how to display window frames.</para>
<para>In order to add a new window decoration, you need to compile it from
@ -153,7 +153,7 @@ while this may be unnoticeable on very fast systems.</para>
<para>To add an IceWM theme, select IceWM as the window decoration and click on
the <guilabel>Open &kde;'s IceWM theme folder</guilabel> link in the window
decoration description area. This will open a &konqueror; window
to <filename>$<envar>KDEHOME</envar>/share/apps/kwin/icewm-themes</filename>.
to <filename>$<envar>KDEHOME</envar>/share/apps/twin/icewm-themes</filename>.
Extract your IceWM theme to this folder. The theme will then be added to
the list of IceWM themes. Select the theme you want to use and click on
<guibutton>Apply</guibutton>.</para>

@ -1135,7 +1135,7 @@ at the time the session was saved. Sessions are stored in the
references to application-specific state information. The
application-specific state information is saved in <filename
class="directory">$<envar>KDEHOME</envar>/share/config/session</filename>.
The state information of &kwin; contains the location of the application
The state information of &twin; contains the location of the application
windows of all the other applications in the session.
</para>
@ -1184,7 +1184,7 @@ class="username">root</systemitem>.</para>
<varlistentry><term>$<envar>KDEWM</envar></term><listitem><para>If the
<envar>KDEWM</envar> environment variable has been set, then it will
be used as &kde;'s window manager within the
<command>startkde</command> script instead of &kwin;.</para>
<command>startkde</command> script instead of &twin;.</para>
</listitem>
</varlistentry>

@ -381,13 +381,13 @@ the one with the <guiicon>Next Page</guiicon> picture on it.
</step>
<step>
<para>In the <guilabel>Command/URL Settings</guilabel> tab, enter the
command to run in the field: <userinput><command>dcop kwin default
command to run in the field: <userinput><command>dcop twin default
nextDesktop</command></userinput></para>
</step>
</procedure>
<para>Repeat the above with the <keysym>Prev_Virtual_Screen</keysym> key and
<userinput><command>dcop kwin default
<userinput><command>dcop twin default
previousDesktop</command></userinput>.</para>
<para>Now pressing the <keysym>Prev_Virtual_Screen</keysym> or

@ -492,7 +492,7 @@ Comment[uz@cyrillic]=Дастурнинг иши SIGABRT сигнали била
Comment[ven]==Apulikhesheni i fhela nga luswayo lwa SIGABRT musi i tshi sedzulusa mifhirifhiri ya nga mgomu yo vhangwaho nga baga kha mbekanyamushumo.
Comment[vi]=Một chương trình bị dừng bởi một tín hiệu SIGABRT khi nó tìm ra một mâu thuẫn nội bộ gây ra bởi lỗi nào đó.
Comment[wa]=On programe a fini avou on signå SIGABRT cwand il a trové ene divintrinne inconsistance a cåze d' on bug dins l' programe.
Comment[xh]=Isicelo sicinywa ngophawu lwe SIGABRT xa sibona ukungahambisalani kwangaphakathi okwenziwa ligciwane kwinkqubo.
Comment[xh]=Isicelo sicinywa ngophawu lwe SIGABRT xa sibona ukungahambisalani kwangaphakathi okwenziwa ligciwane twinkqubo.
Comment[zh_CN]=程序在检测到缺陷引起的内部不一致时,以 SIGABRT 信号中止。
Comment[zh_TW]=程式偵測發生到內部錯誤時,以 SIGABRT 信號中止。
Comment[zu]=Umyaleli wekhompyutha unqamuka ngophawu lwe-SIGABRT uma ecosha ukungahambisani kwangaphakathi okubangwe igciwane elisohlelweni lwemisebenzi.

@ -279,7 +279,7 @@
* kateconsole.* konsole/* : add kateconsole widget
2001-02-16 Anders Lund <anders@alweb.dk>
* katemainwindow.cpp :fixing read/write options to use maindockwindow functions.
* katemainwindow.cpp :fixing read/write options to use maindoctwindow functions.
2001-02-15 Joseph Wenninger <jowenn@kde.org>
* kateview.cpp : Tab doesn't jump to next widget anymore, but inserts a tab into the text

@ -33,7 +33,7 @@
#include <kcmdlineargs.h>
#include <dcopclient.h>
#include <kconfig.h>
#include <kwin.h>
#include <twin.h>
#include <ktip.h>
#include <kdebug.h>
#include <klibloader.h>

@ -57,7 +57,7 @@
#include <ksimpleconfig.h>
#include <kstdaction.h>
#include <kstandarddirs.h>
#include <kwin.h>
#include <twin.h>
#include <kseparator.h>
KateConfigDialog::KateConfigDialog ( KateMainWindow *parent, Kate::View *view )

@ -40,7 +40,7 @@
#include <kmessagebox.h>
#include <kencodingfiledialog.h>
#include <kio/job.h>
#include <kwin.h>
#include <twin.h>
#include <tqdatetime.h>
#include <tqtextcodec.h>

@ -20,7 +20,7 @@
#include <netwm.h>
#include <kshortcut.h>
#include <kkeynative.h>
#include <kwin.h>
#include <twin.h>
#include <X11/XKBlib.h>
#define XK_MISCELLANY

@ -7,7 +7,7 @@
#include <kuniqueapplication.h>
#include <kwinmodule.h>
#include <twinmodule.h>
#include <X11/Xlib.h>

@ -38,7 +38,7 @@
#include <kmessagebox.h>
#include <kpixmap.h>
#include <kstandarddirs.h>
#include <kwin.h>
#include <twin.h>
#include "bgrender.h"
#include "bgadvanced.h"

@ -52,8 +52,8 @@
#include <kstandarddirs.h>
#include <kstringhandler.h>
#include <kurlrequester.h>
#include <kwin.h>
#include <kwinmodule.h>
#include <twin.h>
#include <twinmodule.h>
#include <kimagefilepreview.h>
#include <knewstuff/downloaddialog.h>
@ -74,10 +74,10 @@ BGDialog::BGDialog(TQWidget* parent, KConfig* _config, bool _multidesktop)
m_multidesktop = _multidesktop;
m_previewUpdates = true;
KWinModule *m_kwin;
m_kwin = new KWinModule(TQT_TQOBJECT(this));
m_curDesk = m_kwin->currentDesktop();
TQSize s(m_kwin->numberOfViewports(m_kwin->currentDesktop()));
KWinModule *m_twin;
m_twin = new KWinModule(TQT_TQOBJECT(this));
m_curDesk = m_twin->currentDesktop();
TQSize s(m_twin->numberOfViewports(m_twin->currentDesktop()));
m_useViewports = s.width() * s.height() > 1;
m_numDesks = m_multidesktop ? KWin::numberOfDesktops() : 1;
@ -90,12 +90,12 @@ BGDialog::BGDialog(TQWidget* parent, KConfig* _config, bool _multidesktop)
m_numScreens = 1;
}
TQPoint vx(m_kwin->currentViewport(m_kwin->currentDesktop()));
TQPoint vx(m_twin->currentViewport(m_twin->currentDesktop()));
int t_eViewport = (vx.x() * vx.y());
if (t_eViewport < 1) {
t_eViewport = 1;
}
delete m_kwin;
delete m_twin;
m_desk = m_multidesktop ? KWin::currentDesktop() : 1;
m_desk = m_multidesktop ? (m_useViewports ? (((m_desk - 1) * m_numViewports) + t_eViewport) : m_desk) : m_desk;

@ -356,7 +356,7 @@ void WidgetCanvas::drawSampleWidgets()
KPixmap pmTitle;
pmTitle.resize( width()-160, 20 );
// Switched to vertical gradient because those kwin styles that
// Switched to vertical gradient because those twin styles that
// use the gradient have it vertical.
KPixmapEffect::gradient(pmTitle, iaTitle, iaBlend,
KPixmapEffect::HorizontalGradient);
@ -400,7 +400,7 @@ void WidgetCanvas::drawSampleWidgets()
paint.setBrush( aTitle );paint.setPen( aTitle );
paint.drawRect( 65, 30+5, width()-152, 20 );
// Switched to vertical gradient because those kwin styles that
// Switched to vertical gradient because those twin styles that
// use the gradient have it vertical.
pmTitle.resize( width()-152, 20 );
KPixmapEffect::gradient(pmTitle, aTitle, aBlend,

@ -26,7 +26,7 @@
#include <kmessagebox.h>
#include <kinstance.h>
#include <kaction.h>
#include <kwin.h>
#include <twin.h>
#include <kiconloader.h>
#include <klineedit.h>

@ -61,7 +61,7 @@ void KKeyModule::init( bool isGlobal, bool _bSeriesOnly, bool bSeriesNone )
// see also KKeyModule::init() below !!!
#define NOSLOTS
#define KShortcuts KAccelShortcuts
#include "../../kwin/kwinbindings.cpp"
#include "../../twin/twinbindings.cpp"
#include "../../kicker/kicker/core/kickerbindings.cpp"
#include "../../kicker/taskbar/taskbarbindings.cpp"
#include "../../kdesktop/kdesktopbindings.cpp"
@ -209,7 +209,7 @@ void KKeyModule::load()
if ( !kapp->dcopClient()->isAttached() )
kapp->dcopClient()->attach();
// TODO: create a reconfigureKeys() method.
kapp->dcopClient()->send("kwin", "", "reconfigure()", "");
kapp->dcopClient()->send("twin", "", "reconfigure()", "");
kapp->dcopClient()->send("kdesktop", "", "configure()", "");
kapp->dcopClient()->send("kicker", "Panel", "configure()", "");
}
@ -485,7 +485,7 @@ void KKeyModule::init()
#define NOSLOTS
#define KShortcuts KAccelShortcuts
#include "../../klipper/klipperbindings.cpp"
#include "../../kwin/kwinbindings.cpp"
#include "../../twin/twinbindings.cpp"
#include "../../kicker/kicker/core/kickerbindings.cpp"
#include "../../kicker/taskbar/taskbarbindings.cpp"
#include "../../kdesktop/kdesktopbindings.cpp"

@ -132,7 +132,7 @@ extern "C"
KDE_EXPORT KCModule *create_keys(TQWidget *parent, const char * /*name*/)
{
// What does this do? Why not insert klipper and kxkb, too? --ellis, 2002/01/15
KGlobal::locale()->insertCatalogue("kwin");
KGlobal::locale()->insertCatalogue("twin");
KGlobal::locale()->insertCatalogue("kdesktop");
KGlobal::locale()->insertCatalogue("kicker");
return new KeyModule(parent, "kcmkeys");
@ -168,7 +168,7 @@ extern "C"
#define CTRL Qt::CTRL
#define ALT Qt::ALT
#include "../../klipper/klipperbindings.cpp"
#include "../../kwin/kwinbindings.cpp"
#include "../../twin/twinbindings.cpp"
#define KICKER_ALL_BINDINGS
#include "../../kicker/kicker/core/kickerbindings.cpp"
#include "../../kicker/taskbar/taskbarbindings.cpp"

@ -111,7 +111,7 @@ void ShortcutsModule::initGUI()
// see also KShortcutsModule::init() below !!!
#define NOSLOTS
#define KICKER_ALL_BINDINGS
#include "../../kwin/kwinbindings.cpp"
#include "../../twin/twinbindings.cpp"
#include "../../kicker/kicker/core/kickerbindings.cpp"
#include "../../kicker/taskbar/taskbarbindings.cpp"
#include "../../kdesktop/kdesktopbindings.cpp"

@ -34,7 +34,7 @@
#include <kpanelextension.h>
#include <kpixmap.h>
#include <kstandarddirs.h>
#include <kwin.h>
#include <twin.h>
#include "main.h"
#include "../background/bgrender.h"

@ -141,30 +141,30 @@ void KDesktopConfig::load( bool useDefaults )
else
groupname.sprintf("Desktops-screen-%d", konq_screen_number);
KConfig * kwinconfig = new KConfig("kwinrc");
KConfig * twinconfig = new KConfig("twinrc");
kwinconfig->setReadDefaults( useDefaults );
twinconfig->setReadDefaults( useDefaults );
kwinconfig->setGroup("Desktops");
twinconfig->setGroup("Desktops");
for(int i = 1; i <= maxDesktops; i++)
{
TQString key_name(TQString("Name_") + TQString::number(i));
TQString name = TQString::fromUtf8(info.desktopName(i));
if (name.isEmpty()) // Get name from configuration if none is set in the WM.
{
name = kwinconfig->readEntry(key_name, i18n("Desktop %1").arg(i));
name = twinconfig->readEntry(key_name, i18n("Desktop %1").arg(i));
}
_nameInput[i-1]->setText(name);
// Is this entry immutable or not in the range of configured desktops?
_labelImmutable[i - 1] = kwinconfig->entryIsImmutable(key_name);
_labelImmutable[i - 1] = twinconfig->entryIsImmutable(key_name);
_nameInput[i-1]->setEnabled(i <= n && !_labelImmutable[i - 1]);
}
_numInput->setEnabled(!kwinconfig->entryIsImmutable("Number"));
_numInput->setEnabled(!twinconfig->entryIsImmutable("Number"));
delete kwinconfig;
kwinconfig = 0;
delete twinconfig;
twinconfig = 0;
TQString configfile;
if (konq_screen_number == 0)

@ -27,7 +27,7 @@ class TQCheckBox;
class KLineEdit;
class KIntNumInput;
// if you change this, update also the number of keyboard shortcuts in kwin/kwinbindings.cpp
// if you change this, update also the number of keyboard shortcuts in twin/twinbindings.cpp
static const int maxDesktops = 20;
class KDesktopConfig : public KCModule

@ -212,7 +212,7 @@ Keywords[pl]=konqueror,menedżer plików,kfm,wskazówki,informacja o pliku,osobn
Keywords[pt]=konqueror,gestor de ficheiros,kfm,dicas,dicas de ficheiros,janela separada,comportamento,utilização de memória,URL de base,
Keywords[pt_BR]=konqueror,gerenciador de arquivos,kfm,dicas,arquivos de dicas,janelas separadas,janelas unidas,comportamento,comportamento,uso de memória,URL local,
Keywords[ro]=konqueror,manager de fișiere,kfm,sfaturi,ferestre separate,comportament,utilizare memorie,URL Acasă
Keywords[rw]=Konqueror,mugengadosiye,kfm,inyobora, inyobora y'idosiye, gutandukanya Idirishya,kurema amadirishya,imyitwarire,imyitwarire,ikoresha ry'umwanyabubiko,URL y'Ipaji kwinjira,
Keywords[rw]=Konqueror,mugengadosiye,kfm,inyobora, inyobora y'idosiye, gutandukanya Idirishya,kurema amadirishya,imyitwarire,imyitwarire,ikoresha ry'umwanyabubiko,URL y'Ipaji twinjira,
Keywords[se]=konqueror,fiilagieđahalli,kfm,rávvagat,fiilarávvagat,iežaš láse,ođđa láset,láhtten,muitugeavaheapmi,ruoktu-URL
Keywords[sk]=konqueror,správa súborov,kfm,tipy,oddelené okná,nové okná,správanie,využitie pamäti,domovské URL
Keywords[sl]=konqueror,upravitelj datotek,upravljalnik,kfm,namigi,namigi datotek,ločeno okno,ustvari okna,obnašanje,poraba pomnilnika,domači URL

@ -410,7 +410,7 @@ void DesktopBehavior::save()
// for the standalone menubar setting
kapp->dcopClient()->send( "menuapplet*", "menuapplet", "configure()", data );
kapp->dcopClient()->send( "kicker", "kicker", "configureMenubar()", data );
kapp->dcopClient()->send( "kwin*", "", "reconfigure()", data );
kapp->dcopClient()->send( "twin*", "", "reconfigure()", data );
}
void DesktopBehavior::enableChanged()

@ -212,7 +212,7 @@ Keywords[pl]=konqueror,menedżer plików,kfm,wskazówki,informacja o pliku,osobn
Keywords[pt]=konqueror,gestor de ficheiros,kfm,dicas,dicas de ficheiros,janela separada,comportamento,utilização de memória,URL de base,
Keywords[pt_BR]=konqueror,gerenciador de arquivos,kfm,dicas,arquivos de dicas,janelas separadas,janelas unidas,comportamento,comportamento,uso de memória,URL local,
Keywords[ro]=konqueror,manager de fișiere,kfm,sfaturi,ferestre separate,comportament,utilizare memorie,URL Acasă
Keywords[rw]=Konqueror,mugengadosiye,kfm,inyobora, inyobora y'idosiye, gutandukanya Idirishya,kurema amadirishya,imyitwarire,imyitwarire,ikoresha ry'umwanyabubiko,URL y'Ipaji kwinjira,
Keywords[rw]=Konqueror,mugengadosiye,kfm,inyobora, inyobora y'idosiye, gutandukanya Idirishya,kurema amadirishya,imyitwarire,imyitwarire,ikoresha ry'umwanyabubiko,URL y'Ipaji twinjira,
Keywords[se]=konqueror,fiilagieđahalli,kfm,rávvagat,fiilarávvagat,iežaš láse,ođđa láset,láhtten,muitugeavaheapmi,ruoktu-URL
Keywords[sk]=konqueror,správa súborov,kfm,tipy,oddelené okná,nové okná,správanie,využitie pamäti,domovské URL
Keywords[sl]=konqueror,upravitelj datotek,upravljalnik,kfm,namigi,namigi datotek,ločeno okno,ustvari okna,obnašanje,poraba pomnilnika,domači URL

@ -119,7 +119,7 @@ static void applyQtColors( KConfig& kglobals, TQSettings& settings, TQPalette& n
settings.writeEntry("/qt/Palette/inactive", inactcg);
settings.writeEntry("/qt/Palette/disabled", discg);
// export kwin's colors to qtrc for kstyle to use
// export twin's colors to qtrc for kstyle to use
kglobals.setGroup("WM");
// active colors

@ -121,21 +121,21 @@
<linkColor rgb="#ffffff" object="global" />
<visitedLinkColor rgb="#ffffff" object="global" />
<alternateBackground rgb="#000028" object="global" />
<activeForeground rgb="#ffffff" object="kwin" />
<inactiveBackground rgb="#1e1e1e" object="kwin" />
<inactiveBlend rgb="#1e1e1e" object="kwin" />
<activeBackground rgb="#00005a" object="kwin" />
<activeBlend rgb="#00005a" object="kwin" />
<inactiveForeground rgb="#808080" object="kwin" />
<activeTitleBtnBg rgb="#ffffff" object="kwin" />
<inactiveTitleBtnBg rgb="#aaaaaa" object="kwin" />
<frame rgb="#000085" object="kwin" />
<inactiveFrame rgb="#1e1e1e" object="kwin" />
<handle rgb="#000085" object="kwin" />
<inactiveHandle rgb="#1e1e1e" object="kwin" />
<activeForeground rgb="#ffffff" object="twin" />
<inactiveBackground rgb="#1e1e1e" object="twin" />
<inactiveBlend rgb="#1e1e1e" object="twin" />
<activeBackground rgb="#00005a" object="twin" />
<activeBlend rgb="#00005a" object="twin" />
<inactiveForeground rgb="#808080" object="twin" />
<activeTitleBtnBg rgb="#ffffff" object="twin" />
<inactiveTitleBtnBg rgb="#aaaaaa" object="twin" />
<frame rgb="#000085" object="twin" />
<inactiveFrame rgb="#1e1e1e" object="twin" />
<handle rgb="#000085" object="twin" />
<inactiveHandle rgb="#1e1e1e" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_plastik" >
<wm type="builtin" name="twin3_plastik" >
<border size="3" />
</wm>
<konqueror>

@ -121,21 +121,21 @@
<linkColor rgb="#ffffff" object="global" />
<visitedLinkColor rgb="#ffffff" object="global" />
<alternateBackground rgb="#000028" object="global" />
<activeForeground rgb="#ffffff" object="kwin" />
<inactiveBackground rgb="#1e1e1e" object="kwin" />
<inactiveBlend rgb="#1e1e1e" object="kwin" />
<activeBackground rgb="#00005a" object="kwin" />
<activeBlend rgb="#00005a" object="kwin" />
<inactiveForeground rgb="#808080" object="kwin" />
<activeTitleBtnBg rgb="#ffffff" object="kwin" />
<inactiveTitleBtnBg rgb="#aaaaaa" object="kwin" />
<frame rgb="#000085" object="kwin" />
<inactiveFrame rgb="#1e1e1e" object="kwin" />
<handle rgb="#000085" object="kwin" />
<inactiveHandle rgb="#1e1e1e" object="kwin" />
<activeForeground rgb="#ffffff" object="twin" />
<inactiveBackground rgb="#1e1e1e" object="twin" />
<inactiveBlend rgb="#1e1e1e" object="twin" />
<activeBackground rgb="#00005a" object="twin" />
<activeBlend rgb="#00005a" object="twin" />
<inactiveForeground rgb="#808080" object="twin" />
<activeTitleBtnBg rgb="#ffffff" object="twin" />
<inactiveTitleBtnBg rgb="#aaaaaa" object="twin" />
<frame rgb="#000085" object="twin" />
<inactiveFrame rgb="#1e1e1e" object="twin" />
<handle rgb="#000085" object="twin" />
<inactiveHandle rgb="#1e1e1e" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_plastik" >
<wm type="builtin" name="twin3_plastik" >
<border size="3" />
</wm>
<konqueror>

@ -121,21 +121,21 @@
<linkColor rgb="#000000" object="global" />
<visitedLinkColor rgb="#000000" object="global" />
<alternateBackground rgb="#d7d7ff" object="global" />
<activeForeground rgb="#000000" object="kwin" />
<inactiveBackground rgb="#e1e1e1" object="kwin" />
<inactiveBlend rgb="#e1e1e1" object="kwin" />
<activeBackground rgb="#a5a5ff" object="kwin" />
<activeBlend rgb="#a5a5ff" object="kwin" />
<inactiveForeground rgb="#808080" object="kwin" />
<activeTitleBtnBg rgb="#000000" object="kwin" />
<inactiveTitleBtnBg rgb="#555555" object="kwin" />
<frame rgb="#7a7aff" object="kwin" />
<inactiveFrame rgb="#e1e1e1" object="kwin" />
<handle rgb="#7a7aff" object="kwin" />
<inactiveHandle rgb="#e1e1e1" object="kwin" />
<activeForeground rgb="#000000" object="twin" />
<inactiveBackground rgb="#e1e1e1" object="twin" />
<inactiveBlend rgb="#e1e1e1" object="twin" />
<activeBackground rgb="#a5a5ff" object="twin" />
<activeBlend rgb="#a5a5ff" object="twin" />
<inactiveForeground rgb="#808080" object="twin" />
<activeTitleBtnBg rgb="#000000" object="twin" />
<inactiveTitleBtnBg rgb="#555555" object="twin" />
<frame rgb="#7a7aff" object="twin" />
<inactiveFrame rgb="#e1e1e1" object="twin" />
<handle rgb="#7a7aff" object="twin" />
<inactiveHandle rgb="#e1e1e1" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_plastik" >
<wm type="builtin" name="twin3_plastik" >
<border size="3" />
</wm>
<konqueror>

@ -121,21 +121,21 @@
<linkColor rgb="#000000" object="global" />
<visitedLinkColor rgb="#000000" object="global" />
<alternateBackground rgb="#d7d7ff" object="global" />
<activeForeground rgb="#000000" object="kwin" />
<inactiveBackground rgb="#e1e1e1" object="kwin" />
<inactiveBlend rgb="#e1e1e1" object="kwin" />
<activeBackground rgb="#a5a5ff" object="kwin" />
<activeBlend rgb="#a5a5ff" object="kwin" />
<inactiveForeground rgb="#808080" object="kwin" />
<activeTitleBtnBg rgb="#000000" object="kwin" />
<inactiveTitleBtnBg rgb="#555555" object="kwin" />
<frame rgb="#7a7aff" object="kwin" />
<inactiveFrame rgb="#e1e1e1" object="kwin" />
<handle rgb="#7a7aff" object="kwin" />
<inactiveHandle rgb="#e1e1e1" object="kwin" />
<activeForeground rgb="#000000" object="twin" />
<inactiveBackground rgb="#e1e1e1" object="twin" />
<inactiveBlend rgb="#e1e1e1" object="twin" />
<activeBackground rgb="#a5a5ff" object="twin" />
<activeBlend rgb="#a5a5ff" object="twin" />
<inactiveForeground rgb="#808080" object="twin" />
<activeTitleBtnBg rgb="#000000" object="twin" />
<inactiveTitleBtnBg rgb="#555555" object="twin" />
<frame rgb="#7a7aff" object="twin" />
<inactiveFrame rgb="#e1e1e1" object="twin" />
<handle rgb="#7a7aff" object="twin" />
<inactiveHandle rgb="#e1e1e1" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_plastik" >
<wm type="builtin" name="twin3_plastik" >
<border size="1" />
</wm>
<konqueror>

@ -90,17 +90,17 @@
<buttonForeground rgb="#000000" object="global" />
<linkColor rgb="#0000c0" object="global" />
<visitedLinkColor rgb="#800080" object="global" />
<activeForeground rgb="#ffffff" object="kwin" />
<inactiveBackground rgb="#dcdcdc" object="kwin" />
<inactiveBlend rgb="#dcdcdc" object="kwin" />
<activeBackground rgb="#0a5f89" object="kwin" />
<activeBlend rgb="#0a5f89" object="kwin" />
<inactiveForeground rgb="#000000" object="kwin" />
<activeTitleBtnBg rgb="#c0c0c0" object="kwin" />
<inactiveTitleBtnBg rgb="#a7b5c7" object="kwin" />
<activeForeground rgb="#ffffff" object="twin" />
<inactiveBackground rgb="#dcdcdc" object="twin" />
<inactiveBlend rgb="#dcdcdc" object="twin" />
<activeBackground rgb="#0a5f89" object="twin" />
<activeBlend rgb="#0a5f89" object="twin" />
<inactiveForeground rgb="#000000" object="twin" />
<activeTitleBtnBg rgb="#c0c0c0" object="twin" />
<inactiveTitleBtnBg rgb="#a7b5c7" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_default" >
<wm type="builtin" name="twin3_default" >
<border size="1" />
</wm>
<konqueror>

@ -90,17 +90,17 @@
<buttonForeground rgb="#000000" object="global" />
<linkColor rgb="#0000c0" object="global" />
<visitedLinkColor rgb="#800080" object="global" />
<activeForeground rgb="#ffffff" object="kwin" />
<inactiveBackground rgb="#afd6ff" object="kwin" />
<inactiveBlend rgb="#afd6ff" object="kwin" />
<activeBackground rgb="#3e91eb" object="kwin" />
<activeBlend rgb="#3e91eb" object="kwin" />
<inactiveForeground rgb="#ffffff" object="kwin" />
<activeTitleBtnBg rgb="#dcdcdc" object="kwin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="kwin" />
<activeForeground rgb="#ffffff" object="twin" />
<inactiveBackground rgb="#afd6ff" object="twin" />
<inactiveBlend rgb="#afd6ff" object="twin" />
<activeBackground rgb="#3e91eb" object="twin" />
<activeBlend rgb="#3e91eb" object="twin" />
<inactiveForeground rgb="#ffffff" object="twin" />
<activeTitleBtnBg rgb="#dcdcdc" object="twin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_keramik" >
<wm type="builtin" name="twin3_keramik" >
<border size="1" />
</wm>
<konqueror>

@ -90,17 +90,17 @@
<buttonForeground rgb="#000000" object="global" />
<linkColor rgb="#0000ee" object="global" />
<visitedLinkColor rgb="#52188b" object="global" />
<activeForeground rgb="#ffffff" object="kwin" />
<inactiveBackground rgb="#9daaba" object="kwin" />
<inactiveBlend rgb="#9daaba" object="kwin" />
<activeBackground rgb="#418edc" object="kwin" />
<activeBlend rgb="#6b91b8" object="kwin" />
<inactiveForeground rgb="#dddddd" object="kwin" />
<activeTitleBtnBg rgb="#dcdcdc" object="kwin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="kwin" />
<activeForeground rgb="#ffffff" object="twin" />
<inactiveBackground rgb="#9daaba" object="twin" />
<inactiveBlend rgb="#9daaba" object="twin" />
<activeBackground rgb="#418edc" object="twin" />
<activeBlend rgb="#6b91b8" object="twin" />
<inactiveForeground rgb="#dddddd" object="twin" />
<activeTitleBtnBg rgb="#dcdcdc" object="twin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_plastik" >
<wm type="builtin" name="twin3_plastik" >
<border size="1" />
</wm>
<konqueror>

@ -90,17 +90,17 @@
<buttonForeground rgb="#000000" object="global" />
<linkColor rgb="#0000c0" object="global" />
<visitedLinkColor rgb="#800080" object="global" />
<activeForeground rgb="#020202" object="kwin" />
<inactiveBackground rgb="#96a7ca" object="kwin" />
<inactiveBlend rgb="#9db0d0" object="kwin" />
<activeBackground rgb="#e9e9e9" object="kwin" />
<activeBlend rgb="#e9e9e9" object="kwin" />
<inactiveForeground rgb="#5d7091" object="kwin" />
<activeTitleBtnBg rgb="#dcdcdc" object="kwin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="kwin" />
<activeForeground rgb="#020202" object="twin" />
<inactiveBackground rgb="#96a7ca" object="twin" />
<inactiveBlend rgb="#9db0d0" object="twin" />
<activeBackground rgb="#e9e9e9" object="twin" />
<activeBlend rgb="#e9e9e9" object="twin" />
<inactiveForeground rgb="#5d7091" object="twin" />
<activeTitleBtnBg rgb="#dcdcdc" object="twin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_system" >
<wm type="builtin" name="twin3_system" >
<border size="1" />
</wm>
<konqueror>

@ -90,17 +90,17 @@
<buttonForeground rgb="#000000" object="global" />
<linkColor rgb="#0000c0" object="global" />
<visitedLinkColor rgb="#800080" object="global" />
<activeForeground rgb="#ffffff" object="kwin" />
<inactiveBackground rgb="#dcdcdc" object="kwin" />
<inactiveBlend rgb="#dcdcdc" object="kwin" />
<activeBackground rgb="#002468" object="kwin" />
<activeBlend rgb="#a8ccf0" object="kwin" />
<inactiveForeground rgb="#000000" object="kwin" />
<activeTitleBtnBg rgb="#dcdcdc" object="kwin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="kwin" />
<activeForeground rgb="#ffffff" object="twin" />
<inactiveBackground rgb="#dcdcdc" object="twin" />
<inactiveBlend rgb="#dcdcdc" object="twin" />
<activeBackground rgb="#002468" object="twin" />
<activeBlend rgb="#a8ccf0" object="twin" />
<inactiveForeground rgb="#000000" object="twin" />
<activeTitleBtnBg rgb="#dcdcdc" object="twin" />
<inactiveTitleBtnBg rgb="#dcdcdc" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_redmond" >
<wm type="builtin" name="twin3_redmond" >
<border size="1" />
</wm>
<konqueror>

@ -90,17 +90,17 @@
<buttonForeground rgb="#000000" object="global" />
<linkColor rgb="#0000ff" object="global" />
<visitedLinkColor rgb="#c0ffff" object="global" />
<activeForeground rgb="#ffffff" object="kwin" />
<inactiveBackground rgb="#aeb2c3" object="kwin" />
<inactiveBlend rgb="#aeb2c3" object="kwin" />
<activeBackground rgb="#b24d7a" object="kwin" />
<activeBlend rgb="#aeb2c3" object="kwin" />
<inactiveForeground rgb="#000000" object="kwin" />
<activeTitleBtnBg rgb="#aeb2c3" object="kwin" />
<inactiveTitleBtnBg rgb="#aeb2c3" object="kwin" />
<activeForeground rgb="#ffffff" object="twin" />
<inactiveBackground rgb="#aeb2c3" object="twin" />
<inactiveBlend rgb="#aeb2c3" object="twin" />
<activeBackground rgb="#b24d7a" object="twin" />
<activeBlend rgb="#aeb2c3" object="twin" />
<inactiveForeground rgb="#000000" object="twin" />
<activeTitleBtnBg rgb="#aeb2c3" object="twin" />
<inactiveTitleBtnBg rgb="#aeb2c3" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_cde" >
<wm type="builtin" name="twin3_cde" >
<border size="1" />
</wm>
<konqueror>

@ -121,21 +121,21 @@
<linkColor rgb="#ffff00" object="global" />
<visitedLinkColor rgb="#ffff00" object="global" />
<alternateBackground rgb="#0000d7" object="global" />
<activeForeground rgb="#ffff00" object="kwin" />
<inactiveBackground rgb="#1e1ee1" object="kwin" />
<inactiveBlend rgb="#1e1ee1" object="kwin" />
<activeBackground rgb="#0000b4" object="kwin" />
<activeBlend rgb="#0000b4" object="kwin" />
<inactiveForeground rgb="#808080" object="kwin" />
<activeTitleBtnBg rgb="#ffff00" object="kwin" />
<inactiveTitleBtnBg rgb="#aaaa55" object="kwin" />
<frame rgb="#00007a" object="kwin" />
<inactiveFrame rgb="#1e1ee1" object="kwin" />
<handle rgb="#00007a" object="kwin" />
<inactiveHandle rgb="#1e1ee1" object="kwin" />
<activeForeground rgb="#ffff00" object="twin" />
<inactiveBackground rgb="#1e1ee1" object="twin" />
<inactiveBlend rgb="#1e1ee1" object="twin" />
<activeBackground rgb="#0000b4" object="twin" />
<activeBlend rgb="#0000b4" object="twin" />
<inactiveForeground rgb="#808080" object="twin" />
<activeTitleBtnBg rgb="#ffff00" object="twin" />
<inactiveTitleBtnBg rgb="#aaaa55" object="twin" />
<frame rgb="#00007a" object="twin" />
<inactiveFrame rgb="#1e1ee1" object="twin" />
<handle rgb="#00007a" object="twin" />
<inactiveHandle rgb="#1e1ee1" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_quartz" >
<wm type="builtin" name="twin3_quartz" >
<border size="1" />
</wm>
<konqueror>

@ -121,21 +121,21 @@
<linkColor rgb="#ffff00" object="global" />
<visitedLinkColor rgb="#ffff00" object="global" />
<alternateBackground rgb="#0000d7" object="global" />
<activeForeground rgb="#ffff00" object="kwin" />
<inactiveBackground rgb="#1e1ee1" object="kwin" />
<inactiveBlend rgb="#1e1ee1" object="kwin" />
<activeBackground rgb="#0000b4" object="kwin" />
<activeBlend rgb="#0000b4" object="kwin" />
<inactiveForeground rgb="#808080" object="kwin" />
<activeTitleBtnBg rgb="#ffff00" object="kwin" />
<inactiveTitleBtnBg rgb="#aaaa55" object="kwin" />
<frame rgb="#00007a" object="kwin" />
<inactiveFrame rgb="#1e1ee1" object="kwin" />
<handle rgb="#00007a" object="kwin" />
<inactiveHandle rgb="#1e1ee1" object="kwin" />
<activeForeground rgb="#ffff00" object="twin" />
<inactiveBackground rgb="#1e1ee1" object="twin" />
<inactiveBlend rgb="#1e1ee1" object="twin" />
<activeBackground rgb="#0000b4" object="twin" />
<activeBlend rgb="#0000b4" object="twin" />
<inactiveForeground rgb="#808080" object="twin" />
<activeTitleBtnBg rgb="#ffff00" object="twin" />
<inactiveTitleBtnBg rgb="#aaaa55" object="twin" />
<frame rgb="#00007a" object="twin" />
<inactiveFrame rgb="#1e1ee1" object="twin" />
<handle rgb="#00007a" object="twin" />
<inactiveHandle rgb="#1e1ee1" object="twin" />
</colors>
<cursors name="" />
<wm type="builtin" name="kwin3_quartz" >
<wm type="builtin" name="twin3_quartz" >
<border size="1" />
</wm>
<konqueror>

@ -44,15 +44,15 @@ Sample XML theme config file:
</desktop>
<icons name="crystalsvg" />
<sounds>
<event object="global|kwin" name="eventname" url="theme:/sounds/file.wav" />
<event object="global|twin" name="eventname" url="theme:/sounds/file.wav" />
...
</sounds>
<colors contrast="7">
<alternateBackground rgb="#123456" object="global|kwin"/>
<alternateBackground rgb="#123456" object="global|twin"/>
...
</colors>
<cursors name="theme_name" />
<wm type="builtin|custom" name="kwin_lib_name">
<wm type="builtin|custom" name="twin_lib_name">
<buttons left="M" right="HIAX" />
<border size="number" />
</wm>

@ -1,5 +1,5 @@
- use KHotNewStuff for directly downloading themes from kde-look.org
- custom pixmap kwin themes (requires kwmtheme to be ported first)
- custom pixmap twin themes (requires kwmtheme to be ported first)
- write user and theme developer documentation
Handle:

@ -127,9 +127,9 @@ TQString KTheme::createYourself( bool pack )
// 2. Background theme
KConfig * globalConf = KGlobal::config();
KConfig kwinConf( "kwinrc", true );
kwinConf.setGroup( "Desktops" );
uint numDesktops = kwinConf.readUnsignedNumEntry( "Number", 4 );
KConfig twinConf( "twinrc", true );
twinConf.setGroup( "Desktops" );
uint numDesktops = twinConf.readUnsignedNumEntry( "Number", 4 );
KConfig desktopConf( "kdesktoprc", true );
desktopConf.setGroup( "Background Common" );
@ -205,9 +205,9 @@ TQString KTheme::createYourself( bool pack )
<< "messageboxQuestion";
// 4.2 KWin sounds
KConfig * kwinSoundConf = new KConfig( "kwin.eventsrc", true );
TQStringList kwinEvents;
kwinEvents << "activate" << "close" << "delete" <<
KConfig * twinSoundConf = new KConfig( "twin.eventsrc", true );
TQStringList twinEvents;
twinEvents << "activate" << "close" << "delete" <<
"desktop1" << "desktop2" << "desktop3" << "desktop4" <<
"desktop5" << "desktop6" << "desktop7" << "desktop8" <<
"maximize" << "minimize" << "moveend" << "movestart" <<
@ -217,10 +217,10 @@ TQString KTheme::createYourself( bool pack )
TQDomElement soundsElem = m_dom.createElement( "sounds" );
createSoundList( stdEvents, "global", soundsElem, soundConf );
createSoundList( kwinEvents, "kwin", soundsElem, kwinSoundConf );
createSoundList( twinEvents, "twin", soundsElem, twinSoundConf );
m_root.appendChild( soundsElem );
delete soundConf;
delete kwinSoundConf;
delete twinSoundConf;
// 5. Colors
@ -236,13 +236,13 @@ TQString KTheme::createYourself( bool pack )
for ( TQStringList::Iterator it = stdColors.begin(); it != stdColors.end(); ++it )
createColorElem( ( *it ), "global", colorsElem, globalConf );
TQStringList kwinColors;
kwinColors << "activeForeground" << "inactiveBackground" << "inactiveBlend" << "activeBackground"
TQStringList twinColors;
twinColors << "activeForeground" << "inactiveBackground" << "inactiveBlend" << "activeBackground"
<< "activeBlend" << "inactiveForeground" << "activeTitleBtnBg" << "inactiveTitleBtnBg"
<< "frame" << "inactiveFrame" << "handle" << "inactiveHandle";
globalConf->setGroup( "WM" );
for ( TQStringList::Iterator it = kwinColors.begin(); it != kwinColors.end(); ++it )
createColorElem( ( *it ), "kwin", colorsElem, globalConf );
for ( TQStringList::Iterator it = twinColors.begin(); it != twinColors.end(); ++it )
createColorElem( ( *it ), "twin", colorsElem, globalConf );
m_root.appendChild( colorsElem );
@ -256,19 +256,19 @@ TQString KTheme::createYourself( bool pack )
// TODO copy the cursor theme?
// 7. KWin
kwinConf.setGroup( "Style" );
twinConf.setGroup( "Style" );
TQDomElement wmElem = m_dom.createElement( "wm" );
wmElem.setAttribute( "name", kwinConf.readEntry( "PluginLib" ) );
wmElem.setAttribute( "type", "builtin" ); // TODO support pixmap themes when the kwin client gets ported
if ( kwinConf.readBoolEntry( "CustomButtonPositions" ) )
wmElem.setAttribute( "name", twinConf.readEntry( "PluginLib" ) );
wmElem.setAttribute( "type", "builtin" ); // TODO support pixmap themes when the twin client gets ported
if ( twinConf.readBoolEntry( "CustomButtonPositions" ) )
{
TQDomElement buttonsElem = m_dom.createElement( "buttons" );
buttonsElem.setAttribute( "left", kwinConf.readEntry( "ButtonsOnLeft" ) );
buttonsElem.setAttribute( "right", kwinConf.readEntry( "ButtonsOnRight" ) );
buttonsElem.setAttribute( "left", twinConf.readEntry( "ButtonsOnLeft" ) );
buttonsElem.setAttribute( "right", twinConf.readEntry( "ButtonsOnRight" ) );
wmElem.appendChild( buttonsElem );
}
TQDomElement borderElem = m_dom.createElement( "border" );
borderElem.setAttribute( "size", kwinConf.readNumEntry( "BorderSize", 1 ) );
borderElem.setAttribute( "size", twinConf.readNumEntry( "BorderSize", 1 ) );
wmElem.appendChild( borderElem );
m_root.appendChild( wmElem );
@ -493,7 +493,7 @@ void KTheme::apply()
if ( !soundsElem.isNull() )
{
KConfig soundConf( "knotify.eventsrc" );
KConfig kwinSoundConf( "kwin.eventsrc" );
KConfig twinSoundConf( "twin.eventsrc" );
TQDomNodeList eventList = soundsElem.elementsByTagName( "event" );
for ( uint i = 0; i < eventList.count(); i++ )
{
@ -506,18 +506,18 @@ void KTheme::apply()
soundConf.writeEntry( "soundfile", unprocessFilePath( "sounds", eventElem.attribute( "url" ) ) );
soundConf.writeEntry( "presentation", soundConf.readNumEntry( "presentation" ) | 1 );
}
else if ( object == "kwin" )
else if ( object == "twin" )
{
kwinSoundConf.setGroup( eventElem.attribute( "name" ) );
kwinSoundConf.writeEntry( "soundfile", unprocessFilePath( "sounds", eventElem.attribute( "url" ) ) );
kwinSoundConf.writeEntry( "presentation", soundConf.readNumEntry( "presentation" ) | 1 );
twinSoundConf.setGroup( eventElem.attribute( "name" ) );
twinSoundConf.writeEntry( "soundfile", unprocessFilePath( "sounds", eventElem.attribute( "url" ) ) );
twinSoundConf.writeEntry( "presentation", soundConf.readNumEntry( "presentation" ) | 1 );
}
</