summaryrefslogtreecommitdiffstats
path: root/kwin/utils.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/utils.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/utils.cpp')
-rw-r--r--kwin/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kwin/utils.cpp b/kwin/utils.cpp
index 7c4fd00eb..7a3e3541d 100644
--- a/kwin/utils.cpp
+++ b/kwin/utils.cpp
@@ -183,14 +183,14 @@ bool KWinSelectionOwner::genericReply( Atom target_P, Atom property_P, Window re
Atom KWinSelectionOwner::xa_version = None;
-QCString getStringProperty(WId w, Atom prop, char separator)
+TQCString getStringProperty(WId w, Atom prop, char separator)
{
Atom type;
int format, status;
unsigned long nitems = 0;
unsigned long extra = 0;
unsigned char *data = 0;
- QCString result = "";
+ TQCString result = "";
KXErrorHandler handler; // ignore errors
status = XGetWindowProperty( qt_xdisplay(), w, prop, 0, 10000,
FALSE, XA_STRING, &type, &format,
@@ -256,7 +256,7 @@ static Bool update_x_time_predicate( Display*, XEvent* event, XPointer )
*/
void updateXTime()
{
- static QWidget* w = 0;
+ static TQWidget* w = 0;
if ( !w )
w = new QWidget;
long data = 1;
@@ -302,7 +302,7 @@ bool grabbedXServer()
#endif
-bool isLocalMachine( const QCString& host )
+bool isLocalMachine( const TQCString& host )
{
#ifdef HOST_NAME_MAX
char hostnamebuf[HOST_NAME_MAX];