diff options
Diffstat (limited to 'libkpgp/kpgpbase.cpp')
-rw-r--r-- | libkpgp/kpgpbase.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libkpgp/kpgpbase.cpp b/libkpgp/kpgpbase.cpp index 39762333d..fa444be7f 100644 --- a/libkpgp/kpgpbase.cpp +++ b/libkpgp/kpgpbase.cpp @@ -31,7 +31,7 @@ #include <sys/wait.h> /* waitpid */ #include <errno.h> -#include <qapplication.h> +#include <tqapplication.h> namespace Kpgp { @@ -50,10 +50,10 @@ Base::~Base() void Base::clear() { - input = QCString(); - output = QCString(); - error = QCString(); - errMsg = QString::null; + input = TQCString(); + output = TQCString(); + error = TQCString(); + errMsg = TQString::null; status = OK; } @@ -85,7 +85,7 @@ Base::run( const char *cmd, const char *passphrase, bool onlyReadFromPGP ) close(ppass[1]); // tell pgp which fd to use for the passphrase - QCString tmp; + TQCString tmp; tmp.sprintf("%d",ppass[0]); ::setenv("PGPPASSFD",tmp.data(),1); @@ -98,7 +98,7 @@ Base::run( const char *cmd, const char *passphrase, bool onlyReadFromPGP ) //Uncomment these lines for testing only! Doing so will decrease security! kdDebug(5100) << "pgp cmd = " << cmd << endl; - //kdDebug(5100) << "pgp input = " << QString(input) + //kdDebug(5100) << "pgp input = " << TQString(input) // << "input length = " << input.length() << endl; error = ""; @@ -108,7 +108,7 @@ Base::run( const char *cmd, const char *passphrase, bool onlyReadFromPGP ) pipe(pout); pipe(perr); - QApplication::flushX(); + TQApplication::flushX(); if(!(child_pid = fork())) { /*We're the child.*/ @@ -362,7 +362,7 @@ Base::run( const char *cmd, const char *passphrase, bool onlyReadFromPGP ) } //Uncomment these lines for testing only! Doing so will decrease security! - //kdDebug(5100) << "pgp output = " << QString(output) << endl; + //kdDebug(5100) << "pgp output = " << TQString(output) << endl; //kdDebug(5100) << "pgp error = " << error << endl; /* Make the information visible, so that a user can @@ -411,7 +411,7 @@ Base::runGpg( const char *cmd, const char *passphrase, bool onlyReadFromGnuPG ) //Uncomment these lines for testing only! Doing so will decrease security! //kdDebug(5100) << "pgp cmd = " << cmd << endl; - //kdDebug(5100) << "pgp input = " << QString(input) + //kdDebug(5100) << "pgp input = " << TQString(input) // << "input length = " << input.length() << endl; error = ""; @@ -448,7 +448,7 @@ Base::runGpg( const char *cmd, const char *passphrase, bool onlyReadFromGnuPG ) snprintf(gpgcmd, 1023, "LANGUAGE=C gpg %s",cmd); } - QApplication::flushX(); + TQApplication::flushX(); if(!(child_pid = fork())) { /*We're the child.*/ @@ -655,7 +655,7 @@ Base::runGpg( const char *cmd, const char *passphrase, bool onlyReadFromGnuPG ) } //Uncomment these lines for testing only! Doing so will decrease security! - //kdDebug(5100) << "gpg stdout:\n" << QString(output) << endl; + //kdDebug(5100) << "gpg stdout:\n" << TQString(output) << endl; // Make the information visible, so that a user can // get to know what's going on during the gpg calls. @@ -668,8 +668,8 @@ Base::runGpg( const char *cmd, const char *passphrase, bool onlyReadFromGnuPG ) QCString Base::addUserId() { - QCString cmd; - QCString pgpUser = Module::getKpgp()->user(); + TQCString cmd; + TQCString pgpUser = Module::getKpgp()->user(); if(!pgpUser.isEmpty()) { @@ -677,7 +677,7 @@ Base::addUserId() cmd += pgpUser; return cmd; } - return QCString(); + return TQCString(); } |