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 /kicker/extensions/kasbar/kasstartupitem.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 'kicker/extensions/kasbar/kasstartupitem.cpp')
-rw-r--r-- | kicker/extensions/kasbar/kasstartupitem.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kicker/extensions/kasbar/kasstartupitem.cpp b/kicker/extensions/kasbar/kasstartupitem.cpp index 334edc836..53d823430 100644 --- a/kicker/extensions/kasbar/kasstartupitem.cpp +++ b/kicker/extensions/kasbar/kasstartupitem.cpp @@ -51,10 +51,10 @@ /* ** Bug reports and questions can be sent to kde-devel@kde.org */ -#include <qpainter.h> -#include <qbitmap.h> -#include <qdrawutil.h> -#include <qtimer.h> +#include <tqpainter.h> +#include <tqbitmap.h> +#include <tqdrawutil.h> +#include <tqtimer.h> #include <kdebug.h> #include <kglobal.h> @@ -79,8 +79,8 @@ KasStartupItem::KasStartupItem( KasBar *parent, Startup::Ptr startup ) setShowFrame( false ); setAnimation( resources()->startupAnimation() ); - aniTimer = new QTimer( this ); - connect( aniTimer, SIGNAL( timeout() ), SLOT( aniTimerFired() ) ); + aniTimer = new TQTimer( this ); + connect( aniTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( aniTimerFired() ) ); aniTimer->start( 100 ); } @@ -88,12 +88,12 @@ KasStartupItem::~KasStartupItem() { } -QPixmap KasStartupItem::icon() const +TQPixmap KasStartupItem::icon() const { /** * This icon stuff should all be handled by the task manager api, but isn't yet. */ - QPixmap pixmap; + TQPixmap pixmap; switch( kasbar()->itemSize() ) { case KasBar::Small: @@ -143,11 +143,11 @@ void KasStartupItem::aniTimerFired() advanceAnimation(); } -void KasStartupItem::paint( QPainter *p ) +void KasStartupItem::paint( TQPainter *p ) { p->save(); - p->setClipRect( 0, 0, extent(), extent(), QPainter::CoordPainter ); + p->setClipRect( 0, 0, extent(), extent(), TQPainter::CoordPainter ); p->translate( extent()/2, extent()/2 ); p->rotate( 9.0L * frame ); p->scale( 0.7L, 0.7L ); |