summaryrefslogtreecommitdiffstats
path: root/kwin/data/update_window_settings.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/data/update_window_settings.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/data/update_window_settings.cpp')
-rw-r--r--kwin/data/update_window_settings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kwin/data/update_window_settings.cpp b/kwin/data/update_window_settings.cpp
index ce4a40a59..0a39850d7 100644
--- a/kwin/data/update_window_settings.cpp
+++ b/kwin/data/update_window_settings.cpp
@@ -24,7 +24,7 @@ struct SessionInfo
TQCString resourceName;
TQCString resourceClass;
- TQRect tqgeometry;
+ TQRect geometry;
TQRect restore;
TQRect fsrestore;
int maximized;
@@ -76,7 +76,7 @@ void loadFakeSessionInfo( KConfig* config )
info->resourceName = config->readEntry( TQString("resourceName")+n ).latin1();
info->resourceClass = config->readEntry( TQString("resourceClass")+n ).lower().latin1();
info->wmClientMachine = config->readEntry( TQString("clientMachine")+n ).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 );
@@ -122,9 +122,9 @@ void writeRules( KConfig& cfg )
cfg.writeEntry( "types", NET::NormalMask );
else
cfg.writeEntry( "types", 1 << info->windowType );
- cfg.writeEntry( "position", info->tqgeometry.topLeft());
+ cfg.writeEntry( "position", info->geometry.topLeft());
cfg.writeEntry( "positionrule", 4 ); // 4 == remember
- cfg.writeEntry( "size", info->tqgeometry.size());
+ cfg.writeEntry( "size", info->geometry.size());
cfg.writeEntry( "sizerule", 4 );
cfg.writeEntry( "maximizevert", info->maximized & NET::MaxVert );
cfg.writeEntry( "maximizevertrule", 4 );