summaryrefslogtreecommitdiffstats
path: root/src/clip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clip.cpp')
-rw-r--r--src/clip.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/clip.cpp b/src/clip.cpp
index de71d2b..979b278 100644
--- a/src/clip.cpp
+++ b/src/clip.cpp
@@ -1,17 +1,17 @@
#include "clip.h"
-#include <qwidget.h>
-#include <qbitmap.h>
-#include <qpainter.h>
+#include <ntqwidget.h>
+#include <ntqbitmap.h>
+#include <ntqpainter.h>
#include <netwm.h>
#include <netwm_def.h>
#include <kwin.h>
#include <kdebug.h>
-clip::clip(QWidget *parent, const char *name) : QWidget(parent, name, WStyle_Customize | WStyle_NoBorder | WNoAutoErase | WDestructiveClose | WMouseNoMask | WStyle_StaysOnTop)
+clip::clip(TQWidget *parent, const char *name) : TQWidget(parent, name, WStyle_Customize | WStyle_NoBorder | WNoAutoErase | WDestructiveClose | WMouseNoMask | WStyle_StaysOnTop)
{
- info = new NETWinInfo( qt_xdisplay(), winId(), qt_xrootwin(), NET::WMState);
+ info = new NETWinInfo( tqt_xdisplay(), winId(), tqt_xrootwin(), NET::WMState);
info->setDesktop( NETWinInfo::OnAllDesktops );
info->setState(NETWinInfo::SkipTaskbar | NETWinInfo::SkipPager, NETWinInfo::SkipTaskbar | NETWinInfo::SkipPager);
@@ -34,13 +34,13 @@ void clip::clipDesktop(int p1,int p2,int p3,int p4,int p5,int p6,int p7,int p8,i
KWin::setExtendedStrut(winId(), p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12);
}
-void clip::paintEvent(QPaintEvent *)
+void clip::paintEvent(TQPaintEvent *)
{
- QBitmap bm(size());
- QPainter mp;
+ TQBitmap bm(size());
+ TQPainter mp;
mp.begin(&bm, this);
- mp.fillRect(rect(), Qt::black);
+ mp.fillRect(rect(), TQt::black);
mp.end();
setMask(bm);