diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kwin/data/update_window_settings.cpp | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-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.cpp | 8 |
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 ); |