summaryrefslogtreecommitdiffstats
path: root/kwin/sm.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /kwin/sm.cpp
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 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 9628a8c19..31cada7e0 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("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("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("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->tqgeometry = config->readRectEntry( TQString("tqgeometry")+n );
+ info->geometry = config->readRectEntry( TQString("geometry")+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 = tqstrncmp( role1, role2, pos1 ) == 0;
+ ret = qstrncmp( 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 = tqApp->argv()[ 0 ];
+ propvalue[ 3 ].value = qApp->argv()[ 0 ];
props[ 3 ].name = const_cast< char* >( SmProgram );
props[ 3 ].type = const_cast< char* >( SmARRAY8 );
props[ 3 ].num_vals = 1;