summaryrefslogtreecommitdiffstats
path: root/kwin/sm.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/sm.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/sm.cpp')
-rw-r--r--kwin/sm.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kwin/sm.cpp b/kwin/sm.cpp
index 31cada7e0..9628a8c19 100644
--- a/kwin/sm.cpp
+++ b/kwin/sm.cpp
@@ -94,9 +94,9 @@ void Workspace::storeSession( KConfig* config, SMSavePhase phase )
config->writeEntry( TQString("wmClientMachine")+n, c->wmClientMachine( true ).data() );
config->writeEntry( TQString("resourceName")+n, c->resourceName().data() );
config->writeEntry( TQString("resourceClass")+n, c->resourceClass().data() );
- config->writeEntry( TQString("geometry")+n, TQRect( c->calculateGravitation(TRUE), c->clientSize() ) ); // FRAME
- config->writeEntry( TQString("restore")+n, c->geometryRestore() );
- config->writeEntry( TQString("fsrestore")+n, c->geometryFSRestore() );
+ config->writeEntry( TQString("tqgeometry")+n, TQRect( c->calculateGravitation(TRUE), c->clientSize() ) ); // FRAME
+ config->writeEntry( TQString("restore")+n, c->tqgeometryRestore() );
+ config->writeEntry( TQString("fsrestore")+n, c->tqgeometryFSRestore() );
config->writeEntry( TQString("maximize")+n, (int) c->maximizeMode() );
config->writeEntry( TQString("fullscreen")+n, (int) c->fullScreenMode() );
config->writeEntry( TQString("desktop")+n, c->desktop() );
@@ -164,7 +164,7 @@ void Workspace::loadSessionInfo()
info->wmClientMachine = config->readEntry( TQString("wmClientMachine")+n ).latin1();
info->resourceName = config->readEntry( TQString("resourceName")+n ).latin1();
info->resourceClass = config->readEntry( TQString("resourceClass")+n ).lower().latin1();
- info->geometry = config->readRectEntry( TQString("geometry")+n );
+ info->tqgeometry = config->readRectEntry( TQString("tqgeometry")+n );
info->restore = config->readRectEntry( TQString("restore")+n );
info->fsrestore = config->readRectEntry( TQString("fsrestore")+n );
info->maximized = config->readNumEntry( TQString("maximize")+n, 0 );
@@ -265,7 +265,7 @@ bool Workspace::windowRoleMatch( const TQCString& role1, const TQCString& role2
if( pos1 < 0 || pos2 < 0 || pos1 != pos2 )
ret = role1 == role2;
else
- ret = qstrncmp( role1, role2, pos1 ) == 0;
+ ret = tqstrncmp( role1, role2, pos1 ) == 0;
kdDebug() << "WR:" << role1 << ":" << pos1 << ":" << role2 << ":" << pos2 << ":::" << ret << endl;
return ret;
}
@@ -402,7 +402,7 @@ SessionSaveDoneHelper::SessionSaveDoneHelper()
props[ 2 ].num_vals = 1;
props[ 2 ].vals = &propvalue[ 2 ];
propvalue[ 3 ].length = 0;
- propvalue[ 3 ].value = qApp->argv()[ 0 ];
+ propvalue[ 3 ].value = tqApp->argv()[ 0 ];
props[ 3 ].name = const_cast< char* >( SmProgram );
props[ 3 ].type = const_cast< char* >( SmARRAY8 );
props[ 3 ].num_vals = 1;