Rename additional global TQt functions

pull/1/head
Timothy Pearson 13 years ago
parent b35dd8f905
commit dd03aef469

@ -132,8 +132,8 @@ KdeSudo::KdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
FILE *fout;
char iceauthority[200];
char *host, *auth;
host = qstrdup(dcopServer);
auth = qstrdup(iceAuth);
host = tqstrdup(dcopServer);
auth = tqstrdup(iceAuth);
int tempfile;
int oldumask = umask(077);
@ -156,7 +156,7 @@ KdeSudo::KdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
exit(1);
}
fprintf(fout, "add ICE \"\" %s %s\n", host, auth);
auth = qstrdup(dcopAuth);
auth = tqstrdup(dcopAuth);
//auth = xstrsep(params[P_DCOP_AUTH].value);
fprintf(fout, "add DCOP \"\" %s %s\n", host, auth);
unsetenv("ICEAUTHORITY");

Loading…
Cancel
Save