summaryrefslogtreecommitdiffstats
path: root/kwin/data/update_window_settings.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/data/update_window_settings.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/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 0a39850d7..ce4a40a59 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 geometry;
+ TQRect tqgeometry;
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->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 );
@@ -122,9 +122,9 @@ void writeRules( KConfig& cfg )
cfg.writeEntry( "types", NET::NormalMask );
else
cfg.writeEntry( "types", 1 << info->windowType );
- cfg.writeEntry( "position", info->geometry.topLeft());
+ cfg.writeEntry( "position", info->tqgeometry.topLeft());
cfg.writeEntry( "positionrule", 4 ); // 4 == remember
- cfg.writeEntry( "size", info->geometry.size());
+ cfg.writeEntry( "size", info->tqgeometry.size());
cfg.writeEntry( "sizerule", 4 );
cfg.writeEntry( "maximizevert", info->maximized & NET::MaxVert );
cfg.writeEntry( "maximizevertrule", 4 );