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

@ -47,7 +47,7 @@ namespace KIPISlideShowPlugin
unsigned ScreenProperties::suggestFrameRate() {
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 ;)
return 25;
}
@ -56,7 +56,7 @@ namespace KIPISlideShowPlugin
XRRScreenConfiguration* config;
int screenRate;
config = XRRGetScreenInfo(qt_xdisplay(), RootWindow(qt_xdisplay(),
config = XRRGetScreenInfo(tqt_xdisplay(), RootWindow(tqt_xdisplay(),
activeScreen));
screenRate = XRRConfigCurrentRate(config);
XRRFreeScreenConfigInfo(config);

Loading…
Cancel
Save