summaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/notifierwindowbody.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/notifier/notifierwindowbody.h')
-rw-r--r--src/modules/notifier/notifierwindowbody.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/src/modules/notifier/notifierwindowbody.h b/src/modules/notifier/notifierwindowbody.h
index e59df9f9..dafde1d0 100644
--- a/src/modules/notifier/notifierwindowbody.h
+++ b/src/modules/notifier/notifierwindowbody.h
@@ -24,65 +24,65 @@
//
//=============================================================================
-#include <qevent.h>
-#include <qrect.h>
-#include <qpoint.h>
-#include <qpixmap.h>
+#include <tqevent.h>
+#include <tqrect.h>
+#include <tqpoint.h>
+#include <tqpixmap.h>
#include "notifiersettings.h"
/*
#ifdef QT3_SUPPORT
- #define QPainter Q3Painter
+ #define TQPainter Q3Painter
#endif
*/
-class QPainter;
+class TQPainter;
class KviNotifierWindowBody
{
public:
- KviNotifierWindowBody(QRect r);
+ KviNotifierWindowBody(TQRect r);
~KviNotifierWindowBody();
// ================================
// Put members declaration below...
// ================================
private:
- QRect m_rct;
- QPoint m_pnt;
+ TQRect m_rct;
+ TQPoint m_pnt;
- QRect m_textRect;
+ TQRect m_textRect;
- QRect m_rctWriteIcon;
- QRect m_rctPrevIcon;
- QRect m_rctNextIcon;
- QRect m_rctCloseTabIcon;
+ TQRect m_rctWriteIcon;
+ TQRect m_rctPrevIcon;
+ TQRect m_rctNextIcon;
+ TQRect m_rctCloseTabIcon;
// Pictures
- QPixmap m_pixDX;
- QPixmap m_pixSX;
- QPixmap m_pixDWNSX;
- QPixmap m_pixDWNDX;
- QPixmap m_pixDWN;
- QPixmap m_pixKVIrcSX;
- QPixmap m_pixKVIrcDWN;
- QPixmap m_pixKVIrc;
+ TQPixmap m_pixDX;
+ TQPixmap m_pixSX;
+ TQPixmap m_pixDWNSX;
+ TQPixmap m_pixDWNDX;
+ TQPixmap m_pixDWN;
+ TQPixmap m_pixKVIrcSX;
+ TQPixmap m_pixKVIrcDWN;
+ TQPixmap m_pixKVIrc;
- QPixmap m_pixIconPrev;
- QPixmap m_pixIconPrev_off;
- QPixmap m_pixIconPrev_on;
- QPixmap m_pixIconPrev_clicked;
+ TQPixmap m_pixIconPrev;
+ TQPixmap m_pixIconPrev_off;
+ TQPixmap m_pixIconPrev_on;
+ TQPixmap m_pixIconPrev_clicked;
- QPixmap m_pixIconNext;
- QPixmap m_pixIconNext_off;
- QPixmap m_pixIconNext_on;
- QPixmap m_pixIconNext_clicked;
+ TQPixmap m_pixIconNext;
+ TQPixmap m_pixIconNext_off;
+ TQPixmap m_pixIconNext_on;
+ TQPixmap m_pixIconNext_clicked;
- QPixmap m_pixIconWrite;
- QPixmap m_pixIconWrite_off;
- QPixmap m_pixIconWrite_on;
- QPixmap m_pixIconWrite_clicked;
+ TQPixmap m_pixIconWrite;
+ TQPixmap m_pixIconWrite_off;
+ TQPixmap m_pixIconWrite_on;
+ TQPixmap m_pixIconWrite_clicked;
bool m_bNeedToRedraw;
@@ -105,7 +105,7 @@ public:
void setWidth(int w);
void setHeight(int h);
void resize(int w, int h) { setWidth(w); setHeight(h); };
- void resize(QRect r) { setWidth(r.width()); setHeight(r.height()); };
+ void resize(TQRect r) { setWidth(r.width()); setHeight(r.height()); };
void setPoint(int x, int y) { m_pnt.setX(x); m_pnt.setY(y); };
void setPrevIcon(int state);
@@ -122,21 +122,21 @@ public:
int height() { return m_rct.height(); };
int baseLine() { return (y()+height()); };
- QRect rect() { return m_rct; };
- QRect textRect() { return m_textRect; };
- QRect rctPrevIcon() { return m_rctPrevIcon; };
- QRect rctNextIcon() { return m_rctNextIcon; };
- QRect rctWriteIcon() { return m_rctWriteIcon; };
+ TQRect rect() { return m_rct; };
+ TQRect textRect() { return m_textRect; };
+ TQRect rctPrevIcon() { return m_rctPrevIcon; };
+ TQRect rctNextIcon() { return m_rctNextIcon; };
+ TQRect rctWriteIcon() { return m_rctWriteIcon; };
void needToRedraw() { m_bNeedToRedraw = true; };
void recalculatePositions();
void touch() { m_bNeedToRedraw = true; };
- void draw(QPainter *);
+ void draw(TQPainter *);
- void mouseMoveEvent(QMouseEvent * e);
- void mousePressEvent(QMouseEvent * e);
- void mouseReleaseEvent(QMouseEvent * e);
+ void mouseMoveEvent(TQMouseEvent * e);
+ void mousePressEvent(TQMouseEvent * e);
+ void mouseReleaseEvent(TQMouseEvent * e);