Rename kwin to twin (part 1 of 2)

pull/16/head
Timothy Pearson 13 years ago
parent 17c857c26e
commit 8cfbfac527

@ -36,8 +36,8 @@ LDFLAGS: -module $(KIMGIO_PLUGIN)
KWin plugin KWin plugin
=========== ===========
Name: kwin3_<clientname>.la Name: twin3_<clientname>.la
Definition: kde_module_LTLIBRARIES = kwin3_<clientname>.la Definition: kde_module_LTLIBRARIES = twin3_<clientname>.la
LDFLAGS: -module $(KDE_PLUGIN) LDFLAGS: -module $(KDE_PLUGIN)

@ -65,7 +65,7 @@
#include <kprocess.h> #include <kprocess.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kuniqueapplication.h> #include <kuniqueapplication.h>
#include <kwin.h> #include <twin.h>
#include "knotify.h" #include "knotify.h"
#include "knotify.moc" #include "knotify.moc"
@ -130,7 +130,7 @@ KDE_EXPORT int kdemain(int argc, char **argv)
// KNotifClient::startDaemon()) whenever a KNotify event occurs. Especially // KNotifClient::startDaemon()) whenever a KNotify event occurs. Especially
// KWin may fire many events (e.g. when a window pops up). When we have // KWin may fire many events (e.g. when a window pops up). When we have
// problems with aRts or the installation, we might get an infinite loop // problems with aRts or the installation, we might get an infinite loop
// of knotify crashing, popping up the crashhandler window and kwin firing // of knotify crashing, popping up the crashhandler window and twin firing
// another event, starting knotify again... // another event, starting knotify again...
// We try to prevent this by tracking our startup and offer options to // We try to prevent this by tracking our startup and offer options to
// abort this. // abort this.

@ -336,7 +336,7 @@
* kateconsole.* konsole/* : add kateconsole widget * kateconsole.* konsole/* : add kateconsole widget
2001-02-16 Anders Lund <anders@alweb.dk> 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> 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 * kateview.cpp : Tab doesn't jump to next widget anymore, but inserts a tab into the text

@ -64,7 +64,7 @@
#include <kglobalsettings.h> #include <kglobalsettings.h>
#include <klibloader.h> #include <klibloader.h>
#include <kdirwatch.h> #include <kdirwatch.h>
#include <kwin.h> #include <twin.h>
#include <kencodingfiledialog.h> #include <kencodingfiledialog.h>
#include <ktempfile.h> #include <ktempfile.h>
#include <kmdcodec.h> #include <kmdcodec.h>

@ -41,7 +41,7 @@
#include <kservice.h> #include <kservice.h>
#include <kservicegroup.h> #include <kservicegroup.h>
#include <kstartupinfo.h> #include <kstartupinfo.h>
#include <kwin.h> #include <twin.h>
#include <kglobal.h> #include <kglobal.h>
#include "main.h" #include "main.h"

@ -338,7 +338,7 @@
<!ENTITY kvoctrain "<application>KVocTrain</application>"> <!ENTITY kvoctrain "<application>KVocTrain</application>">
<!ENTITY kworldclock "<application>KWorldClock</application>"> <!ENTITY kworldclock "<application>KWorldClock</application>">
<!ENTITY kword "<application>KWord</application>"> <!ENTITY kword "<application>KWord</application>">
<!ENTITY kwin "<application>KWin</application>"> <!ENTITY twin "<application>KWin</application>">
<!ENTITY k4wins "<application>KWin4</application>"> <!ENTITY k4wins "<application>KWin4</application>">
<!ENTITY kwordquiz "<application>KWordQuiz</application>"> <!ENTITY kwordquiz "<application>KWordQuiz</application>">
<!ENTITY kwrite "<application>KWrite</application>"> <!ENTITY kwrite "<application>KWrite</application>">

@ -312,7 +312,7 @@
<!ENTITY kvoctrain "<application>KVocTrain</application>"> <!ENTITY kvoctrain "<application>KVocTrain</application>">
<!ENTITY kworldclock "<application>KWorldClock</application>"> <!ENTITY kworldclock "<application>KWorldClock</application>">
<!ENTITY kword "<application>KWord</application>"> <!ENTITY kword "<application>KWord</application>">
<!ENTITY kwin "<application>KWin</application>"> <!ENTITY twin "<application>KWin</application>">
<!ENTITY k4wins "<application>K Four Wins</application>"> <!ENTITY k4wins "<application>K Four Wins</application>">
<!ENTITY kwrite "<application>KWrite</application>"> <!ENTITY kwrite "<application>KWrite</application>">
<!ENTITY kwuftpd "<application>kwuftpd</application>"> <!ENTITY kwuftpd "<application>kwuftpd</application>">
@ -385,4 +385,4 @@
<!ENTITY kmoon "<application>Moon Phase</application>"> <!ENTITY kmoon "<application>Moon Phase</application>">
<!ENTITY kodo "<application>KOdometer</application>"> <!ENTITY kodo "<application>KOdometer</application>">
<!ENTITY kpat "<application>KPatience</application>"> <!ENTITY kpat "<application>KPatience</application>">
<!ENTITY kwin4 "<application>K Four Wins</application>"> <!ENTITY twin4 "<application>K Four Wins</application>">

@ -295,8 +295,8 @@
<!ENTITY kstart-g "<application>К-покрета</application>" > <!ENTITY kstart-g "<application>К-покрета</application>" >
<!ENTITY kstart-n "<application>К-покрет</application>" > <!ENTITY kstart-n "<application>К-покрет</application>" >
<!ENTITY kterm-n "<application>Ктерм</application>" > <!ENTITY kterm-n "<application>Ктерм</application>" >
<!ENTITY kwin-g "<application>К-проза</application>" > <!ENTITY twin-g "<application>К-проза</application>" >
<!ENTITY kwin-n "<application>К-проз</application>" > <!ENTITY twin-n "<application>К-проз</application>" >
<!ENTITY LeeWeeTiong-n "<personname><firstname>Ли Ви</firstname> <surname>Тионг</surname></personname>" > <!ENTITY LeeWeeTiong-n "<personname><firstname>Ли Ви</firstname> <surname>Тионг</surname></personname>" >
<!ENTITY LGPL-i "<acronym>МОЈЛ</acronym>ом" > <!ENTITY LGPL-i "<acronym>МОЈЛ</acronym>ом" >
<!ENTITY LGPL-n "<acronym>МОЈЛ</acronym>" > <!ENTITY LGPL-n "<acronym>МОЈЛ</acronym>" >

@ -41,10 +41,10 @@
#include <klocale.h> #include <klocale.h>
#include <kmdcodec.h> #include <kmdcodec.h>
#include <kparts/browserinterface.h> #include <kparts/browserinterface.h>
#include <kwin.h> #include <twin.h>
#if defined Q_WS_X11 && ! defined K_WS_QTONLY #if defined Q_WS_X11 && ! defined K_WS_QTONLY
#include <kwinmodule.h> // schroder #include <twinmodule.h> // schroder
#endif #endif
#ifndef KONQ_EMBEDDED #ifndef KONQ_EMBEDDED

@ -22,7 +22,7 @@
#include "kjavaappletwidget.h" #include "kjavaappletwidget.h"
#include "kjavaappletserver.h" #include "kjavaappletserver.h"
#include <kwin.h> #include <twin.h>
#include <kdebug.h> #include <kdebug.h>
#include <klocale.h> #include <klocale.h>

@ -29,7 +29,7 @@
#include "java/kjavaappletcontext.h" #include "java/kjavaappletcontext.h"
#include "java/kjavaapplet.h" #include "java/kjavaapplet.h"
#include <qxembed.h> #include <qxembed.h>
#include <kwinmodule.h> #include <twinmodule.h>
/** /**
* @short A widget for displaying Java applets * @short A widget for displaying Java applets

@ -117,7 +117,7 @@ using namespace DOM;
#include "kpassivepopup.h" #include "kpassivepopup.h"
#include "kpopupmenu.h" #include "kpopupmenu.h"
#include "rendering/render_form.h" #include "rendering/render_form.h"
#include <kwin.h> #include <twin.h>
#define HINT_UTF8 106 #define HINT_UTF8 106

@ -36,7 +36,7 @@
#include <kreplacedialog.h> #include <kreplacedialog.h>
#include <kspell.h> #include <kspell.h>
#include <kurlcompletion.h> #include <kurlcompletion.h>
#include <kwin.h> #include <twin.h>
#include <tqstyle.h> #include <tqstyle.h>

@ -826,8 +826,8 @@ void KNotifyWidget::save()
emit changed( false ); emit changed( false );
} }
// returns e.g. "kwin/eventsrc" from a given path // returns e.g. "twin/eventsrc" from a given path
// "/opt/trinity/share/apps/kwin/eventsrc" // "/opt/trinity/share/apps/twin/eventsrc"
TQString KNotifyWidget::makeRelative( const TQString& fullPath ) TQString KNotifyWidget::makeRelative( const TQString& fullPath )
{ {
int slash = fullPath.findRev( '/' ) - 1; int slash = fullPath.findRev( '/' ) - 1;

@ -107,7 +107,7 @@ public:
* KNotifyDialog can handle events for multiple applications (i.e. eventsrc files). * KNotifyDialog can handle events for multiple applications (i.e. eventsrc files).
* Successive calls with a different @p path will add them. * Successive calls with a different @p path will add them.
* @param path The absolute or relative path to the eventsrc file to be configured. * @param path The absolute or relative path to the eventsrc file to be configured.
* A relative path would be e.g. "kwin/eventsrc". * A relative path would be e.g. "twin/eventsrc".
* @see clearApplicationEvents() * @see clearApplicationEvents()
*/ */
virtual void addApplicationEvents( const TQString& path ); virtual void addApplicationEvents( const TQString& path );

