summaryrefslogtreecommitdiffstats
path: root/src/k3bpassivepopup.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/k3bpassivepopup.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdf.tar.gz
k3b-d8cc8bdf.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/k3bpassivepopup.h')
-rw-r--r--src/k3bpassivepopup.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/k3bpassivepopup.h b/src/k3bpassivepopup.h
index e567d7e..a2b43c4 100644
--- a/src/k3bpassivepopup.h
+++ b/src/k3bpassivepopup.h
@@ -16,24 +16,25 @@
#ifndef _K3B_PASSIVE_POPUP_H_
#define _K3B_PASSIVE_POPUP_H_
-#include <qframe.h>
+#include <tqframe.h>
class K3bTimeoutWidget;
class KActiveLabel;
class KPushButton;
-class QLabel;
+class TQLabel;
/**
* A message box which is closed using a timer or a close button
* It will delete itself once it has been closed.
*/
-class K3bPassivePopup : public QFrame
+class K3bPassivePopup : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- K3bPassivePopup( QWidget* parent );
+ K3bPassivePopup( TQWidget* tqparent );
~K3bPassivePopup();
enum MessageType {
@@ -48,8 +49,8 @@ class K3bPassivePopup : public QFrame
*/
void slideIn();
- static void showPopup( const QString& message,
- const QString& title = QString::null,
+ static void showPopup( const TQString& message,
+ const TQString& title = TQString(),
MessageType messageType = Information,
bool countdown = true,
bool button = true );
@@ -57,8 +58,8 @@ class K3bPassivePopup : public QFrame
public slots:
void setShowCloseButton( bool b );
void setShowCountdown( bool b );
- void setMessage( const QString& m );
- void setTitle( const QString& t );
+ void setMessage( const TQString& m );
+ void setTitle( const TQString& t );
void setTimeout( int msecs );
void setMessageType( MessageType m );