summaryrefslogtreecommitdiffstats
path: root/src/k3btimeoutwidget.h
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 /src/k3btimeoutwidget.h
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 'src/k3btimeoutwidget.h')
-rw-r--r--src/k3btimeoutwidget.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/k3btimeoutwidget.h b/src/k3btimeoutwidget.h
index 6f47deb..3775332 100644
--- a/src/k3btimeoutwidget.h
+++ b/src/k3btimeoutwidget.h
@@ -16,22 +16,23 @@
#ifndef _K3B_TIMEOUT_WIDGET_H_
#define _K3B_TIMEOUT_WIDGET_H_
-#include <qwidget.h>
+#include <tqwidget.h>
-class QPaintEvent;
-class QResizeEvent;
+class TQPaintEvent;
+class TQResizeEvent;
-class K3bTimeoutWidget : public QWidget
+class K3bTimeoutWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- K3bTimeoutWidget( QWidget* parent );
+ K3bTimeoutWidget( TQWidget* tqparent );
~K3bTimeoutWidget();
- QSize sizeHint() const;
- QSize minimumSizeHint() const;
+ TQSize tqsizeHint() const;
+ TQSize tqminimumSizeHint() const;
public slots:
void setTimeout( int msecs );
@@ -44,8 +45,8 @@ class K3bTimeoutWidget : public QWidget
void timeout();
protected:
- void paintEvent( QPaintEvent* );
- void resizeEvent( QResizeEvent* );
+ void paintEvent( TQPaintEvent* );
+ void resizeEvent( TQResizeEvent* );
private slots:
void timeStep();