diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /kwin/rules.cpp | |
parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
download | tdebase-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/rules.cpp')
-rw-r--r-- | kwin/rules.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kwin/rules.cpp b/kwin/rules.cpp index e0631d53c..cfcf4bc43 100644 --- a/kwin/rules.cpp +++ b/kwin/rules.cpp @@ -58,7 +58,7 @@ Rules::Rules() , acceptfocusrule( UnusedForceRule ) , moveresizemoderule( UnusedForceRule ) , closeablerule( UnusedForceRule ) - , stricttqgeometryrule( UnusedForceRule ) + , strictgeometryrule( UnusedForceRule ) , shortcutrule( UnusedSetRule ) , disableglobalshortcutsrule( UnusedForceRule ) { @@ -162,7 +162,7 @@ void Rules::readFromCfg( KConfig& cfg ) READ_FORCE_RULE( acceptfocus, Bool, ); READ_FORCE_RULE( moveresizemode, , Options::stringToMoveResizeMode ); READ_FORCE_RULE( closeable, Bool, ); - READ_FORCE_RULE( stricttqgeometry, Bool, ); + READ_FORCE_RULE( strictgeometry, Bool, ); READ_SET_RULE( shortcut, , ); READ_FORCE_RULE( disableglobalshortcuts, Bool, ); } @@ -251,7 +251,7 @@ void Rules::write( KConfig& cfg ) const WRITE_FORCE_RULE( acceptfocus, ); WRITE_FORCE_RULE( moveresizemode, Options::moveResizeModeToString ); WRITE_FORCE_RULE( closeable, ); - WRITE_FORCE_RULE( stricttqgeometry, ); + WRITE_FORCE_RULE( strictgeometry, ); WRITE_SET_RULE( shortcut, ); WRITE_FORCE_RULE( disableglobalshortcuts, ); } @@ -288,7 +288,7 @@ bool Rules::isEmpty() const && acceptfocusrule == UnusedForceRule && moveresizemoderule == UnusedForceRule && closeablerule == UnusedForceRule - && stricttqgeometryrule == UnusedForceRule + && strictgeometryrule == UnusedForceRule && shortcutrule == UnusedSetRule && disableglobalshortcutsrule == UnusedForceRule ); } @@ -339,7 +339,7 @@ bool Rules::matchWMClass( const TQCString& match_class, const TQCString& match_n return false; if( wmclassmatch == ExactMatch && wmclass != cwmclass ) return false; - if( wmclassmatch == SubstringMatch && !cwmclass.tqcontains( wmclass )) + if( wmclassmatch == SubstringMatch && !cwmclass.contains( wmclass )) return false; } return true; @@ -353,7 +353,7 @@ bool Rules::matchRole( const TQCString& match_role ) const return false; if( windowrolematch == ExactMatch && windowrole != match_role ) return false; - if( windowrolematch == SubstringMatch && !match_role.tqcontains( windowrole )) + if( windowrolematch == SubstringMatch && !match_role.contains( windowrole )) return false; } return true; @@ -367,7 +367,7 @@ bool Rules::matchTitle( const TQString& match_title ) const return false; if( titlematch == ExactMatch && title != match_title ) return false; - if( titlematch == SubstringMatch && !match_title.tqcontains( title )) + if( titlematch == SubstringMatch && !match_title.contains( title )) return false; } return true; @@ -388,7 +388,7 @@ bool Rules::matchClientMachine( const TQCString& match_machine ) const && clientmachine != match_machine ) return false; if( clientmachinematch == SubstringMatch - && !match_machine.tqcontains( clientmachine )) + && !match_machine.contains( clientmachine )) return false; } return true; @@ -614,7 +614,7 @@ APPLY_FORCE_RULE( fsplevel, FSP, int ) APPLY_FORCE_RULE( acceptfocus, AcceptFocus, bool ) APPLY_FORCE_RULE( moveresizemode, MoveResizeMode, Options::MoveResizeMode ) APPLY_FORCE_RULE( closeable, Closeable, bool ) -APPLY_FORCE_RULE( stricttqgeometry, StrictGeometry, bool ) +APPLY_FORCE_RULE( strictgeometry, StrictGeometry, bool ) APPLY_RULE( shortcut, Shortcut, TQString ) APPLY_FORCE_RULE( disableglobalshortcuts, DisableGlobalShortcuts, bool ) @@ -676,7 +676,7 @@ void Rules::discardUsed( bool withdrawn ) DISCARD_USED_FORCE_RULE( acceptfocus ); DISCARD_USED_FORCE_RULE( moveresizemode ); DISCARD_USED_FORCE_RULE( closeable ); - DISCARD_USED_FORCE_RULE( stricttqgeometry ); + DISCARD_USED_FORCE_RULE( strictgeometry ); DISCARD_USED_SET_RULE( shortcut ); DISCARD_USED_FORCE_RULE( disableglobalshortcuts ); } @@ -1038,7 +1038,7 @@ void Workspace::discardUsedWindowRules( Client* c, bool withdrawn ) it != rules.end(); ) { - if( c->rules()->tqcontains( *it )) + if( c->rules()->contains( *it )) { updated = true; (*it)->discardUsed( withdrawn ); |