summaryrefslogtreecommitdiffstats
path: root/arts
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-02 02:14:46 -0600
committerTimothy Pearson <[email protected]>2012-03-02 02:14:46 -0600
commit90a4df90811f0f978ae768939d8567f737e4c553 (patch)
tree057a536138b44495fc3aa26050c159fc6d3ef2ae /arts
parent4fb897b216c41c13f128c71bcc66f60e2dc601c4 (diff)
downloadtdelibs-90a4df90811f0f978ae768939d8567f737e4c553.tar.gz
tdelibs-90a4df90811f0f978ae768939d8567f737e4c553.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'arts')
-rw-r--r--arts/kde/kvideowidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/arts/kde/kvideowidget.cpp b/arts/kde/kvideowidget.cpp
index 7199a55a6..bc17f32d8 100644
--- a/arts/kde/kvideowidget.cpp
+++ b/arts/kde/kvideowidget.cpp
@@ -65,7 +65,7 @@ bool KFullscreenVideoWidget::x11Event( XEvent *event )
#if defined Q_WS_X11 && ! defined K_WS_QTONLY
if (event->type == ClientMessage &&
event->xclient.message_type ==
- XInternAtom( qt_xdisplay(), "VPO_RESIZE_NOTIFY", False ))
+ XInternAtom( tqt_xdisplay(), "VPO_RESIZE_NOTIFY", False ))
{
videoWidget->resizeNotify( event->xclient.data.l[0], event->xclient.data.l[1] );
}
@@ -202,13 +202,13 @@ TQImage KVideoWidget::snapshot( Arts::VideoPlayObject vpo )
return TQImage();
// Get 32bit RGBA image data (stored in 1bpp pixmap)
- XGetGeometry( qt_xdisplay(), pixmap, &root, &x, &y, &width, &height, &border, &depth );
+ XGetGeometry( tqt_xdisplay(), pixmap, &root, &x, &y, &width, &height, &border, &depth );
- xImage = XGetImage( qt_xdisplay(), pixmap, 0, 0, width, height, 1, XYPixmap );
+ xImage = XGetImage( tqt_xdisplay(), pixmap, 0, 0, width, height, 1, XYPixmap );
if (xImage == 0)
{
- XFreePixmap( qt_xdisplay(), pixmap );
+ XFreePixmap( tqt_xdisplay(), pixmap );
return TQImage();
}
@@ -217,7 +217,7 @@ TQImage KVideoWidget::snapshot( Arts::VideoPlayObject vpo )
// Free X11 resources and return Qt image
XDestroyImage( xImage );
- XFreePixmap( qt_xdisplay(), pixmap );
+ XFreePixmap( tqt_xdisplay(), pixmap );
return qImage;
#else
@@ -361,7 +361,7 @@ bool KVideoWidget::x11Event( XEvent *event )
#if defined Q_WS_X11 && ! defined K_WS_QTONLY
if (event->type == ClientMessage &&
event->xclient.message_type ==
- XInternAtom( qt_xdisplay(), "VPO_RESIZE_NOTIFY", False ))
+ XInternAtom( tqt_xdisplay(), "VPO_RESIZE_NOTIFY", False ))
{
resizeNotify( event->xclient.data.l[0], event->xclient.data.l[1] );
}