summaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/notifierwindowborder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/notifier/notifierwindowborder.h')
-rw-r--r--src/modules/notifier/notifierwindowborder.h116
1 files changed, 58 insertions, 58 deletions
diff --git a/src/modules/notifier/notifierwindowborder.h b/src/modules/notifier/notifierwindowborder.h
index 5c36827b..9bbd68fd 100644
--- a/src/modules/notifier/notifierwindowborder.h
+++ b/src/modules/notifier/notifierwindowborder.h
@@ -26,71 +26,71 @@
#include "notifiersettings.h"
-#include <qsize.h>
-#include <qrect.h>
-#include <qpixmap.h>
+#include <tqsize.h>
+#include <tqrect.h>
+#include <tqpixmap.h>
-class QPainter;
+class TQPainter;
class KviNotifierWindowBorder
{
public:
- KviNotifierWindowBorder(QSize = QSize(WDG_MIN_WIDTH,WDG_MIN_HEIGHT));
+ KviNotifierWindowBorder(TQSize = TQSize(WDG_MIN_WIDTH,WDG_MIN_HEIGHT));
~KviNotifierWindowBorder();
// ================================
// Put members declaration below...
// ================================
private:
- QRect m_rct;
- QPoint m_pnt;
+ TQRect m_rct;
+ TQPoint m_pnt;
- QRect m_closeIconRect;
+ TQRect m_closeIconRect;
- QRect m_captionRect;
- QRect m_bodyRect;
- QRect m_tabsRect;
- QRect m_titleRect;
+ TQRect m_captionRect;
+ TQRect m_bodyRect;
+ TQRect m_tabsRect;
+ TQRect m_titleRect;
- QRect m_progressRect;
+ TQRect m_progressRect;
// Pictures
- QPixmap * m_pixSX;
- QPixmap * m_pixDX;
- QPixmap * m_pixDWN;
- QPixmap * m_pixDWNSX;
- QPixmap * m_pixDWNDX;
- QPixmap * m_pixCaptionSX;
- QPixmap * m_pixCaptionDX;
- QPixmap * m_pixCaptionBKG;
- QPixmap * m_pixIconClose_out;
- QPixmap * m_pixIconClose_over;
- QPixmap * m_pixIconClose_clicked;
- QPixmap * m_pixIconClose;
+ TQPixmap * m_pixSX;
+ TQPixmap * m_pixDX;
+ TQPixmap * m_pixDWN;
+ TQPixmap * m_pixDWNSX;
+ TQPixmap * m_pixDWNDX;
+ TQPixmap * m_pixCaptionSX;
+ TQPixmap * m_pixCaptionDX;
+ TQPixmap * m_pixCaptionBKG;
+ TQPixmap * m_pixIconClose_out;
+ TQPixmap * m_pixIconClose_over;
+ TQPixmap * m_pixIconClose_clicked;
+ TQPixmap * m_pixIconClose;
- QPixmap m_pixSX_N;
- QPixmap m_pixDX_N;
- QPixmap m_pixDWN_N;
- QPixmap m_pixDWNSX_N;
- QPixmap m_pixDWNDX_N;
- QPixmap m_pixCaptionSX_N;
- QPixmap m_pixCaptionDX_N;
- QPixmap m_pixCaptionBKG_N;
- QPixmap m_pixIconClose_out_N;
- QPixmap m_pixIconClose_over_N;
- QPixmap m_pixIconClose_clicked_N;
+ TQPixmap m_pixSX_N;
+ TQPixmap m_pixDX_N;
+ TQPixmap m_pixDWN_N;
+ TQPixmap m_pixDWNSX_N;
+ TQPixmap m_pixDWNDX_N;
+ TQPixmap m_pixCaptionSX_N;
+ TQPixmap m_pixCaptionDX_N;
+ TQPixmap m_pixCaptionBKG_N;
+ TQPixmap m_pixIconClose_out_N;
+ TQPixmap m_pixIconClose_over_N;
+ TQPixmap m_pixIconClose_clicked_N;
- QPixmap m_pixSX_HL;
- QPixmap m_pixDX_HL;
- QPixmap m_pixDWN_HL;
- QPixmap m_pixDWNSX_HL;
- QPixmap m_pixDWNDX_HL;
- QPixmap m_pixCaptionSX_HL;
- QPixmap m_pixCaptionDX_HL;
- QPixmap m_pixCaptionBKG_HL;
- QPixmap m_pixIconClose_out_HL;
- QPixmap m_pixIconClose_over_HL;
- QPixmap m_pixIconClose_clicked_HL;
+ TQPixmap m_pixSX_HL;
+ TQPixmap m_pixDX_HL;
+ TQPixmap m_pixDWN_HL;
+ TQPixmap m_pixDWNSX_HL;
+ TQPixmap m_pixDWNDX_HL;
+ TQPixmap m_pixCaptionSX_HL;
+ TQPixmap m_pixCaptionDX_HL;
+ TQPixmap m_pixCaptionBKG_HL;
+ TQPixmap m_pixIconClose_out_HL;
+ TQPixmap m_pixIconClose_over_HL;
+ TQPixmap m_pixIconClose_clicked_HL;
int m_iTabsHeight;
int m_iTitleFontHeight;
@@ -116,9 +116,9 @@ public:
void setWidth(int w);
void setHeight(int h);
void resize(int w, int h) { setWidth(w); setHeight(h); };
- void resize(QSize r) { setWidth(r.width()); setHeight(r.height()); };
- void setGeometry(QRect r) { r.topLeft(); r.size(); /*debug("x,y: %d,%d", r.x(), r.y()); debug("w,h: %d,%d", r.width(), r.height());*/ };
- void setGeometry(QPoint p, QSize s) { setPoint (p.x(), p.y()); setWidth (s.width()); setHeight (s.height()); };
+ void resize(TQSize r) { setWidth(r.width()); setHeight(r.height()); };
+ void setGeometry(TQRect r) { r.topLeft(); r.size(); /*debug("x,y: %d,%d", r.x(), r.y()); debug("w,h: %d,%d", r.width(), r.height());*/ };
+ void setGeometry(TQPoint p, TQSize s) { setPoint (p.x(), p.y()); setWidth (s.width()); setHeight (s.height()); };
void setPoint(int x, int y) { m_pnt.setX(x); m_pnt.setY(y); m_rct.setX(x); m_rct.setY(y); };
@@ -132,19 +132,19 @@ public:
int height() { return m_rct.height(); };
int baseLine() { return (y()+height()); };
- QRect bodyRect() { return m_bodyRect; };
- QRect tabsRect() { return m_tabsRect; };
- QRect captionRect() { return m_captionRect; };
- QRect rect() { return m_rct; };
- QRect closeRect() { return m_closeIconRect; };
- QRect titleRect() { return m_titleRect; };
- QRect progressRect() { return m_progressRect; };
+ TQRect bodyRect() { return m_bodyRect; };
+ TQRect tabsRect() { return m_tabsRect; };
+ TQRect captionRect() { return m_captionRect; };
+ TQRect rect() { return m_rct; };
+ TQRect closeRect() { return m_closeIconRect; };
+ TQRect titleRect() { return m_titleRect; };
+ TQRect progressRect() { return m_progressRect; };
void centerTitle(int h) { m_iTitleFontHeight = h; };
void touch() { m_bNeedToRedraw = true; };
- void draw(QPainter *, bool b = false);
+ void draw(TQPainter *, bool b = false);
void setPics(bool b = false);
protected: