summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:15:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:15:34 -0600
commit1b79089e1b614992ec6c9ba91441a8851030f75b (patch)
tree3599e02be64ac133bc665db3c84b93f673e64219 /krfb
parent6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71 (diff)
downloadtdenetwork-1b79089e1b614992ec6c9ba91441a8851030f75b.tar.gz
tdenetwork-1b79089e1b614992ec6c9ba91441a8851030f75b.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'krfb')
-rw-r--r--krfb/krfb/rfbcontroller.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/krfb/krfb/rfbcontroller.cc b/krfb/krfb/rfbcontroller.cc
index 37ac10b5..debe39f0 100644
--- a/krfb/krfb/rfbcontroller.cc
+++ b/krfb/krfb/rfbcontroller.cc
@@ -193,7 +193,7 @@ void KeyboardEvent::initKeycodes() {
KeySym key,*keymap;
int i,j,minkey,maxkey,syms_per_keycode;
- dpy = qt_xdisplay();
+ dpy = tqt_xdisplay();
memset(modifiers,-1,sizeof(modifiers));
@@ -284,7 +284,7 @@ PointerEvent::PointerEvent(int b, int _x, int _y) :
y(_y) {
if (!initialized) {
initialized = true;
- dpy = qt_xdisplay();
+ dpy = tqt_xdisplay();
buttonMask = 0;
}
}
@@ -385,7 +385,7 @@ RFBController::~RFBController()
void RFBController::startServer(int inetdFd, bool xtestGrab)
{
- framebufferImage = XGetImage(qt_xdisplay(),
+ framebufferImage = XGetImage(tqt_xdisplay(),
TQApplication::desktop()->winId(),
0,
0,
@@ -455,7 +455,7 @@ void RFBController::startServer(int inetdFd, bool xtestGrab)
passwordChanged();
- scanner = new XUpdateScanner(qt_xdisplay(),
+ scanner = new XUpdateScanner(tqt_xdisplay(),
TQApplication::desktop()->winId(),
(unsigned char*)fb, w, h,
server->rfbServerFormat.bitsPerPixel,
@@ -467,7 +467,7 @@ void RFBController::startServer(int inetdFd, bool xtestGrab)
if (xtestGrab) {
disabler.disable = false;
- XTestGrabControl(qt_xdisplay(), true);
+ XTestGrabControl(tqt_xdisplay(), true);
}
rfbRunEventLoop(server, -1, TRUE);
@@ -877,7 +877,7 @@ extern "C" Bool XShmQueryExtension(Display*);
bool RFBController::checkX11Capabilities() {
int bp1, bp2, majorv, minorv;
- Bool r = XTestQueryExtension(qt_xdisplay(), &bp1, &bp2,
+ Bool r = XTestQueryExtension(tqt_xdisplay(), &bp1, &bp2,
&majorv, &minorv);
if ((!r) || (((majorv*1000)+minorv) < 2002)) {
KMessageBox::error(0,
@@ -896,7 +896,7 @@ XTestDisabler::XTestDisabler() :
void XTestDisabler::exec() {
if (disable)
- XTestDiscard(qt_xdisplay());
+ XTestDiscard(tqt_xdisplay());
}
#include "rfbcontroller.moc"