summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete')
-rw-r--r--kopete/libkopete/avdevice/qvideostream.cpp2
-rw-r--r--kopete/libkopete/webcamwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kopete/libkopete/avdevice/qvideostream.cpp b/kopete/libkopete/avdevice/qvideostream.cpp
index 63de80c8..5c4693b8 100644
--- a/kopete/libkopete/avdevice/qvideostream.cpp
+++ b/kopete/libkopete/avdevice/qvideostream.cpp
@@ -235,7 +235,7 @@ void QVideoStream::init()
}
d->xim = XCreateImage(_w->x11Display(),
- (Visual*)TQT_TQPAINTDEVICE(_w)->x11Visual(),
+ (Visual*)_w->x11Visual(),
_w->x11Depth(),
ZPixmap, 0, 0,
_inputSize.width(),
diff --git a/kopete/libkopete/webcamwidget.cpp b/kopete/libkopete/webcamwidget.cpp
index 5940a0f1..efd005eb 100644
--- a/kopete/libkopete/webcamwidget.cpp
+++ b/kopete/libkopete/webcamwidget.cpp
@@ -73,7 +73,7 @@ void WebcamWidget::paintEvent( TQPaintEvent* event )
{
for (unsigned int i = 0; i < rects.count(); ++i)
{
- bitBlt(TQT_TQPAINTDEVICE(this), rects[i].topLeft(), TQT_TQPAINTDEVICE(&mPixmap), rects[i], TQt::CopyROP, true);
+ bitBlt(this, rects[i].topLeft(), &mPixmap, rects[i], TQt::CopyROP, true);
}
}
else