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 ab413080c..ea3506b8a 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 <tqtextcodec.h>
+#include <textcodec.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(slotChildtqStatus(int)) );
+ connect( d->statnot, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChildStatus(int)) );
}
return KProcess::commSetupDoneP();
}
@@ -124,12 +124,12 @@ int Kleo::GnuPGProcessBase::commSetupDoneC() {
return KProcess::commSetupDoneC();
}
-void Kleo::GnuPGProcessBase::slotChildtqStatus( int fd ) {
- if ( !childtqStatus(fd) )
- closetqStatus();
+void Kleo::GnuPGProcessBase::slotChildStatus( int fd ) {
+ if ( !childStatus(fd) )
+ closeStatus();
}
-bool Kleo::GnuPGProcessBase::closetqStatus() {
+bool Kleo::GnuPGProcessBase::closeStatus() {
if ( !d->useStatusFD )
return false;
d->useStatusFD = false;
@@ -138,7 +138,7 @@ bool Kleo::GnuPGProcessBase::closetqStatus() {
return true;
}
-int Kleo::GnuPGProcessBase::childtqStatus( int fd ) {
+int Kleo::GnuPGProcessBase::childStatus( int fd ) {
char buf[1024];
const int len = ::read( fd, buf, sizeof(buf)-1 );
if ( len > 0 ) {