From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/notifications.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kwin/notifications.cpp') 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 ); -- cgit v1.2.3