Rename additional global functions and variables for tqt3

pull/1/head
Timothy Pearson 13 years ago
parent 21b5bfab4d
commit 068b77312f

@ -240,7 +240,7 @@ void ScreenGrabDialog::slotPerformGrab()
Window child; Window child;
uint mask; uint mask;
int rootX, rootY, winX, winY; int rootX, rootY, winX, winY;
XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child, XQueryPointer( tqt_xdisplay(), tqt_xrootwin(), &root, &child,
&rootX, &rootY, &winX, &winY, &rootX, &rootY, &winX, &winY,
&mask); &mask);
@ -248,13 +248,13 @@ void ScreenGrabDialog::slotPerformGrab()
unsigned int w, h; unsigned int w, h;
unsigned int border; unsigned int border;
unsigned int depth; unsigned int depth;
XGetGeometry( qt_xdisplay(), child, &root, &x, &y, XGetGeometry( tqt_xdisplay(), child, &root, &x, &y,
&w, &h, &border, &depth ); &w, &h, &border, &depth );
m_snapshot = TQPixmap::grabWindow( qt_xrootwin(), x, y, w, h ); m_snapshot = TQPixmap::grabWindow( tqt_xrootwin(), x, y, w, h );
} }
else else
m_snapshot = TQPixmap::grabWindow( qt_xrootwin() ); m_snapshot = TQPixmap::grabWindow( tqt_xrootwin() );
if (m_snapshot.isNull()) if (m_snapshot.isNull())
{ {

@ -47,7 +47,7 @@ namespace KIPISlideShowPlugin
unsigned ScreenProperties::suggestFrameRate() { unsigned ScreenProperties::suggestFrameRate() {
int eventBase, errorBase; int eventBase, errorBase;
if ( !XRRQueryExtension(qt_xdisplay(), &eventBase, &errorBase)) { if ( !XRRQueryExtension(tqt_xdisplay(), &eventBase, &errorBase)) {
// No information, make a lucky guess on based on that ;) // No information, make a lucky guess on based on that ;)
return 25; return 25;
} }
@ -56,7 +56,7 @@ namespace KIPISlideShowPlugin
XRRScreenConfiguration* config; XRRScreenConfiguration* config;
int screenRate; int screenRate;
config = XRRGetScreenInfo(qt_xdisplay(), RootWindow(qt_xdisplay(), config = XRRGetScreenInfo(tqt_xdisplay(), RootWindow(tqt_xdisplay(),
activeScreen)); activeScreen));
screenRate = XRRConfigCurrentRate(config); screenRate = XRRConfigCurrentRate(config);
XRRFreeScreenConfigInfo(config); XRRFreeScreenConfigInfo(config);

Loading…
Cancel
Save