From 7a92d5c79f247b98a50500822fdc4c391a1b1f41 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 8 May 2011 19:29:16 +0000 Subject: 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 --- common/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common') 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 -- cgit v1.2.1