summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp')
-rw-r--r--certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp b/certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp
index ea3506b8a..ab413080c 100644
--- a/certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp
+++ b/certmanager/lib/backends/qgpgme/gnupgprocessbase.cpp
@@ -36,7 +36,7 @@
#include <kurl.h>
#include <tqsocketnotifier.h>
-#include <textcodec.h>
+#include <tqtextcodec.h>
#include <tqstringlist.h>
#include <unistd.h>
@@ -113,7 +113,7 @@ int Kleo::GnuPGProcessBase::commSetupDoneP() {
if ( d->useStatusFD ) {
::close( d->statusFD[1] ); // close the input end of the pipe, we're the reader
d->statnot = new TQSocketNotifier( d->statusFD[0], TQSocketNotifier::Read, this );
- connect( d->statnot, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChildStatus(int)) );
+ connect( d->statnot, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChildtqStatus(int)) );
}
return KProcess::commSetupDoneP();
}
@@ -124,12 +124,12 @@ int Kleo::GnuPGProcessBase::commSetupDoneC() {
return KProcess::commSetupDoneC();
}
-void Kleo::GnuPGProcessBase::slotChildStatus( int fd ) {
- if ( !childStatus(fd) )
- closeStatus();
+void Kleo::GnuPGProcessBase::slotChildtqStatus( int fd ) {
+ if ( !childtqStatus(fd) )
+ closetqStatus();
}
-bool Kleo::GnuPGProcessBase::closeStatus() {
+bool Kleo::GnuPGProcessBase::closetqStatus() {
if ( !d->useStatusFD )
return false;
d->useStatusFD = false;
@@ -138,7 +138,7 @@ bool Kleo::GnuPGProcessBase::closeStatus() {
return true;
}
-int Kleo::GnuPGProcessBase::childStatus( int fd ) {
+int Kleo::GnuPGProcessBase::childtqStatus( int fd ) {
char buf[1024];
const int len = ::read( fd, buf, sizeof(buf)-1 );
if ( len > 0 ) {