From cff40e79adc61fc83827b2d1c1221f1fb4c0ab74 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 2 Mar 2012 02:16:46 -0600 Subject: Rename additional global functions and variables for tqt3 --- superkaramba/src/systemtray.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'superkaramba/src/systemtray.cpp') diff --git a/superkaramba/src/systemtray.cpp b/superkaramba/src/systemtray.cpp index 353f7de..fbe220d 100644 --- a/superkaramba/src/systemtray.cpp +++ b/superkaramba/src/systemtray.cpp @@ -68,18 +68,18 @@ void Systemtray::updateBackgroundPixmap ( const TQPixmap & pixmap) { } TQPoint topPoint = mapToGlobal(TQPoint(0,0)); - Window hack = XCreateSimpleWindow(qt_xdisplay(), winId(), 0,0, width(), height(), 0, 0, 0); - XRaiseWindow(qt_xdisplay(), hack); - XMapWindow(qt_xdisplay(), hack); - XUnmapWindow(qt_xdisplay(), hack); - XDestroyWindow(qt_xdisplay(), hack); + Window hack = XCreateSimpleWindow(tqt_xdisplay(), winId(), 0,0, width(), height(), 0, 0, 0); + XRaiseWindow(tqt_xdisplay(), hack); + XMapWindow(tqt_xdisplay(), hack); + XUnmapWindow(tqt_xdisplay(), hack); + XDestroyWindow(tqt_xdisplay(), hack); } void Systemtray::initSystray( void ) { bool existing = false; //bool content = false; - Display *display = qt_xdisplay(); + Display *display = tqt_xdisplay(); no_of_systray_windows = 0; twin_module = new KWinModule(); @@ -111,7 +111,7 @@ void Systemtray::initSystray( void ) connect(twin_module, TQT_SIGNAL(systemTrayWindowRemoved(WId)), TQT_SLOT(systemTrayWindowRemoved(WId))); TQCString screenstr; - screenstr.setNum(qt_xscreen()); + screenstr.setNum(tqt_xscreen()); TQCString trayatom = "_NET_SYSTEM_TRAY_S" + screenstr; net_system_tray_selection = XInternAtom( display, trayatom, false ); @@ -123,7 +123,7 @@ void Systemtray::initSystray( void ) winId(), CurrentTime ); - WId root = qt_xrootwin(); + WId root = tqt_xrootwin(); if (XGetSelectionOwner(display, net_system_tray_selection) == winId()) { -- cgit v1.2.1