diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-08 19:29:16 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-08 19:29:16 +0000 |
commit | 7a92d5c79f247b98a50500822fdc4c391a1b1f41 (patch) | |
tree | 7e2eb6f7e2bd93b1b92acfc8b14f2dab5d2adcc9 /common | |
parent | 7b227bd6ed94b3972dc84667dd5c726fa488c6e8 (diff) | |
download | kgtk-qt3-7a92d5c79f247b98a50500822fdc4c391a1b1f41.tar.gz kgtk-qt3-7a92d5c79f247b98a50500822fdc4c391a1b1f41.zip |
TQt4 port kgtk-qt3
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kgtk-qt3@1230933 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'common')
-rw-r--r-- | common/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/common.h b/common/common.h index ca246b9..61769f3 100644 --- a/common/common.h +++ b/common/common.h @@ -55,7 +55,7 @@ static const char * getPidFileName() #ifdef __KDIALOGD_H__ // We are kdialogd - so create socket folder if it does not exist... sprintf(pidfile, "%s/%s%s", tmp, PID_DIR, user); - KStandardDirs::makeDir(QString::fromAscii(pidfile)); + KStandardDirs::makeDir(TQString::fromAscii(pidfile)); #endif /* CPD: TODO get dispaly number! */ @@ -95,7 +95,7 @@ static const char * getSockName() #ifdef __KDIALOGD_H__ // We are kdialogd - so create socket folder if it does not exist... sprintf(sock, "%s/%s%s", tmp, SOCK_DIR, user); - KStandardDirs::makeDir(QString::fromAscii(sock)); + KStandardDirs::makeDir(TQString::fromAscii(sock)); #endif /* CPD: TODO get dispaly number! */ @@ -166,7 +166,7 @@ static int writeBlock(int fd, const char *pData, int size) #ifdef KDIALOGD_APP /* - So that kdailogd can terminate when the last app exits, need a way of synchronising the Gtk/Qt + So that kdailogd can terminate when the last app exits, need a way of synchronising the Gtk/TQt apps that may wish to connect, and the removal of the socket. To this en, a lockfile is created,and used to guard around the critical sections |