summaryrefslogtreecommitdiffstats
path: root/libk3b/tools/k3bbusywidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /libk3b/tools/k3bbusywidget.cpp
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/tools/k3bbusywidget.cpp')
-rw-r--r--libk3b/tools/k3bbusywidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libk3b/tools/k3bbusywidget.cpp b/libk3b/tools/k3bbusywidget.cpp
index d222107..2f53629 100644
--- a/libk3b/tools/k3bbusywidget.cpp
+++ b/libk3b/tools/k3bbusywidget.cpp
@@ -15,19 +15,19 @@
#include "k3bbusywidget.h"
-#include <qtimer.h>
-#include <qpainter.h>
+#include <tqtimer.h>
+#include <tqpainter.h>
#include <kglobalsettings.h>
-K3bBusyWidget::K3bBusyWidget( QWidget* parent, const char* name )
- : QFrame( parent, name )
+K3bBusyWidget::K3bBusyWidget( TQWidget* tqparent, const char* name )
+ : TQFrame( tqparent, name )
{
- m_busyTimer = new QTimer( this );
+ m_busyTimer = new TQTimer( this );
m_iBusyPosition = 0;
- connect( m_busyTimer, SIGNAL(timeout()), this, SLOT(animateBusy()) );
+ connect( m_busyTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animateBusy()) );
m_bBusy = false;
}
@@ -68,21 +68,21 @@ void K3bBusyWidget::animateBusy()
}
-QSize K3bBusyWidget::sizeHint() const
+TQSize K3bBusyWidget::tqsizeHint() const
{
- return minimumSizeHint();
+ return tqminimumSizeHint();
}
-QSize K3bBusyWidget::minimumSizeHint() const
+TQSize K3bBusyWidget::tqminimumSizeHint() const
{
- return QSize( 2*frameWidth() + 62, 10 );
+ return TQSize( 2*frameWidth() + 62, 10 );
}
-void K3bBusyWidget::drawContents( QPainter* p )
+void K3bBusyWidget::drawContents( TQPainter* p )
{
- QRect rect = contentsRect();
+ TQRect rect = contentsRect();
int squareSize = 8;