summaryrefslogtreecommitdiffstats
path: root/tdecore/krootprop.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:14:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:14:46 -0600
commit90a4df90811f0f978ae768939d8567f737e4c553 (patch)
tree057a536138b44495fc3aa26050c159fc6d3ef2ae /tdecore/krootprop.cpp
parent4fb897b216c41c13f128c71bcc66f60e2dc601c4 (diff)
downloadtdelibs-90a4df90811f0f978ae768939d8567f737e4c553.tar.gz
tdelibs-90a4df90811f0f978ae768939d8567f737e4c553.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'tdecore/krootprop.cpp')
-rw-r--r--tdecore/krootprop.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/krootprop.cpp b/tdecore/krootprop.cpp
index 031e27abf..cb0200c99 100644
--- a/tdecore/krootprop.cpp
+++ b/tdecore/krootprop.cpp
@@ -64,11 +64,11 @@ void KRootProp::sync()
}
}
- XChangeProperty( qt_xdisplay(), qt_xrootwin(), atom,
+ XChangeProperty( tqt_xdisplay(), tqt_xrootwin(), atom,
XA_STRING, 8, PropModeReplace,
(const unsigned char *)propString.utf8().data(),
propString.length());
- XFlush( qt_xdisplay() );
+ XFlush( tqt_xdisplay() );
}
void KRootProp::setProp( const TQString& rProp )
@@ -89,14 +89,14 @@ void KRootProp::setProp( const TQString& rProp )
if( rProp.isEmpty() )
return;
- atom = XInternAtom( qt_xdisplay(), rProp.utf8(), False);
+ atom = XInternAtom( tqt_xdisplay(), rProp.utf8(), False);
TQString s;
offset = 0; bytes_after = 1;
while (bytes_after != 0)
{
unsigned char *buf = 0;
- if (XGetWindowProperty( qt_xdisplay(), qt_xrootwin(), atom, offset, 256,
+ if (XGetWindowProperty( tqt_xdisplay(), tqt_xrootwin(), atom, offset, 256,
False, XA_STRING, &type, &format, &nitems, &bytes_after,
&buf) == Success && buf)
{
@@ -152,7 +152,7 @@ void KRootProp::destroy()
dirty = false;
propDict.clear();
if( atom ) {
- XDeleteProperty( qt_xdisplay(), qt_xrootwin(), atom );
+ XDeleteProperty( tqt_xdisplay(), tqt_xrootwin(), atom );
atom = 0;
}
}