summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/systemtray.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:16:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:16:46 -0600
commitcff40e79adc61fc83827b2d1c1221f1fb4c0ab74 (patch)
tree8a006648cd645f005141731d7931188e45a53374 /superkaramba/src/systemtray.cpp
parent3c87ec12c23bf62d3f60a7dd64020af8e0b997ce (diff)
downloadtdeutils-cff40e79adc61fc83827b2d1c1221f1fb4c0ab74.tar.gz
tdeutils-cff40e79adc61fc83827b2d1c1221f1fb4c0ab74.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'superkaramba/src/systemtray.cpp')
-rw-r--r--superkaramba/src/systemtray.cpp16
1 files changed, 8 insertions, 8 deletions
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())
{