Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent ac46651540
commit 42bf51c105

@ -55,7 +55,7 @@ static const char * getPidFileName()
#ifdef __KDIALOGD_H__ #ifdef __KDIALOGD_H__
// We are kdialogd - so create socket folder if it does not exist... // We are kdialogd - so create socket folder if it does not exist...
sprintf(pidfile, "%s/%s%s", tmp, PID_DIR, user); sprintf(pidfile, "%s/%s%s", tmp, PID_DIR, user);
KStandardDirs::makeDir(TQString::fromAscii(pidfile)); TDEStandardDirs::makeDir(TQString::fromAscii(pidfile));
#endif #endif
/* CPD: TODO get dispaly number! */ /* CPD: TODO get dispaly number! */
@ -95,7 +95,7 @@ static const char * getSockName()
#ifdef __KDIALOGD_H__ #ifdef __KDIALOGD_H__
// We are kdialogd - so create socket folder if it does not exist... // We are kdialogd - so create socket folder if it does not exist...
sprintf(sock, "%s/%s%s", tmp, SOCK_DIR, user); sprintf(sock, "%s/%s%s", tmp, SOCK_DIR, user);
KStandardDirs::makeDir(TQString::fromAscii(sock)); TDEStandardDirs::makeDir(TQString::fromAscii(sock));
#endif #endif
/* CPD: TODO get dispaly number! */ /* CPD: TODO get dispaly number! */

Loading…
Cancel
Save