summaryrefslogtreecommitdiffstats
path: root/kppp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/main.cpp')
-rw-r--r--kppp/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kppp/main.cpp b/kppp/main.cpp
index 753291ba..9890e9e1 100644
--- a/kppp/main.cpp
+++ b/kppp/main.cpp
@@ -135,7 +135,7 @@ extern "C" {
int main( int argc, char **argv ) {
// make sure that open/fopen and so on NEVER return 1 or 2 (stdout and stderr)
- // Expl: if stdout/stderr were closed on program start (by parent), open()
+ // Expl: if stdout/stderr were closed on program start (by tqparent), open()
// would return a FD of 1, 2 (or even 0 if stdin was closed too)
if(fcntl(0, F_GETFL) == -1)
(void)open("/dev/null", O_RDONLY);
@@ -172,7 +172,7 @@ int main( int argc, char **argv ) {
exit(1);
}
- // parent process
+ // tqparent process
close(sockets[1]);
// drop setuid status
@@ -241,7 +241,7 @@ int main( int argc, char **argv ) {
KGlobal::dirs()->saveLocation("appdata", "Rules");
int pid = create_pidfile();
- TQString err_msg = i18n("kppp can't create or read from\n%1.").arg(pidfile);
+ TQString err_msg = i18n("kppp can't create or read from\n%1.").tqarg(pidfile);
if(pid < 0) {
KMessageBox::error(0L, err_msg);
@@ -281,7 +281,7 @@ int main( int argc, char **argv ) {
"Alternatively, if you have determined that "
"there is no other kppp running, please "
"click Continue to begin.")
- .arg(pidfile).arg(pid);
+ .tqarg(pidfile).tqarg(pid);
int button = KMessageBox::warningYesNo(0, msg, i18n("Error"),
i18n("Exit"), KStdGuiItem::cont());
if (button == KMessageBox::Yes) /* exit */