From 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 27 Jul 2013 16:57:53 +0200 Subject: Initial TQt conversion --- src/popupMessage.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/popupMessage.h') 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 -#include -#include +#include +#include +#include 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; }; } -- cgit v1.2.1