diff options
Diffstat (limited to 'src/popupMessage.h')
-rw-r--r-- | src/popupMessage.h | 30 |
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; }; } |