@ -5,6 +5,6 @@ int main( int argc, char **argv )
{ {
KApplication app( argc, argv, "knotifytest" ); KApplication app( argc, argv, "knotifytest" );
KNotifyDialog *dlg = new KNotifyDialog(); KNotifyDialog *dlg = new KNotifyDialog();
dlg->addApplicationEvents( "kwin" ); dlg->addApplicationEvents( "twin" );
return dlg->exec(); return dlg->exec();
} }

@ -36,7 +36,7 @@
#include <klineedit.h> #include <klineedit.h>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwin.h> #include <twin.h>
#endif #endif
#include "jobclasses.h" #include "jobclasses.h"

@ -62,7 +62,7 @@
#include <kstringhandler.h> #include <kstringhandler.h>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwin.h> #include <twin.h>
#endif #endif
class KRun::KRunPrivate class KRun::KRunPrivate

@ -49,7 +49,7 @@
#include <ksqueezedtextlabel.h> #include <ksqueezedtextlabel.h>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwin.h> #include <twin.h>
#endif #endif
using namespace KIO; using namespace KIO;

@ -33,7 +33,7 @@
#include <kstdguiitem.h> #include <kstdguiitem.h>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwin.h> #include <twin.h>
#endif #endif
using namespace KIO; using namespace KIO;

@ -38,7 +38,7 @@
#include <kpassdlg.h> #include <kpassdlg.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kwalletentry.h> #include <kwalletentry.h>
#include <kwin.h> #include <twin.h>
#include <tqdir.h> #include <tqdir.h>
#include <tqlabel.h> #include <tqlabel.h>

@ -38,7 +38,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <tdesu/client.h> #include <tdesu/client.h>
#include <kwin.h> #include <twin.h>
#include <kdialog.h> #include <kdialog.h>
#include <ksystemtray.h> #include <ksystemtray.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>

@ -160,7 +160,7 @@ Comment[uz]=HTTP keshidagi eski elementlarni oʻchiradi
Comment[uz@cyrillic]=HTTP кэшидаги эски элементларни ўчиради Comment[uz@cyrillic]=HTTP кэшидаги эски элементларни ўчиради
Comment[ven]=I kulumaga zwithu zwakale u bva kha HTTP cache Comment[ven]=I kulumaga zwithu zwakale u bva kha HTTP cache
Comment[vi]=Xoá sạch các mục nhập cũ ra bộ nhớ tạm HTTP. Comment[vi]=Xoá sạch các mục nhập cũ ra bộ nhớ tạm HTTP.
Comment[xh]=Icoca amangeno amadala asuka kwindawo efihlakeleyo yokugcina ye HTTP Comment[xh]=Icoca amangeno amadala asuka twindawo efihlakeleyo yokugcina ye HTTP
Comment[zh_CN]=从 HTTP 缓存中清除旧条目 Comment[zh_CN]=从 HTTP 缓存中清除旧条目
Comment[zh_HK]=從 HTTP 快取中清除舊的項目 Comment[zh_HK]=從 HTTP 快取中清除舊的項目
Comment[zh_TW]=從 HTTP 快取中清除舊的項目 Comment[zh_TW]=從 HTTP 快取中清除舊的項目

@ -57,7 +57,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif #endif
#include <kidna.h> #include <kidna.h>
#include <kwin.h> #include <twin.h>
#include <klocale.h> #include <klocale.h>
#include <kglobal.h> #include <kglobal.h>
#include <kurllabel.h> #include <kurllabel.h>

@ -26,7 +26,7 @@
#include <tqprogressbar.h> #include <tqprogressbar.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <kwin.h> #include <twin.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <klocale.h>

@ -52,7 +52,7 @@
#include <klocale.h> #include <klocale.h>
#include <kinstance.h> #include <kinstance.h>
#include <kwin.h> #include <twin.h>
#include <kurl.h> #include <kurl.h>
#include <kaction.h> #include <kaction.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>

@ -74,7 +74,7 @@
#include <klocale.h> #include <klocale.h>
#include <kinstance.h> #include <kinstance.h>
#include <kwin.h> #include <twin.h>
#include <kaction.h> #include <kaction.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <kmessagebox.h> #include <kmessagebox.h>

@ -30,7 +30,7 @@
#include <tqtabbar.h> #include <tqtabbar.h>
#include <tqgroupbox.h> #include <tqgroupbox.h>
#include <tqtoolbutton.h> #include <tqtoolbutton.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqtooltip.h> #include <tqtooltip.h>
#include <tqdrawutil.h> #include <tqdrawutil.h>
#include <tqlistview.h> #include <tqlistview.h>

@ -2689,7 +2689,7 @@ void PlastikStyle::tqdrawControl(TQ_ControlElement element,
break; break;
} }
// Menu and dockwindow empty space // Menu and doctwindow empty space
// //
case CE_DockWindowEmptyArea: case CE_DockWindowEmptyArea:
p->fillRect(r, cg.background()); p->fillRect(r, cg.background());

