summaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/notifierwindowbody.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/notifier/notifierwindowbody.cpp')
-rw-r--r--src/modules/notifier/notifierwindowbody.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/notifier/notifierwindowbody.cpp b/src/modules/notifier/notifierwindowbody.cpp
index 7449aa9e..397068cd 100644
--- a/src/modules/notifier/notifierwindowbody.cpp
+++ b/src/modules/notifier/notifierwindowbody.cpp
@@ -26,19 +26,19 @@
#include "kvi_iconmanager.h"
-#include <qbrush.h>
-#include <qcolor.h>
-#include <qpainter.h>
+#include <tqbrush.h>
+#include <tqcolor.h>
+#include <tqpainter.h>
/*
#ifdef QT3_SUPPORT
#include <Q3Painter>
#else
- #include <qpainter.h>
+ #include <tqpainter.h>
#endif
*/
-KviNotifierWindowBody::KviNotifierWindowBody(QRect r)
+KviNotifierWindowBody::KviNotifierWindowBody(TQRect r)
{
loadImages();
setHeight(r.height());
@@ -55,7 +55,7 @@ KviNotifierWindowBody::~KviNotifierWindowBody()
void KviNotifierWindowBody::loadImages()
{
- QPixmap * p;
+ TQPixmap * p;
if((p = g_pIconManager->getPixmap("notifier_pix_body_dx.png")))
m_pixDX = *p;
if((p = g_pIconManager->getPixmap("notifier_pix_body_sx.png")))
@@ -189,11 +189,11 @@ void KviNotifierWindowBody::setWriteIcon(int state) {
}
};
-void KviNotifierWindowBody::draw(QPainter * p) {
+void KviNotifierWindowBody::draw(TQPainter * p) {
if (m_bNeedToRedraw) {
- p->fillRect(QRect(m_pnt,m_rct.size()),m_mac_bkgColor);
+ p->fillRect(TQRect(m_pnt,m_rct.size()),m_mac_bkgColor);
// Autotiled borders
p->drawTiledPixmap(m_pnt.x(), m_pnt.y(), m_pixSX.width(), m_rct.height() - m_pixDWNSX.height() - m_pixKVIrcSX.height(), m_pixSX);
@@ -219,14 +219,14 @@ void KviNotifierWindowBody::draw(QPainter * p) {
}
}
-void KviNotifierWindowBody::mouseMoveEvent(QMouseEvent * e) {
+void KviNotifierWindowBody::mouseMoveEvent(TQMouseEvent * e) {
}
-void KviNotifierWindowBody::mousePressEvent(QMouseEvent * e) {
+void KviNotifierWindowBody::mousePressEvent(TQMouseEvent * e) {
}
-void KviNotifierWindowBody::mouseReleaseEvent(QMouseEvent * e) {
+void KviNotifierWindowBody::mouseReleaseEvent(TQMouseEvent * e) {
}