summaryrefslogtreecommitdiffstats
path: root/libkgpgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libkgpgfile')
-rw-r--r--libkgpgfile/kgpgfile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkgpgfile/kgpgfile.cpp b/libkgpgfile/kgpgfile.cpp
index 934c772..5dc3b69 100644
--- a/libkgpgfile/kgpgfile.cpp
+++ b/libkgpgfile/kgpgfile.cpp
@@ -85,7 +85,7 @@ KGPGFile::~KGPGFile()
void KGPGFile::init(void)
{
setFlags(IO_Sequential);
- setqStatus(IO_Ok);
+ seStatus(IO_Ok);
setState(0);
}
@@ -253,7 +253,7 @@ bool KGPGFile::startProcess(const TQStringList& args)
}
// let the process settle and see if it starts and survives ;-)
- kapp->tqprocessEvents(100);
+ kapp->processEvents(100);
return true;
}
@@ -444,7 +444,7 @@ void KGPGFile::slotGPGExited(KProcess* )
if(m_process->normalExit()) {
m_exitStatus = m_process->exitStatus();
if(m_exitStatus != 0)
- setqStatus(IO_UnspecifiedError);
+ seStatus(IO_UnspecifiedError);
} else {
m_exitStatus = -1;
}
@@ -567,7 +567,7 @@ void KGPGFile::publicKeyList(TQStringList& list, const TQString& pattern)
TQString val;
if(fields[0] == "pub") {
TQDate expiration = TQDate::fromString(fields[6], Qt::ISODate);
- if(expiration > TQDate::tqcurrentDate()) {
+ if(expiration > TQDate::currentDate()) {
currentKey = fields[4];
val = TQString("%1:%2").tqarg(currentKey).tqarg(fields[9]);
map[val] = val;