@ -48,8 +48,8 @@ install( FILES
kurl.h ksock.h kaboutdata.h kcmdlineargs.h kconfigbackend.h kurl.h ksock.h kaboutdata.h kcmdlineargs.h kconfigbackend.h
kapp.h kapplication.h kuniqueapp.h kuniqueapplication.h kapp.h kapplication.h kuniqueapp.h kuniqueapplication.h
kcharsets.h kdeversion.h kpty.h kprocess.h kprocctrl.h kcharsets.h kdeversion.h kpty.h kprocess.h kprocctrl.h
klocale.h kicontheme.h kiconloader.h kdebug.h kwinmodule.h klocale.h kicontheme.h kiconloader.h kdebug.h twinmodule.h
kwin.h krootprop.h kshortcut.h kkeynative.h kaccel.h twin.h krootprop.h kshortcut.h kkeynative.h kaccel.h
kglobalaccel.h kstdaccel.h kshortcutlist.h kcatalogue.h kglobalaccel.h kstdaccel.h kshortcutlist.h kcatalogue.h
kregexp.h kcompletion.h kstringhandler.h kstddirs.h kregexp.h kcompletion.h kstringhandler.h kstddirs.h
kstandarddirs.h kglobal.h kglobalsettings.h ksharedptr.h kstandarddirs.h kglobal.h kglobalsettings.h ksharedptr.h
@ -98,7 +98,7 @@ set( ${target}_SRCS
kmanagerselection.cpp kdesktopfile.cpp kstandarddirs.cpp kmanagerselection.cpp kdesktopfile.cpp kstandarddirs.cpp
ksock.cpp kpty.cpp kprocess.cpp kprocctrl.cpp klocale.cpp ksock.cpp kpty.cpp kprocess.cpp kprocctrl.cpp klocale.cpp
krfcdate.cpp kiconeffect.cpp kicontheme.cpp kiconloader.cpp krfcdate.cpp kiconeffect.cpp kicontheme.cpp kiconloader.cpp
kwin.cpp kwinmodule.cpp krootprop.cpp kcharsets.cpp twin.cpp twinmodule.cpp krootprop.cpp kcharsets.cpp
kckey.cpp kshortcut.cpp kkeynative_x11.cpp kkeyserver_x11.cpp kckey.cpp kshortcut.cpp kkeynative_x11.cpp kkeyserver_x11.cpp
kaccelaction.cpp kshortcutmenu.cpp kaccelbase.cpp kaccel.cpp kaccelaction.cpp kshortcutmenu.cpp kaccelbase.cpp kaccel.cpp
kglobalaccel_x11.cpp kglobalaccel.cpp kstdaccel.cpp kshortcutlist.cpp kglobalaccel_x11.cpp kglobalaccel.cpp kstdaccel.cpp kshortcutlist.cpp

@ -71,8 +71,8 @@ ktempfile.cpp Waldo Bastian <bastian@kde.org>
kuniqueapplication.cpp Waldo Bastian <bastian@kde.org> kuniqueapplication.cpp Waldo Bastian <bastian@kde.org>
kurl.cpp Waldo Bastian <bastian@kde.org> kurl.cpp Waldo Bastian <bastian@kde.org>
kurldrag.cpp David Faure <faure@kde.org> kurldrag.cpp David Faure <faure@kde.org>
kwin.cpp Lubos Lunak <l.lunak@kde.org> twin.cpp Lubos Lunak <l.lunak@kde.org>
kwinmodule.cpp Lubos Lunak <l.lunak@kde.org> twinmodule.cpp Lubos Lunak <l.lunak@kde.org>
kxmessages.cpp Lubos Lunak <l.lunak@kde.org> kxmessages.cpp Lubos Lunak <l.lunak@kde.org>
kxerrorhandler.cpp Lubos Lunak <l.lunak@kde.org> kxerrorhandler.cpp Lubos Lunak <l.lunak@kde.org>
libintl.cpp Hans Petter Bieker <bieker@kde.org> libintl.cpp Hans Petter Bieker <bieker@kde.org>

@ -42,7 +42,7 @@ include_HEADERS = kconfig.h kconfigskeleton.h \
kcmdlineargs.h kconfigbackend.h kapp.h kapplication.h kuniqueapp.h \ kcmdlineargs.h kconfigbackend.h kapp.h kapplication.h kuniqueapp.h \
kuniqueapplication.h kcharsets.h kdeversion.h kpty.h kprocess.h \ kuniqueapplication.h kcharsets.h kdeversion.h kpty.h kprocess.h \
kprocctrl.h klocale.h kicontheme.h kiconloader.h kdebug.h \ kprocctrl.h klocale.h kicontheme.h kiconloader.h kdebug.h \
kwinmodule.h kwin.h krootprop.h kshortcut.h kkeynative.h kaccel.h \ twinmodule.h twin.h krootprop.h kshortcut.h kkeynative.h kaccel.h \
kglobalaccel.h kstdaccel.h kshortcutlist.h kcatalogue.h \ kglobalaccel.h kstdaccel.h kshortcutlist.h kcatalogue.h \
kregexp.h kcompletion.h kstringhandler.h \ kregexp.h kcompletion.h kstringhandler.h \
kstddirs.h kstandarddirs.h kglobal.h kglobalsettings.h ksharedptr.h \ kstddirs.h kstandarddirs.h kglobal.h kglobalsettings.h ksharedptr.h \
@ -94,7 +94,7 @@ libtdecore_la_SOURCES = libintl.cpp kapplication.cpp \
kconfigbackend.cpp kmanagerselection.cpp kdesktopfile.cpp \ kconfigbackend.cpp kmanagerselection.cpp kdesktopfile.cpp \
kstandarddirs.cpp ksock.cpp kpty.cpp kprocess.cpp kprocctrl.cpp \ kstandarddirs.cpp ksock.cpp kpty.cpp kprocess.cpp kprocctrl.cpp \
klocale.cpp krfcdate.cpp kiconeffect.cpp kicontheme.cpp \ klocale.cpp krfcdate.cpp kiconeffect.cpp kicontheme.cpp \
kiconloader.cpp kwin.cpp kwinmodule.cpp krootprop.cpp kcharsets.cpp \ kiconloader.cpp twin.cpp twinmodule.cpp krootprop.cpp kcharsets.cpp \
kckey.cpp kshortcut.cpp kkeynative_x11.cpp kkeyserver_x11.cpp \ kckey.cpp kshortcut.cpp kkeynative_x11.cpp kkeyserver_x11.cpp \
kaccelaction.cpp kshortcutmenu.cpp kaccelbase.cpp kaccel.cpp \ kaccelaction.cpp kshortcutmenu.cpp kaccelbase.cpp kaccel.cpp \
kglobalaccel_x11.cpp kglobalaccel.cpp kstdaccel.cpp kshortcutlist.cpp \ kglobalaccel_x11.cpp kglobalaccel.cpp kstdaccel.cpp kshortcutlist.cpp \

@ -239,7 +239,7 @@ action/menuedit
KWin related: KWin related:
action/kwin_rmb // RMB window context menu action/twin_rmb // RMB window context menu
Konsole related: Konsole related:
action/konsole_rmb // RMB context menu action/konsole_rmb // RMB context menu

@ -1648,7 +1648,7 @@ Name[gl]=Eslávo Eclesiástico
Name[he]=סלבית כנסייתית Name[he]=סלבית כנסייתית
Name[hi]=चर्च स्लाविक Name[hi]=चर्च स्लाविक
Name[hr]=Crkveni pravoslavni Name[hr]=Crkveni pravoslavni
Name[hsb]=Cyrkwinosłowjansce Name[hsb]=Cyrtwinosłowjansce
Name[hu]=Szláv (egyházi) Name[hu]=Szláv (egyházi)
Name[is]=Kirkju-slavneska Name[is]=Kirkju-slavneska
Name[it]=Slavo della Chiesa Name[it]=Slavo della Chiesa

@ -104,7 +104,7 @@
#include <sys/types.h> #include <sys/types.h>
#ifndef Q_WS_WIN #ifndef Q_WS_WIN
#include "kwin.h" #include "twin.h"
#endif #endif
#include <fcntl.h> #include <fcntl.h>

@ -1078,7 +1078,7 @@ public:
/** /**
* Updates the last user action timestamp to the given time, or to the current time, * Updates the last user action timestamp to the given time, or to the current time,
* if 0 is given. Do not use unless you're really sure what you're doing. * if 0 is given. Do not use unless you're really sure what you're doing.
* Consult focus stealing prevention section in kdebase/kwin/README. * Consult focus stealing prevention section in kdebase/twin/README.
* @since 3.2 * @since 3.2
*/ */
void updateUserTimestamp( unsigned long time = 0 ); void updateUserTimestamp( unsigned long time = 0 );
@ -1095,7 +1095,7 @@ public:
* to the given time, or to this application's user time, if 0 is given. * to the given time, or to this application's user time, if 0 is given.
* Use before causing user interaction in the remote application, e.g. invoking a dialog * Use before causing user interaction in the remote application, e.g. invoking a dialog
* in the application using a DCOP call. * in the application using a DCOP call.
* Consult focus stealing prevention section in kdebase/kwin/README. * Consult focus stealing prevention section in kdebase/twin/README.
* @since 3.3 * @since 3.3
*/ */
void updateRemoteUserTimestamp( const TQCString& dcopId, unsigned long time = 0 ); void updateRemoteUserTimestamp( const TQCString& dcopId, unsigned long time = 0 );

@ -80,11 +80,11 @@
1208 kcontrol 1208 kcontrol
1210 kicker 1210 kicker
1211 konsole 1211 konsole
1212 kwin 1212 twin
1213 kappfinder 1213 kappfinder
1214 kdesktop (icons) 1214 kdesktop (icons)
1215 ksysguard 1215 ksysguard
1216 kwin (client errors) 1216 twin (client errors)
1217 khotkeys 1217 khotkeys
1218 ksmserver 1218 ksmserver
1219 media kioslave 1219 media kioslave
@ -360,7 +360,7 @@
12007 kolf 12007 kolf
12008 kbounce 12008 kbounce
12009 kblackbox 12009 kblackbox
12010 kwin4 12010 twin4
12011 kenolaba 12011 kenolaba
12012 kasteroids 12012 kasteroids

@ -51,7 +51,7 @@ int main(int argc, char **argv)
KApplication app; KApplication app;
KConfig config("kwinrc", true); KConfig config("twinrc", true);
config.setGroup( "Notification Messages" ); config.setGroup( "Notification Messages" );
if (!config.readBoolEntry("UseTranslucency",false)) { if (!config.readBoolEntry("UseTranslucency",false)) {
// Attempt to load the kompmgr pid file // Attempt to load the kompmgr pid file
@ -100,7 +100,7 @@ int main(int argc, char **argv)
// app.detectCompositionManagerAvailable(); // app.detectCompositionManagerAvailable();
// if (!app.isCompositionManagerAvailable()) { // if (!app.isCompositionManagerAvailable()) {
KConfig config2("kwinrc", true); KConfig config2("twinrc", true);
config2.setGroup( "Notification Messages" ); config2.setGroup( "Notification Messages" );
if (config2.readBoolEntry("UseTranslucency",false)) { if (config2.readBoolEntry("UseTranslucency",false)) {
app.detectCompositionManagerAvailable(true, true); app.detectCompositionManagerAvailable(true, true);

@ -38,7 +38,7 @@ static bool canAvoidStartupEvent( const TQString& event, const TQString& appname
static bool checkAvoid = true; static bool checkAvoid = true;
if( !checkAvoid ) if( !checkAvoid )
return false; return false;
if(( appname != "kwin" && appname != "ksmserver" ) || present > 0 ) { if(( appname != "twin" && appname != "ksmserver" ) || present > 0 ) {
checkAvoid = false; checkAvoid = false;
return false; return false;
} }

@ -58,9 +58,9 @@ DEALINGS IN THE SOFTWARE.
#include <kapplication.h> #include <kapplication.h>
#include <signal.h> #include <signal.h>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwinmodule.h> #include <twinmodule.h>
#include <kxmessages.h> #include <kxmessages.h>
#include <kwin.h> #include <twin.h>
#endif #endif
static const char* const NET_STARTUP_MSG = "_NET_STARTUP_INFO"; static const char* const NET_STARTUP_MSG = "_NET_STARTUP_INFO";

@ -39,7 +39,7 @@
#include <kaboutdata.h> #include <kaboutdata.h>
#if defined Q_WS_X11 #if defined Q_WS_X11
#include <kwin.h> #include <twin.h>
#include <kstartupinfo.h> #include <kstartupinfo.h>
#endif #endif

@ -34,7 +34,7 @@
#include <tqdialog.h> #include <tqdialog.h>
#include "config.h" #include "config.h"
#include "kwin.h" #include "twin.h"
#include "kapplication.h" #include "kapplication.h"
#include <kglobal.h> #include <kglobal.h>
@ -62,10 +62,10 @@ static Atom net_wm_context_help;
static Atom kde_wm_change_state; static Atom kde_wm_change_state;
static Atom kde_wm_window_opacity; static Atom kde_wm_window_opacity;
static Atom kde_wm_window_shadow; static Atom kde_wm_window_shadow;
static Atom kwin_UTF8_STRING; static Atom twin_UTF8_STRING;
static Atom net_wm_cm; static Atom net_wm_cm;
static void kwin_net_create_atoms() { static void twin_net_create_atoms() {
if (!atoms_created){ if (!atoms_created){
const int max = 20; const int max = 20;
Atom* atoms[max]; Atom* atoms[max];
@ -146,7 +146,7 @@ static void sendClientMessage(Window w, Atom a, long x){
bool KWin::compositingActive() bool KWin::compositingActive()
{ {
#ifdef Q_WS_X11 #ifdef Q_WS_X11
kwin_net_create_atoms(); twin_net_create_atoms();
return XGetSelectionOwner( qt_xdisplay(), net_wm_cm ) != None; return XGetSelectionOwner( qt_xdisplay(), net_wm_cm ) != None;
#else #else
return false; return false;
@ -166,7 +166,7 @@ public:
ContextWidget::ContextWidget() ContextWidget::ContextWidget()
: TQWidget(0,0) : TQWidget(0,0)
{ {
kwin_net_create_atoms(); twin_net_create_atoms();
kapp->installX11EventFilter( this ); kapp->installX11EventFilter( this );
TQWhatsThis::enterWhatsThisMode(); TQWhatsThis::enterWhatsThisMode();
TQCursor c = *TQApplication::overrideCursor(); TQCursor c = *TQApplication::overrideCursor();
@ -561,7 +561,7 @@ void KWin::clearState( WId win, unsigned long state )
void KWin::setOpacity( WId win, uint percent ) void KWin::setOpacity( WId win, uint percent )
{ {
#ifdef Q_WS_X11 #ifdef Q_WS_X11
kwin_net_create_atoms(); twin_net_create_atoms();
if (percent > 99) if (percent > 99)
XDeleteProperty (qt_xdisplay(), win, kde_wm_window_opacity); XDeleteProperty (qt_xdisplay(), win, kde_wm_window_opacity);
else else
@ -575,7 +575,7 @@ void KWin::setOpacity( WId win, uint percent )
void KWin::setShadowSize( WId win, uint percent ) void KWin::setShadowSize( WId win, uint percent )
{ {
#ifdef Q_WS_X11 #ifdef Q_WS_X11
kwin_net_create_atoms(); twin_net_create_atoms();
long shadowSize = long(0xFFFFFFFF/100.0*percent); long shadowSize = long(0xFFFFFFFF/100.0*percent);
XChangeProperty(qt_xdisplay(), win, kde_wm_window_shadow, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &shadowSize, 1L); XChangeProperty(qt_xdisplay(), win, kde_wm_window_shadow, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &shadowSize, 1L);
#endif #endif
@ -686,7 +686,7 @@ void KWin::iconifyWindow( WId win, bool animation)
#ifdef Q_WS_X11 #ifdef Q_WS_X11
if ( !animation ) if ( !animation )
{ {
kwin_net_create_atoms(); twin_net_create_atoms();
sendClientMessageToRoot( win, kde_wm_change_state, IconicState, 1 ); sendClientMessageToRoot( win, kde_wm_change_state, IconicState, 1 );
} }
XIconifyWindow( qt_xdisplay(), win, qt_xscreen() ); XIconifyWindow( qt_xdisplay(), win, qt_xscreen() );
@ -699,7 +699,7 @@ void KWin::deIconifyWindow( WId win, bool animation )
#ifdef Q_WS_X11 #ifdef Q_WS_X11
if ( !animation ) if ( !animation )
{ {
kwin_net_create_atoms(); twin_net_create_atoms();
sendClientMessageToRoot( win, kde_wm_change_state, NormalState, 1 ); sendClientMessageToRoot( win, kde_wm_change_state, NormalState, 1 );
} }
XMapWindow( qt_xdisplay(), win ); XMapWindow( qt_xdisplay(), win );
@ -1245,10 +1245,10 @@ TQString KWin::readNameProperty( WId win, unsigned long atom )
#ifdef Q_WS_X11 #ifdef Q_WS_X11
if ( XGetTextProperty( qt_xdisplay(), win, &tp, atom ) != 0 && tp.value != NULL ) if ( XGetTextProperty( qt_xdisplay(), win, &tp, atom ) != 0 && tp.value != NULL )
{ {
if (!kwin_UTF8_STRING) if (!twin_UTF8_STRING)
kwin_UTF8_STRING = XInternAtom( qt_xdisplay(), "UTF8_STRING", False); twin_UTF8_STRING = XInternAtom( qt_xdisplay(), "UTF8_STRING", False);
if ( tp.encoding == kwin_UTF8_STRING ) { if ( tp.encoding == twin_UTF8_STRING ) {
result = TQString::fromUtf8 ( (const char*) tp.value ); result = TQString::fromUtf8 ( (const char*) tp.value );
} }
else if ( XmbTextPropertyToTextList( qt_xdisplay(), &tp, &text, &count) == Success && else if ( XmbTextPropertyToTextList( qt_xdisplay(), &tp, &text, &count) == Success &&

@ -81,7 +81,7 @@ public:
* and normal applications are forbidden to use it. * and normal applications are forbidden to use it.
* *
* In case of problems, consult the KWin README in the kdebase * In case of problems, consult the KWin README in the kdebase
* package (kdebase/kwin/README), or ask on the kwin@kde.org * package (kdebase/twin/README), or ask on the twin@kde.org
* mailing list. * mailing list.
* *
* @param win the id of the window to make active * @param win the id of the window to make active

@ -23,8 +23,8 @@
#include <tqwidget.h> #include <tqwidget.h>
#ifdef Q_WS_X11 //FIXME #ifdef Q_WS_X11 //FIXME
#include "kwinmodule.h" #include "twinmodule.h"
#include "kwin.h" #include "twin.h"
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include "kapplication.h" #include "kapplication.h"
#include "kdebug.h" #include "kdebug.h"
@ -114,13 +114,13 @@ public:
}; };
KWinModule::KWinModule( TQObject* parent ) KWinModule::KWinModule( TQObject* parent )
: TQObject( parent, "kwin_module" ) : TQObject( parent, "twin_module" )
{ {
init(INFO_ALL); init(INFO_ALL);
} }
KWinModule::KWinModule( TQObject* parent, int what ) KWinModule::KWinModule( TQObject* parent, int what )
: TQObject( parent, "kwin_module" ) : TQObject( parent, "twin_module" )
{ {
init(what); init(what);
} }
@ -186,7 +186,7 @@ TQSize KWinModulePrivate::numberOfViewports(int desktop) const
TQSize s(netdesktop.width / TQApplication::desktop()->width(), TQSize s(netdesktop.width / TQApplication::desktop()->width(),
netdesktop.height / TQApplication::desktop()->height()); netdesktop.height / TQApplication::desktop()->height());
// workaround some kwin bugs // workaround some twin bugs
if (s.width() < 1) s.setWidth(1); if (s.width() < 1) s.setWidth(1);
if (s.height() < 1) s.setHeight(1); if (s.height() < 1) s.setHeight(1);
return s; return s;
@ -474,9 +474,9 @@ void KWinModule::doNotManage( const TQString& title )
TQCString replyType; TQCString replyType;
TQDataStream arg(data, IO_WriteOnly); TQDataStream arg(data, IO_WriteOnly);
arg << title; arg << title;
kapp->dcopClient()->call("kwin", "", "doNotManage(TQString)", kapp->dcopClient()->call("twin", "", "doNotManage(TQString)",
data, replyType, replyData); data, replyType, replyData);
} }
#include "kwinmodule.moc" #include "twinmodule.moc"
#endif #endif

@ -17,7 +17,7 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
/* /*
* kwinmodule.h. Part of the KDE project. * twinmodule.h. Part of the KDE project.
*/ */
#ifndef KWINMODULE_H #ifndef KWINMODULE_H
@ -220,7 +220,7 @@ public:
bool showingDesktop() const; bool showingDesktop() const;
/** /**
* Informs kwin via dcop to not manage a window with the * Informs twin via dcop to not manage a window with the
* specified @p title. * specified @p title.
* *
* Useful for swallowing legacy applications, for example java * Useful for swallowing legacy applications, for example java

@ -43,9 +43,9 @@ int main(int argc, char **argv)
kdDebug() << "docs " << (*it).ascii() << endl; kdDebug() << "docs " << (*it).ascii() << endl;
} }
list = t.findDirs("data", "kwin"); list = t.findDirs("data", "twin");
for (TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) { for (TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) {
kdDebug() << "kwin dirs " << (*it).ascii() << endl; kdDebug() << "twin dirs " << (*it).ascii() << endl;
} }
kdDebug() << "hit " << t.findResourceDir("config", "kcmdisplayrc") << endl; kdDebug() << "hit " << t.findResourceDir("config", "kcmdisplayrc") << endl;

@ -157,7 +157,7 @@ Description[xh]=Uncedo lokushicilela izazisi eszinkulu kumakhasi amaphepha amani
Description[zh_CN]=此工具用于在多张纸上打印大型的海报。要使用此命令,<b>poster</b> 可执行文件必须可在您的 <tt>PATH</tt> 中访问到。此工具的源代码位于<a href="http://printing.kde.org/downloads">KDEPrint 网站</a>。<p><b><u>警告:</u></b>您虽然可以在任何 CTAN 归档镜像找到的原始版本,但是在 KDEPrint 网站上找到的包对其进行了修改,原因是原始的包<b>无法</b>用于 KDE。您<b>必须</b>使用在 <a href="http://printing.kde.org/downloads">KDEPrint 网站</a>上找到的包。 Description[zh_CN]=此工具用于在多张纸上打印大型的海报。要使用此命令,<b>poster</b> 可执行文件必须可在您的 <tt>PATH</tt> 中访问到。此工具的源代码位于<a href="http://printing.kde.org/downloads">KDEPrint 网站</a>。<p><b><u>警告:</u></b>您虽然可以在任何 CTAN 归档镜像找到的原始版本,但是在 KDEPrint 网站上找到的包对其进行了修改,原因是原始的包<b>无法</b>用于 KDE。您<b>必须</b>使用在 <a href="http://printing.kde.org/downloads">KDEPrint 网站</a>上找到的包。
Description[zh_HK]=將大型海報列印在多張小型紙張上的公用程式。要使用這個命令,可執行檔<b>poster</b>必須在你的<tt>PATH</tt>中。這個公用程式的原始碼可以在<a href="http://printing.kde.org/downloads"KDEPrint 網站</a>。<p><b><u>警告:</u></b>在 KDEPrint 網站上找到的套件是修改過的版本,而非在任何 CTAN 檔案庫鏡射站中可以找到的原始版本,其原始套件<b>無法</b>在 KDE 下運作。你<b>必須</b>使用在<a href="http://printing.kde.org/downloads">KDEPrint 網站</a>上的套件。 Description[zh_HK]=將大型海報列印在多張小型紙張上的公用程式。要使用這個命令,可執行檔<b>poster</b>必須在你的<tt>PATH</tt>中。這個公用程式的原始碼可以在<a href="http://printing.kde.org/downloads"KDEPrint 網站</a>。<p><b><u>警告:</u></b>在 KDEPrint 網站上找到的套件是修改過的版本,而非在任何 CTAN 檔案庫鏡射站中可以找到的原始版本,其原始套件<b>無法</b>在 KDE 下運作。你<b>必須</b>使用在<a href="http://printing.kde.org/downloads">KDEPrint 網站</a>上的套件。
Description[zh_TW]=將大型海報列印在多張小型紙張上的公用程式。要使用這個命令,可執行檔<b>poster</b>必須在您的<tt>PATH</tt>中。這個公用程式的原始碼可以在<a href="http://printing.kde.org/downloads"KDEPrint 網站</a>。<p><b><u>警告:</u></b>在 KDEPrint 網站上找到的套件是修改過的版本,而非在任何 CTAN 檔案庫鏡射站中可以找到的原始版本,其原始套件<b>無法</b>在 KDE 下運作。您<b>必須</b>使用在<a href="http://printing.kde.org/downloads">KDEPrint 網站</a>上的套件。 Description[zh_TW]=將大型海報列印在多張小型紙張上的公用程式。要使用這個命令,可執行檔<b>poster</b>必須在您的<tt>PATH</tt>中。這個公用程式的原始碼可以在<a href="http://printing.kde.org/downloads"KDEPrint 網站</a>。<p><b><u>警告:</u></b>在 KDEPrint 網站上找到的套件是修改過的版本,而非在任何 CTAN 檔案庫鏡射站中可以找到的原始版本,其原始套件<b>無法</b>在 KDE 下運作。您<b>必須</b>使用在<a href="http://printing.kde.org/downloads">KDEPrint 網站</a>上的套件。
Description[zu]=Insebenziso yokushicicela amabhodi emiyalezo emikhulu kumapheshana ekhasi eliningana elincane. Ukusebenzisa lomyalelo, ibhodi <b> lomyalezo</b> eliphumelelisekayo kumele lingeniswe ngokunemvume kweyakho <tt>Indlela</tt>. Ikhodi lemvelaphi lalokhu k kusebenzisa kungaba kwi <a href="http://printing.kde.org/downloads"> kwindawo yeweb ye KDEPrint</a>. <p><b><u>Isexwayiso:</u></b> Iphakethe elitholakala kwindawo yeweb ye-KDEPrint inguguqulelo olushintshiweyo lwasekuqaleni lolo olungatholakala kunoma yisiphi isibuko somqulu we CTAN, kodwa iphakethe lasekuqaleni <b>angeke </b> lisebenze nge-KDE. Wena<b>kumele</b> usebenzise iphakethe elitholakala e <a href="http://printing.kde.org/downloads">kwindawo yeweb ye-KDEPrint</a>. Description[zu]=Insebenziso yokushicicela amabhodi emiyalezo emikhulu kumapheshana ekhasi eliningana elincane. Ukusebenzisa lomyalelo, ibhodi <b> lomyalezo</b> eliphumelelisekayo kumele lingeniswe ngokunemvume kweyakho <tt>Indlela</tt>. Ikhodi lemvelaphi lalokhu k kusebenzisa kungaba kwi <a href="http://printing.kde.org/downloads"> twindawo yeweb ye KDEPrint</a>. <p><b><u>Isexwayiso:</u></b> Iphakethe elitholakala twindawo yeweb ye-KDEPrint inguguqulelo olushintshiweyo lwasekuqaleni lolo olungatholakala kunoma yisiphi isibuko somqulu we CTAN, kodwa iphakethe lasekuqaleni <b>angeke </b> lisebenze nge-KDE. Wena<b>kumele</b> usebenzise iphakethe elitholakala e <a href="http://printing.kde.org/downloads">twindawo yeweb ye-KDEPrint</a>.
MimeTypeIn=application/postscript MimeTypeIn=application/postscript
MimeTypeOut=application/postscript MimeTypeOut=application/postscript
Require=exec:/poster Require=exec:/poster

@ -43,7 +43,7 @@
#include <kcursor.h> #include <kcursor.h>
#include <kmenubar.h> #include <kmenubar.h>
#include <kdebug.h> #include <kdebug.h>
#include <kwin.h> #include <twin.h>
#include <kio/netaccess.h> #include <kio/netaccess.h>
#include <tqtimer.h> #include <tqtimer.h>
#include <tqlayout.h> #include <tqlayout.h>

@ -673,7 +673,7 @@ Description[uz@cyrillic]=Ташқи факсга жўнатиш
Description[ven]=Rumelani kha sisitemu ya maitele a nnda a fekisi Description[ven]=Rumelani kha sisitemu ya maitele a nnda a fekisi
Description[vi]=Gởi tới hệ thống điện thư bên ngoài. Description[vi]=Gởi tới hệ thống điện thư bên ngoài.
Description[wa]=Evoyî so on dfoûtrin sistinme di facs Description[wa]=Evoyî so on dfoûtrin sistinme di facs
Description[xh]=Thumela kwindlela engaphandle ye fax Description[xh]=Thumela twindlela engaphandle ye fax
Description[zh_CN]=发至外部传真系统 Description[zh_CN]=发至外部传真系统
Description[zh_HK]=發送到外部傳真系統 Description[zh_HK]=發送到外部傳真系統
Description[zh_TW]=發送到外部傳真系統 Description[zh_TW]=發送到外部傳真系統

@ -32,7 +32,7 @@
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kwin.h> #include <twin.h>
#include <kapplication.h> #include <kapplication.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqtimer.h> #include <tqtimer.h>

@ -46,7 +46,7 @@ install( FILES
kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.h kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.h
knuminput.h kseparator.h klineedit.h knuminput.h kseparator.h klineedit.h
krestrictedline.h kcolorbutton.h kcolorbtn.h krestrictedline.h kcolorbutton.h kcolorbtn.h
ksystemtray.h kdockwindow.h kbuttonbox.h ksystemtray.h kdoctwindow.h kbuttonbox.h
keditcl.h kled.h keditlistbox.h keditcl.h kled.h keditlistbox.h
kwizard.h kkeydialog.h kkeybutton.h kwizard.h kkeydialog.h kkeybutton.h
kurllabel.h kruler.h kcursor.h kurllabel.h kruler.h kcursor.h
@ -67,9 +67,9 @@ install( FILES
krootpixmap.h kaboutkde.h kaboutapplication.h krootpixmap.h kaboutkde.h kaboutapplication.h
kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h
kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h
kcommand.h kwindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h kcommand.h twindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h
kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h
kstringvalidator.h kwindowinfo.h kstringvalidator.h twindowinfo.h
ktextedit.h kpassivepopup.h ktextedit.h kpassivepopup.h
kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h
kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h
@ -130,11 +130,11 @@ set( ${target}_SRCS
kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp
kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp
kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp
kcommand.cpp kwindowlistmenu.cpp kfontcombo.cpp ktip.cpp kcommand.cpp twindowlistmenu.cpp kfontcombo.cpp ktip.cpp
kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp
kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp
kstringvalidator.cpp kactivelabel.cpp kstringvalidator.cpp kactivelabel.cpp
kwindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp twindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp
ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp
ksconfig.cpp kspelldlg.cpp ksconfig.cpp kspelldlg.cpp
kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp

@ -88,7 +88,7 @@ ktoolbar.cpp Waldo Bastian <bastian@kde.org>
ktoolbarbutton.cpp Waldo Bastian <bastian@kde.org> ktoolbarbutton.cpp Waldo Bastian <bastian@kde.org>
ktoolbarradiogroup.cpp ktoolbarradiogroup.cpp
kurllabel.cpp kurllabel.cpp
kwindowlistmenu.cpp twindowlistmenu.cpp
kwizard.cpp kwizard.cpp
kwordwrap.cpp David Faure <faure@kde.org> kwordwrap.cpp David Faure <faure@kde.org>
kxmlguibuilder.cpp kxmlguibuilder.cpp

@ -43,7 +43,7 @@ include_HEADERS = kprogressbox.h kprogress.h kcolordlg.h \
kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.h \ kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.h \
knuminput.h kseparator.h klineedit.h \ knuminput.h kseparator.h klineedit.h \
krestrictedline.h kcolorbutton.h kcolorbtn.h \ krestrictedline.h kcolorbutton.h kcolorbtn.h \
ksystemtray.h kdockwindow.h kbuttonbox.h \ ksystemtray.h kdoctwindow.h kbuttonbox.h \
keditcl.h kled.h keditlistbox.h \ keditcl.h kled.h keditlistbox.h \
kwizard.h kkeydialog.h kkeybutton.h \ kwizard.h kkeydialog.h kkeybutton.h \
kurllabel.h kruler.h kcursor.h \ kurllabel.h kruler.h kcursor.h \
@ -64,9 +64,9 @@ include_HEADERS = kprogressbox.h kprogress.h kcolordlg.h \
krootpixmap.h kaboutkde.h kaboutapplication.h \ krootpixmap.h kaboutkde.h kaboutapplication.h \
kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h \ kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h \
kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h \ kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h \
kcommand.h kwindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h \ kcommand.h twindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h \
kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h \ kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h \
kstringvalidator.h kwindowinfo.h \ kstringvalidator.h twindowinfo.h \
ktextedit.h kpassivepopup.h \ ktextedit.h kpassivepopup.h \
kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h \ kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h \
kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h \ kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h \
@ -111,11 +111,11 @@ libtdeui_la_SOURCES = \
kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp \ kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp \
kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp \ kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp \
kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp \ kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp \
kcommand.cpp kwindowlistmenu.cpp kfontcombo.cpp ktip.cpp \ kcommand.cpp twindowlistmenu.cpp kfontcombo.cpp ktip.cpp \
kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp \ kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp \
kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp \ kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp \
kstringvalidator.cpp kactivelabel.cpp \ kstringvalidator.cpp kactivelabel.cpp \
kwindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp \ twindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp \
ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp \ ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp \
ksconfig.cpp kspelldlg.cpp \ ksconfig.cpp kspelldlg.cpp \
kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp \ kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp \

@ -345,8 +345,8 @@ const char * const packages[] = {
"kcontrol/kcmksplash", "kcontrol/kcmksplash",
"kcontrol/kcmkurifilt", "kcontrol/kcmkurifilt",
"kcontrol/kcmkvaio", "kcontrol/kcmkvaio",
"kcontrol/kcmkwindecoration", "kcontrol/kcmtwindecoration",
"kcontrol/kcmkwinoptions", "kcontrol/kcmtwinoptions",
"kcontrol/kcmlanbrowser", "kcontrol/kcmlanbrowser",
"kcontrol/kcmlaptop", "kcontrol/kcmlaptop",
"kcontrol/kcmlilo", "kcontrol/kcmlilo",
@ -1150,15 +1150,15 @@ const char * const packages[] = {
"kwebget", "kwebget",
"kwifimanager", "kwifimanager",
"kwikdisk", "kwikdisk",
"kwin", "twin",
"kwin/compatibility", "twin/compatibility",
"kwin/compositing", "twin/compositing",
"kwin/decorations", "twin/decorations",
"kwin/eyecandy", "twin/eyecandy",
"kwin/multihead", "twin/multihead",
"kwin/xinerama", "twin/xinerama",
"kwin4", "twin4",
"kwintv", "twintv",
"kwireless", "kwireless",
"kword", "kword",
"kword/filters", "kword/filters",
@ -1281,9 +1281,9 @@ const char * const packages[] = {
"systemsettings/khotkeys", "systemsettings/khotkeys",
"systemsettings/ksplashthememgr", "systemsettings/ksplashthememgr",
"systemsettings/kthememanager", "systemsettings/kthememanager",
"systemsettings/kwincompositing", "systemsettings/twincompositing",
"systemsettings/kwindecoration", "systemsettings/twindecoration",
"systemsettings/kwinoptions", "systemsettings/twinoptions",
"systemsettings/language", "systemsettings/language",
"systemsettings/mouse", "systemsettings/mouse",
"systemsettings/netpref", "systemsettings/netpref",

@ -22,7 +22,7 @@
#include <tqvaluelist.h> #include <tqvaluelist.h>
#include <kmanagerselection.h> #include <kmanagerselection.h>
#include <kwinmodule.h> #include <twinmodule.h>
#include <tqwidget.h> #include <tqwidget.h>
class KDETrayProxy class KDETrayProxy

@ -38,7 +38,7 @@
#include <klocale.h> #include <klocale.h>
#include <ktoolbar.h> #include <ktoolbar.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <kwin.h> #include <twin.h>
#include <kdebug.h> #include <kdebug.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>

@ -42,7 +42,7 @@
#include <khelpmenu.h> #include <khelpmenu.h>
#include <kmenubar.h> #include <kmenubar.h>
#include <kstatusbar.h> #include <kstatusbar.h>
#include <kwin.h> #include <twin.h>
#include <kedittoolbar.h> #include <kedittoolbar.h>
#include <kmainwindow.h> #include <kmainwindow.h>

@ -41,8 +41,8 @@
#include <kmanagerselection.h> #include <kmanagerselection.h>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwin.h> #include <twin.h>
#include <kwinmodule.h> #include <twinmodule.h>
#include <qxembed.h> #include <qxembed.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>

@ -36,7 +36,7 @@
#include <kapplication.h> #include <kapplication.h>
#include <klocale.h> #include <klocale.h>
#include <kwin.h> #include <twin.h>
KProgress::KProgress(TQWidget *parent, const char *name, WFlags f) KProgress::KProgress(TQWidget *parent, const char *name, WFlags f)
: TQProgressBar(parent, name, f), : TQProgressBar(parent, name, f),

@ -39,7 +39,7 @@
#include <kapplication.h> #include <kapplication.h>
#include <klocale.h> #include <klocale.h>
#include <kwin.h> #include <twin.h>
struct KProgressBoxDialog::KProgressBoxDialogPrivate struct KProgressBoxDialog::KProgressBoxDialogPrivate
{ {

@ -17,8 +17,8 @@
#include <kapplication.h> #include <kapplication.h>
#include <kimageeffect.h> #include <kimageeffect.h>
#include <kpixmapio.h> #include <kpixmapio.h>
#include <kwinmodule.h> #include <twinmodule.h>
#include <kwin.h> #include <twin.h>
#include <kdebug.h> #include <kdebug.h>
#include <netwm.h> #include <netwm.h>
#include <dcopclient.h> #include <dcopclient.h>
@ -38,7 +38,7 @@ class KRootPixmapData
public: public:
TQWidget *toplevel; TQWidget *toplevel;
#ifdef Q_WS_X11 #ifdef Q_WS_X11
KWinModule *kwin; KWinModule *twin;
#endif #endif
}; };
@ -72,9 +72,9 @@ void KRootPixmap::init()
#ifdef Q_WS_X11 #ifdef Q_WS_X11
connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool))); connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool)));
d->kwin = new KWinModule( this ); d->twin = new KWinModule( this );
connect(d->kwin, TQT_SIGNAL(windowChanged(WId, unsigned int)), TQT_SLOT(desktopChanged(WId, unsigned int))); connect(d->twin, TQT_SIGNAL(windowChanged(WId, unsigned int)), TQT_SLOT(desktopChanged(WId, unsigned int)));
connect(d->kwin, TQT_SIGNAL(currentDesktopChanged(int)), TQT_SLOT(desktopChanged(int))); connect(d->twin, TQT_SIGNAL(currentDesktopChanged(int)), TQT_SLOT(desktopChanged(int)));
#endif #endif
d->toplevel = m_pWidget->tqtopLevelWidget(); d->toplevel = m_pWidget->tqtopLevelWidget();

@ -43,7 +43,7 @@
#include <klocale.h> #include <klocale.h>
#include "kspell.h" #include "kspell.h"
#include "kspelldlg.h" #include "kspelldlg.h"
#include <kwin.h> #include <twin.h>
#include <kprocio.h> #include <kprocio.h>
#define MAXLINELENGTH 10000 #define MAXLINELENGTH 10000

@ -29,8 +29,8 @@
#include "kaboutdata.h" #include "kaboutdata.h"
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwin.h> #include <twin.h>
#include <kwinmodule.h> #include <twinmodule.h>
#include <qxembed.h> #include <qxembed.h>
#endif #endif
@ -347,4 +347,4 @@ void KSystemTray::virtual_hook( int, void* )
{ /*BASE::virtual_hook( id, data );*/ } { /*BASE::virtual_hook( id, data );*/ }
#include "ksystemtray.moc" #include "ksystemtray.moc"
#include "kdockwindow.moc" #include "kdoctwindow.moc"

@ -49,7 +49,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <kglobalsettings.h> #include <kglobalsettings.h>
#ifdef Q_WS_X11 #ifdef Q_WS_X11
#include <kwin.h> #include <twin.h>
#endif #endif
#include "ktip.h" #include "ktip.h"

@ -27,7 +27,7 @@
#ifdef KDE_USE_FINAL #ifdef KDE_USE_FINAL
#undef Always #undef Always
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#endif #endif
#include <string.h> #include <string.h>
@ -58,7 +58,7 @@
#include <kanimwidget.h> #include <kanimwidget.h>
#include <kedittoolbar.h> #include <kedittoolbar.h>
#include <kipc.h> #include <kipc.h>
#include <kwin.h> #include <twin.h>
#include <kdebug.h> #include <kdebug.h>
#include <ktoolbarbutton.h> #include <ktoolbarbutton.h>

@ -9,10 +9,10 @@
#include <tqtimer.h> #include <tqtimer.h>
#include <tqtooltip.h> #include <tqtooltip.h>
#include <ksystemtray.h> #include <ksystemtray.h>
#include <kwin.h> #include <twin.h>
#include "kwindowinfo.h" #include "twindowinfo.h"
#include "kwindowinfo.moc" #include "twindowinfo.moc"
static const int UNSPECIFIED_TIMEOUT = -1; static const int UNSPECIFIED_TIMEOUT = -1;
static const int DEFAULT_MESSAGE_TIMEOUT = 3000; static const int DEFAULT_MESSAGE_TIMEOUT = 3000;

@ -30,8 +30,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqpainter.h> #include <tqpainter.h>
#include <tqvaluelist.h> #include <tqvaluelist.h>
#include <kwin.h> #include <twin.h>
#include <kwinmodule.h> #include <twinmodule.h>
#include <klocale.h> #include <klocale.h>
#include <kstringhandler.h> #include <kstringhandler.h>
@ -42,16 +42,16 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <dcopclient.h> #include <dcopclient.h>
#undef Bool #undef Bool
#include "kwindowlistmenu.h" #include "twindowlistmenu.h"
#include "kwindowlistmenu.moc" #include "twindowlistmenu.moc"
static TQCString kwinName() { static TQCString twinName() {
TQCString appname; TQCString appname;
int screen_number = DefaultScreen(qt_xdisplay()); int screen_number = DefaultScreen(qt_xdisplay());
if (screen_number == 0) if (screen_number == 0)
appname = "kwin"; appname = "twin";
else else
appname.sprintf("kwin-screen-%d", screen_number); appname.sprintf("twin-screen-%d", screen_number);
return appname; return appname;
} }
@ -85,7 +85,7 @@ int NameSortedInfoList::compareItems( TQPtrCollection::Item s1, TQPtrCollection:
KWindowListMenu::KWindowListMenu(TQWidget *parent, const char *name) KWindowListMenu::KWindowListMenu(TQWidget *parent, const char *name)
: KPopupMenu(parent, name) : KPopupMenu(parent, name)
{ {
kwin_module = new KWinModule(TQT_TQOBJECT(this)); twin_module = new KWinModule(TQT_TQOBJECT(this));
connect(this, TQT_SIGNAL(activated(int)), TQT_SLOT(slotExec(int))); connect(this, TQT_SIGNAL(activated(int)), TQT_SLOT(slotExec(int)));
} }
@ -115,9 +115,9 @@ void KWindowListMenu::init()
int i, d; int i, d;
i = 0; i = 0;
int nd = kwin_module->numberOfDesktops(); int nd = twin_module->numberOfDesktops();
int cd = kwin_module->currentDesktop(); int cd = twin_module->currentDesktop();
WId active_window = kwin_module->activeWindow(); WId active_window = twin_module->activeWindow();
// Make sure the popup is not too wide, otherwise clicking in the middle of kdesktop // Make sure the popup is not too wide, otherwise clicking in the middle of kdesktop
// wouldn't leave any place for the popup, and release would activate some menu entry. // wouldn't leave any place for the popup, and release would activate some menu entry.
@ -139,8 +139,8 @@ void KWindowListMenu::init()
TQValueList<KWin::WindowInfo> windows; TQValueList<KWin::WindowInfo> windows;
for (TQValueList<WId>::ConstIterator it = kwin_module->windows().begin(); for (TQValueList<WId>::ConstIterator it = twin_module->windows().begin();
it != kwin_module->windows().end(); ++it) { it != twin_module->windows().end(); ++it) {
windows.append( KWin::windowInfo( *it, NET::WMDesktop )); windows.append( KWin::windowInfo( *it, NET::WMDesktop ));
} }
bool show_all_desktops_group = ( nd > 1 ); bool show_all_desktops_group = ( nd > 1 );
@ -180,7 +180,7 @@ void KWindowListMenu::init()
if ( items == 1 && nd > 1 ) if ( items == 1 && nd > 1 )
{ {
if( !on_all_desktops ) if( !on_all_desktops )
insertTitle(kwin_module->desktopName( d ), 1000 + d); insertTitle(twin_module->desktopName( d ), 1000 + d);
else else
insertTitle(i18n("On All Desktops"), 2000 ); insertTitle(i18n("On All Desktops"), 2000 );
} }
@ -242,12 +242,12 @@ void KWindowListMenu::selectActiveWindow()
void KWindowListMenu::slotUnclutterWindows() void KWindowListMenu::slotUnclutterWindows()
{ {
kapp->dcopClient()->send(kwinName(), "KWinInterface", "unclutterDesktop()", TQString("")); kapp->dcopClient()->send(twinName(), "KWinInterface", "unclutterDesktop()", TQString(""));
} }
void KWindowListMenu::slotCascadeWindows() void KWindowListMenu::slotCascadeWindows()
{ {
kapp->dcopClient()->send(kwinName(), "KWinInterface", "cascadeDesktop()", TQString("")); kapp->dcopClient()->send(twinName(), "KWinInterface", "cascadeDesktop()", TQString(""));
} }
void KWindowListMenu::virtual_hook( int id, void* data ) void KWindowListMenu::virtual_hook( int id, void* data )

@ -22,8 +22,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************/ ******************************************************************/
#ifndef __kwindowlistmenu_h__ #ifndef __twindowlistmenu_h__
#define __kwindowlistmenu_h__ #define __twindowlistmenu_h__
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <tqmap.h> #include <tqmap.h>
@ -61,7 +61,7 @@ protected slots:
void slotCascadeWindows(); void slotCascadeWindows();
private: private:
KWinModule* kwin_module; KWinModule* twin_module;
TQMap<int,WId> map; TQMap<int,WId> map;
protected: protected:
virtual void virtual_hook( int id, void* data ); virtual void virtual_hook( int id, void* data );

@ -34,7 +34,7 @@ set( test_PROGS
kpalettetest kpalettetest
kpopuptest kprogresstest krulertest kseparatortest kpopuptest kprogresstest krulertest kseparatortest
kstatusbartest ktabctltest kstatusbartest ktabctltest
kunbalancedgrdtest kwindowtest kwizardtest kunbalancedgrdtest twindowtest kwizardtest
itemcontainertest kpanelmenutest kedittest itemcontainertest kpanelmenutest kedittest
kxmlguitest kaccelgentest ksystemtraytest klistviewtest kxmlguitest kaccelgentest ksystemtraytest klistviewtest
ktextedittest kmainwindowtest kmainwindowrestoretest ktextedittest kmainwindowtest kmainwindowrestoretest

@ -33,7 +33,7 @@ check_PROGRAMS = kaboutdialogtest kblendtest kbuttonboxtest kcharselecttest \
kpalettetest \ kpalettetest \
kpopuptest kprogresstest krulertest kseparatortest \ kpopuptest kprogresstest krulertest kseparatortest \
kstatusbartest ktabctltest \ kstatusbartest ktabctltest \
kunbalancedgrdtest kwindowtest kwizardtest \ kunbalancedgrdtest twindowtest kwizardtest \
itemcontainertest kpanelmenutest kedittest \ itemcontainertest kpanelmenutest kedittest \
kxmlguitest kaccelgentest ksystemtraytest klistviewtest \ kxmlguitest kaccelgentest ksystemtraytest klistviewtest \
ktextedittest kmainwindowtest kmainwindowrestoretest \ ktextedittest kmainwindowtest kmainwindowrestoretest \
@ -79,7 +79,7 @@ kstatusbartest_SOURCES = kstatusbartest.cpp
ktabctltest_SOURCES = ktabctltest.cpp ktabctltest_SOURCES = ktabctltest.cpp
ktimewidgettest_SOURCES = ktimewidgettest.cpp ktimewidgettest_SOURCES = ktimewidgettest.cpp
kunbalancedgrdtest_SOURCES = kunbalancedgrdtest.cpp kunbalancedgrdtest_SOURCES = kunbalancedgrdtest.cpp
kwindowtest_SOURCES = kwindowtest.cpp twindowtest_SOURCES = twindowtest.cpp
kwizardtest_SOURCES = kwizardtest.cpp kwizardtest_SOURCES = kwizardtest.cpp
itemcontainertest_SOURCES = itemcontainertest.cpp itemcontainertest_SOURCES = itemcontainertest.cpp
kpanelmenutest_SOURCES = kpanelmenutest.cpp kpanelmenutest_SOURCES = kpanelmenutest.cpp

@ -18,7 +18,7 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <tqmultilineedit.h> #include <tqmultilineedit.h>
#include "kwindowtest.h" #include "twindowtest.h"
#include <kglobal.h> #include <kglobal.h>
@ -372,13 +372,13 @@ testWindow::~testWindow ()
/********************************************************/ /********************************************************/
delete tb1->getWidget(8); delete tb1->getWidget(8);
//debug ("kwindowtest: deleted clock"); //debug ("twindowtest: deleted clock");
delete tb; delete tb;
delete tb1; delete tb1;
delete menuBar; delete menuBar;
qDebug ("kwindowtest finished"); qDebug ("twindowtest finished");
} }
void testWindow::beFixed() void testWindow::beFixed()
@ -524,5 +524,5 @@ int main( int argc, char *argv[] )
return ret; return ret;
} }
#include "kwindowtest.moc" #include "twindowtest.moc"

@ -113,7 +113,7 @@ ktoolbarhandler.cpp \
ktoolbarradiogroup.cpp \ ktoolbarradiogroup.cpp \
kurllabel.cpp \ kurllabel.cpp \
kwhatsthismanager.cpp \ kwhatsthismanager.cpp \
kwindowinfo.cpp \ twindowinfo.cpp \
kwizard.cpp \ kwizard.cpp \
kwordwrap.cpp \ kwordwrap.cpp \
kxmlguibuilder.cpp \ kxmlguibuilder.cpp \

Loading…
Cancel
Save