From 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 20:16:47 +0000 Subject: 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 --- kwin/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kwin/main.cpp') 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 }; -- cgit v1.2.1