diff options
Diffstat (limited to 'tdeui/kanimwidget.cpp')
| -rw-r--r-- | tdeui/kanimwidget.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tdeui/kanimwidget.cpp b/tdeui/kanimwidget.cpp index 5b4dc7051..25a0b6847 100644 --- a/tdeui/kanimwidget.cpp +++ b/tdeui/kanimwidget.cpp @@ -1,5 +1,3 @@ -// -*- c-basic-offset: 2 -*- - /* This file is part of the KDE libraries Copyright (C) 2000 Kurt Granroth <granroth@kde.org> @@ -45,10 +43,10 @@ KAnimWidget::KAnimWidget( const TQString& icons, int size, TQWidget *parent, : TQFrame( parent, name ), d( new KAnimWidgetPrivate ) { - connect( &d->timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimerUpdate())); + connect( &d->timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimerUpdate())); if (parent && parent->inherits( "TDEToolBar" )) - connect(parent, TQT_SIGNAL(modechange()), this, TQT_SLOT(updateIcons())); + connect(parent, TQ_SIGNAL(modechange()), this, TQ_SLOT(updateIcons())); d->loadingCompleted = false; d->size = size; @@ -142,7 +140,7 @@ void KAnimWidget::mousePressEvent( TQMouseEvent *e ) void KAnimWidget::mouseReleaseEvent( TQMouseEvent *e ) { - if ( e->button() == Qt::LeftButton && + if ( e->button() == TQt::LeftButton && rect().contains( e->pos() ) ) emit clicked(); |
