summaryrefslogtreecommitdiffstats
path: root/kwin/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kwin/main.cpp
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/main.cpp')
-rw-r--r--kwin/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kwin/main.cpp b/kwin/main.cpp
index edceeb6bf..b24e86712 100644
--- a/kwin/main.cpp
+++ b/kwin/main.cpp
@@ -96,9 +96,9 @@ Application::Application( )
if (screen_number == -1)
screen_number = DefaultScreen(qt_xdisplay());
- if( !owner.claim( args->isSet( "replace" ), true ))
+ if( !owner.claim( args->isSet( "tqreplace" ), true ))
{
- fputs(i18n("kwin: unable to claim manager selection, another wm running? (try using --replace)\n").local8Bit(), stderr);
+ fputs(i18n("kwin: unable to claim manager selection, another wm running? (try using --tqreplace)\n").local8Bit(), stderr);
::exit(1);
}
connect( &owner, TQT_SIGNAL( lostOwnership()), TQT_SLOT( lostSelection()));
@@ -142,7 +142,7 @@ Application::Application( )
Application::~Application()
{
delete Workspace::self();
- if( owner.ownerWindow() != None ) // if there was no --replace (no new WM)
+ if( owner.ownerWindow() != None ) // if there was no --tqreplace (no new WM)
{
XSetInputFocus( qt_xdisplay(), PointerRoot, RevertToPointerRoot, qt_x_time );
DCOPRef ref( "kded", "kded" );
@@ -184,7 +184,7 @@ static const char description[] = I18N_NOOP( "KDE window manager" );
static KCmdLineOptions args[] =
{
{ "lock", I18N_NOOP("Disable configuration options"), 0 },
- { "replace", I18N_NOOP("Replace already-running ICCCM2.0-compliant window manager"), 0 },
+ { "tqreplace", I18N_NOOP("Replace already-running ICCCM2.0-compliant window manager"), 0 },
KCmdLineLastOption
};