diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/notifications.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/notifications.cpp')
-rw-r--r-- | kwin/notifications.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kwin/notifications.cpp b/kwin/notifications.cpp index a2d72d697..288cbd029 100644 --- a/kwin/notifications.cpp +++ b/kwin/notifications.cpp @@ -17,9 +17,9 @@ License. See the file "COPYING" for the exact licensing terms. namespace KWinInternal { -QString Notify::eventToName( Event e ) +TQString Notify::eventToName( Event e ) { - QString event; + TQString event; switch ( e ) { case Activate: @@ -85,7 +85,7 @@ QString Notify::eventToName( Event e ) default: if ((e > DesktopChange) && (e <= DesktopChange+20)) { - event = QString("desktop%1").arg(e-DesktopChange); + event = TQString("desktop%1").arg(e-DesktopChange); } break; } @@ -93,14 +93,14 @@ QString Notify::eventToName( Event e ) } static bool forgetIt = FALSE; -QValueList< Notify::EventData > Notify::pending_events; +TQValueList< Notify::EventData > Notify::pending_events; -bool Notify::raise( Event e, const QString& message, Client* c ) +bool Notify::raise( Event e, const TQString& message, Client* c ) { if ( forgetIt ) return false; // no connection was possible, don't try each time - QString event = eventToName( e ); + TQString event = eventToName( e ); if ( !event ) return false; @@ -135,7 +135,7 @@ void Notify::sendPendingEvents() bool Notify::makeDemandAttention( Event e ) { - QString event = eventToName( e ); + TQString event = eventToName( e ); if( !event ) return false; int rep = KNotifyClient::getPresentation( event ); |