From 8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 2 Mar 2012 02:13:02 -0600 Subject: Rename additional global functions and variables for tqt3 --- kcontrol/randr/krandrpassivepopup.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol/randr/krandrpassivepopup.cpp') diff --git a/kcontrol/randr/krandrpassivepopup.cpp b/kcontrol/randr/krandrpassivepopup.cpp index 8f340bdee..12d9f8a3f 100644 --- a/kcontrol/randr/krandrpassivepopup.cpp +++ b/kcontrol/randr/krandrpassivepopup.cpp @@ -45,7 +45,7 @@ KRandrPassivePopup* KRandrPassivePopup::message( const TQString &caption, const void KRandrPassivePopup::startWatchingWidget( TQWidget* widget_P ) { - static Atom wm_state = XInternAtom( qt_xdisplay() , "WM_STATE", False ); + static Atom wm_state = XInternAtom( tqt_xdisplay() , "WM_STATE", False ); Window win = widget_P->winId(); bool x11_events = false; for(;;) @@ -53,7 +53,7 @@ void KRandrPassivePopup::startWatchingWidget( TQWidget* widget_P ) Window root, parent; Window* children; unsigned int nchildren; - XQueryTree( qt_xdisplay(), win, &root, &parent, &children, &nchildren ); + XQueryTree( tqt_xdisplay(), win, &root, &parent, &children, &nchildren ); if( children != NULL ) XFree( children ); if( win == root ) // huh? @@ -69,8 +69,8 @@ void KRandrPassivePopup::startWatchingWidget( TQWidget* widget_P ) else { XWindowAttributes attrs; - XGetWindowAttributes( qt_xdisplay(), win, &attrs ); - XSelectInput( qt_xdisplay(), win, attrs.your_event_mask | StructureNotifyMask ); + XGetWindowAttributes( tqt_xdisplay(), win, &attrs ); + XSelectInput( tqt_xdisplay(), win, attrs.your_event_mask | StructureNotifyMask ); watched_windows.append( win ); x11_events = true; } @@ -78,7 +78,7 @@ void KRandrPassivePopup::startWatchingWidget( TQWidget* widget_P ) int format; unsigned long nitems, after; unsigned char* data; - if( XGetWindowProperty( qt_xdisplay(), win, wm_state, 0, 0, False, AnyPropertyType, + if( XGetWindowProperty( tqt_xdisplay(), win, wm_state, 0, 0, False, AnyPropertyType, &type, &format, &nitems, &after, &data ) == Success ) { if( data != NULL ) -- cgit v1.2.1