summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:09:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:09:46 -0600
commit068b77312fca935db07146e348eaf57969d9f059 (patch)
tree699bc4d1b208fb5c3b4dbebdc4ca2ac2c7774ca7
parent21b5bfab4d2467a0f644d653e12f169ea4afcaaf (diff)
downloadkipi-plugins-068b77312fca935db07146e348eaf57969d9f059.tar.gz
kipi-plugins-068b77312fca935db07146e348eaf57969d9f059.zip
Rename additional global functions and variables for tqt3
-rw-r--r--kipi-plugins/acquireimages/screenshotdialog.cpp8
-rw-r--r--kipi-plugins/slideshow/screenproperties.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/kipi-plugins/acquireimages/screenshotdialog.cpp b/kipi-plugins/acquireimages/screenshotdialog.cpp
index 725f721..5ade146 100644
--- a/kipi-plugins/acquireimages/screenshotdialog.cpp
+++ b/kipi-plugins/acquireimages/screenshotdialog.cpp
@@ -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())
{
diff --git a/kipi-plugins/slideshow/screenproperties.cpp b/kipi-plugins/slideshow/screenproperties.cpp
index aa6e92d..5c321a4 100644
--- a/kipi-plugins/slideshow/screenproperties.cpp
+++ b/kipi-plugins/slideshow/screenproperties.cpp
@@ -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);