summaryrefslogtreecommitdiffstats
path: root/src/popupMessage.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-07-27 16:57:53 +0200
committerSlávek Banko <[email protected]>2013-07-27 18:48:46 +0200
commit7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch)
tree4655c7263ca5c64d23d10167cb459dd9cb253815 /src/popupMessage.h
parent88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff)
downloadtork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz
tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip
Initial TQt conversion
Diffstat (limited to 'src/popupMessage.h')
-rw-r--r--src/popupMessage.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/popupMessage.h b/src/popupMessage.h
index 9dc73b7..3b2e8ee 100644
--- a/src/popupMessage.h
+++ b/src/popupMessage.h
@@ -28,9 +28,9 @@
#include "overlayWidget.h"
//#include "functor.h"
-#include <qbitmap.h>
-#include <qlayout.h>
-#include <qpixmap.h>
+#include <ntqbitmap.h>
+#include <ntqlayout.h>
+#include <ntqpixmap.h>
namespace KDE
{
@@ -53,18 +53,18 @@ namespace KDE
* @param timeout : how long to wait before auto closing. A value of 0 means close
* only on pressing the closeButton or close() is called.
*/
- PopupMessage( QWidget *parent, QWidget *anchor, int timeout = 5000 /*milliseconds*/, const char* name = 0 );
+ PopupMessage( TQWidget *parent, TQWidget *anchor, int timeout = 5000 /*milliseconds*/, const char* name = 0 );
enum MaskEffect { Plain, Slide, Dissolve };
- void addWidget( QWidget *widget );
+ void addWidget( TQWidget *widget );
void showBothButton( const bool show );
void showOkButton( const bool show );
void showCounter( const bool show );
- void setImage( const QString &location );
- void setImage( const QPixmap &pix );
+ void setImage( const TQString &location );
+ void setImage( const TQPixmap &pix );
void setMaskEffect( const MaskEffect type ) { m_maskEffect = type; }
- void setText( const QString &text );
+ void setText( const TQString &text );
void setTimeout( const int time ) { m_timeout = time; }
public slots:
@@ -75,7 +75,7 @@ namespace KDE
void toggled( bool );
protected:
- void timerEvent( QTimerEvent* );
+ void timerEvent( TQTimerEvent* );
void countDown();
/**
@@ -96,11 +96,11 @@ namespace KDE
private:
bool configurableType();
- QVBoxLayout *m_layout;
- QFrame *m_countdownFrame;
- QWidget *m_anchor;
- QWidget *m_parent;
- QBitmap m_mask;
+ TQVBoxLayout *m_layout;
+ TQFrame *m_countdownFrame;
+ TQWidget *m_anchor;
+ TQWidget *m_parent;
+ TQBitmap m_mask;
MaskEffect m_maskEffect;
int m_dissolveSize;
@@ -116,7 +116,7 @@ namespace KDE
bool m_question;
bool m_respondedTo;
- QString m_name;
+ TQString m_name;
};
}