Rename kwin to twin (part 1 of 2)

pull/1/head
Timothy Pearson 13 years ago
parent 56e9fddfca
commit 47edcc660c

@ -40,7 +40,7 @@
#include <kpopupmenu.h>
#include <kparts/componentfactory.h>
#include <kwin.h>
#include <twin.h>
#include <tqcursor.h>

@ -70,13 +70,13 @@ void kpMainWindow::enableHelpMenuDocumentActions (bool /*enable*/)
}
// SYNC: kdebase/kwin/kwinbindings.cpp
// SYNC: kdebase/twin/twinbindings.cpp
static TQString printScreenShortcutString ()
{
KConfigGroupSaver cfgGroupSaver (KGlobal::config (), "Global Shortcuts");
KConfigBase *cfg = cfgGroupSaver.config ();
// TODO: i18n() entry name? kwinbindings.cpp seems to but it doesn't
// TODO: i18n() entry name? twinbindings.cpp seems to but it doesn't
// make sense.
const TQString cfgEntryString = cfg->readEntry ("Desktop Screenshot");
@ -108,13 +108,13 @@ void kpMainWindow::slotHelpTakingScreenshots ()
tool ()->endShapeInternal ();
// TODO: Totally bogus logic if kwin not running under same user as KolourPaint.
// TODO: Totally bogus logic if twin not running under same user as KolourPaint.
// SYNC: KWin contains PrintScreen key logic
QCStringList dcopApps = KApplication::dcopClient ()->registeredApplications ();
#if DEBUG_KP_MAIN_WINDOW
kdDebug () << "\tdcopApps=" << dcopApps << endl;
#endif
bool isRunningKDE = (dcopApps.findIndex ("kwin") >= 0);
bool isRunningKDE = (dcopApps.findIndex ("twin") >= 0);
#if 0
{
@ -172,7 +172,7 @@ void kpMainWindow::slotHelpTakingScreenshots ()
);
}
// TODO: Totally bogus logic if kwin not running under same user as KolourPaint.
// TODO: Totally bogus logic if twin not running under same user as KolourPaint.
message = message.arg (::printScreenShortcutString ());
// Add extra vertical space

@ -31,7 +31,7 @@
#include <kpthumbnail.h>
#include <tqdockarea.h>
#include <tqdockwindow.h>
#include <tqdoctwindow.h>
#include <tqtimer.h>
#include <kdebug.h>

@ -29,7 +29,7 @@
#ifndef __kp_thumbnail_h__
#define __kp_thumbnail_h__
#include <tqdockwindow.h>
#include <tqdoctwindow.h>
class kpMainWindow;
class kpThumbnailView;

@ -38,7 +38,7 @@
#include <kimageio.h>
#include <kiconloader.h>
#include <kdebug.h>
#include <kwin.h>
#include <twin.h>
#include "kooka.h"
#include "version.h"

@ -24,7 +24,7 @@
#include <kiconloader.h>
#include <kimageeffect.h>
#include <kmessagebox.h>
#include <kwin.h>
#include <twin.h>
// system includes
#include <stdlib.h>

@ -34,7 +34,7 @@
#include <kglobal.h>
#include <ktoolbar.h>
#include <kpopupmenu.h>
#include <kwin.h>
#include <twin.h>
#include <kdebug.h>
#ifdef TQ_WS_X11
#include <X11/X.h>

@ -29,7 +29,7 @@
#include <knotifyclient.h>
#include <kpopupmenu.h>
#include <kstandarddirs.h>
#include <kwin.h>
#include <twin.h>
#include <kstdguiitem.h>
#include <tqbitmap.h>

@ -1,4 +1,4 @@
dnl Check for the X shaped windows extension - test taken from kdebase/kwin/clients/keramik
dnl Check for the X shaped windows extension - test taken from kdebase/twin/clients/keramik
KDE_CHECK_HEADERS(X11/extensions/shape.h,,,
[
#include <X11/Xlib.h>

@ -312,7 +312,7 @@ Sun Mar 4 13:57:52 2001 Carsten Pfeiffer <pfeiffer@kde.org>
hack around QWidget::move() resizing us -> we just ignore that
resizeEvent. Gives less flicker when switching into window-mode.
* initial fullscreen mode works again as well (hacking around a kwin
* initial fullscreen mode works again as well (hacking around a twin
"limitation")
Sun Mar 4 10:50:23 2001 Carsten Pfeiffer <pfeiffer@kde.org>
@ -387,7 +387,7 @@ Wed Jan 10 23:39:14 2001 Carsten Pfeiffer <pfeiffer@kde.org>
Fri Nov 3 14:32:53 2000 Carsten Pfeiffer <pfeiffer@kde.org>
* src/imagewindow.cpp (setFullscreen):
cool, no need to workaround kwin's auto-maximization needed,
cool, no need to workaround twin's auto-maximization needed,
setMinimumSize() does it! Thanks Matthias Ettrich!
Fri Nov 3 13:23:41 2000 Carsten Pfeiffer <pfeiffer@kde.org>
@ -400,7 +400,7 @@ Fri Nov 3 13:23:41 2000 Carsten Pfeiffer <pfeiffer@kde.org>
Fri Nov 3 01:49:57 2000 Carsten Pfeiffer <pfeiffer@kde.org>
* src/*: some more work on the KDE2 port/integration. Workarounds for
kwin's auto-maximization added. Fullscreen works. Moving images inside
twin's auto-maximization added. Fullscreen works. Moving images inside
the window works properly again. NETWM/KWin handling is better now.
Also better handling of non-loadable files.

@ -22,7 +22,7 @@
#include <tqgroupbox.h>
#include <tqlabel.h>
#include <kwin.h>
#include <twin.h>
#include <kstandarddirs.h>
#include "imlibwidget.h"

@ -56,7 +56,7 @@
#include <kstandarddirs.h>
#include <kglobalsettings.h>
#include <ktempfile.h>
#include <kwin.h>
#include <twin.h>
#include <netwm.h>
#include <kurldrag.h>
#include <kio/netaccess.h>

@ -22,8 +22,8 @@
#include <tqrect.h>
#include <tqsize.h>
#include <kwin.h>
#include <kwinmodule.h>
#include <twin.h>
#include <twinmodule.h>
class Kuick
{

@ -19,7 +19,7 @@
#ifndef KUICKGLOBALS_H
#define KUICKGLOBALS_H
#include <kwinmodule.h>
#include <twinmodule.h>
class KuickGlobals
{

@ -57,7 +57,7 @@
#include <kurlcombobox.h>
#include <kurlcompletion.h>
#include <kurldrag.h>
#include <kwin.h>
#include <twin.h>
#include <kstdguiitem.h>
#include <kdebug.h>

@ -34,7 +34,7 @@
#include <kimageio.h>
#include <kfiledialog.h>
#include <klocale.h>
#include <kwinmodule.h>
#include <twinmodule.h>
#include <kmenubar.h>
#include <kstatusbar.h>
#include <kdebug.h>

Loading…
Cancel
Save