summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/widgets/popupmessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/widgets/popupmessage.h')
-rw-r--r--kftpgrabber/src/widgets/popupmessage.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kftpgrabber/src/widgets/popupmessage.h b/kftpgrabber/src/widgets/popupmessage.h
index 0550d41..a22b6b8 100644
--- a/kftpgrabber/src/widgets/popupmessage.h
+++ b/kftpgrabber/src/widgets/popupmessage.h
@@ -40,9 +40,9 @@
#include "overlaywidget.h"
-#include <qbitmap.h>
-#include <qlayout.h>
-#include <qpixmap.h>
+#include <ntqbitmap.h>
+#include <ntqlayout.h>
+#include <ntqpixmap.h>
namespace KFTPWidgets {
@@ -68,32 +68,32 @@ public:
* @param anchor Which widget to tie the popup widget to
* @param timeout How long to wait before auto closing
*/
- PopupMessage(QWidget *parent, QWidget *anchor, int timeout = 5000);
+ PopupMessage(TQWidget *parent, TQWidget *anchor, int timeout = 5000);
- void addWidget(QWidget *widget);
+ void addWidget(TQWidget *widget);
void setShowCloseButton(bool show);
void setShowCounter(bool show);
- void setImage(const QString &location);
- void setImage(const QPixmap &pixmap);
+ void setImage(const TQString &location);
+ void setImage(const TQPixmap &pixmap);
void setMaskEffect(MaskEffect type) { m_maskEffect = type; }
- void setText(const QString &text);
+ void setText(const TQString &text);
void setTimeout(int timeout) { m_timeout = timeout; }
public slots:
void close();
void display();
protected:
- void timerEvent(QTimerEvent *event);
+ void timerEvent(TQTimerEvent *event);
void countDown();
void dissolveMask();
void plainMask();
void slideMask();
private:
- 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;