diff options
Diffstat (limited to 'kwin/rules.h')
-rw-r--r-- | kwin/rules.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kwin/rules.h b/kwin/rules.h index 08a563762..584e6a952 100644 --- a/kwin/rules.h +++ b/kwin/rules.h @@ -40,7 +40,7 @@ class WindowRules WindowRules(); void update( Client* ); void discardTemporary(); - bool tqcontains( const Rules* rule ) const; + bool contains( const Rules* rule ) const; void remove( Rules* rule ); Placement::Policy checkPlacement( Placement::Policy placement ) const; TQRect checkGeometry( TQRect rect, bool init = false ) const; @@ -232,8 +232,8 @@ class Rules ForceRule moveresizemoderule; bool closeable; ForceRule closeablerule; - bool stricttqgeometry; - ForceRule stricttqgeometryrule; + bool strictgeometry; + ForceRule strictgeometryrule; TQString shortcut; SetRule shortcutrule; bool disableglobalshortcuts; @@ -284,15 +284,15 @@ WindowRules::WindowRules() } inline -bool WindowRules::tqcontains( const Rules* rule ) const +bool WindowRules::contains( const Rules* rule ) const { - return tqFind( rules.begin(), rules.end(), rule ) != rules.end(); + return qFind( rules.begin(), rules.end(), rule ) != rules.end(); } inline void WindowRules::remove( Rules* rule ) { - TQValueVector< Rules* >::Iterator pos = tqFind( rules.begin(), rules.end(), rule ); + TQValueVector< Rules* >::Iterator pos = qFind( rules.begin(), rules.end(), rule ); if( pos != rules.end()) rules.erase( pos ); } |