summaryrefslogtreecommitdiffstats
path: root/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp')
-rw-r--r--certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp
index e7690d4ff..f8dc45a6e 100644
--- a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp
+++ b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp
@@ -49,11 +49,11 @@
#include <kedittoolbar.h>
#include <kkeydialog.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqdir.h>
#include <tqeventloop.h>
#include <tqtimer.h>
-#include <tqtextcodec.h>
+#include <textcodec.h>
#define WATCHGNUPGBINARY "watchgnupg"
#define WATCHGNUPGSOCKET ( TQDir::home().canonicalPath() + "/.gnupg/log-socket")
@@ -90,7 +90,7 @@ KWatchGnuPGMainWindow::~KWatchGnuPGMainWindow()
void KWatchGnuPGMainWindow::slotClear()
{
mCentralWidget->clear();
- mCentralWidget->append( tqtr("[%1] Log cleared").tqarg( TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) ) );
+ mCentralWidget->append( tqtr("[%1] Log cleared").arg( TQDateTime::currentDateTime().toString(Qt::ISODate) ) );
}
void KWatchGnuPGMainWindow::createActions()
@@ -106,7 +106,7 @@ void KWatchGnuPGMainWindow::createActions()
(void)KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(slotConfigureToolbars()), actionCollection());
#if 0
- (void)new KAction( i18n("Configure KWatchGnuPG..."), TQString::tqfromLatin1("configure"),
+ (void)new KAction( i18n("Configure KWatchGnuPG..."), TQString::fromLatin1("configure"),
0, this, TQT_SLOT( slotConfigure() ),
actionCollection(), "configure" );
#endif
@@ -135,7 +135,7 @@ void KWatchGnuPGMainWindow::startWatcher()
kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput);
}
mCentralWidget->append(tqtr("[%1] Log stopped")
- .tqarg( TQDateTime::tqcurrentDateTime().toString(Qt::ISODate)));
+ .arg( TQDateTime::currentDateTime().toString(Qt::ISODate)));
}
mWatcher->clearArguments();
KConfig* config = kapp->config();
@@ -148,7 +148,7 @@ void KWatchGnuPGMainWindow::startWatcher()
KMessageBox::sorry( this, i18n("The watchgnupg logging process could not be started.\nPlease install watchgnupg somewhere in your $PATH.\nThis log window is now completely useless." ) );
} else {
mCentralWidget->append( tqtr("[%1] Log started")
- .tqarg( TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) ) );
+ .arg( TQDateTime::currentDateTime().toString(Qt::ISODate) ) );
}
connect( mWatcher, TQT_SIGNAL( processExited(KProcess*) ),
this, TQT_SLOT( slotWatcherExited() ) );
@@ -176,7 +176,7 @@ void KWatchGnuPGMainWindow::setGnuPGConfig()
entry->setStringValue( TQString("socket://")+
config->readEntry("Socket",
WATCHGNUPGSOCKET ));
- logclients << TQString("%1 (%2)").tqarg(*it).tqarg(comp->description());
+ logclients << TQString("%1 (%2)").arg(*it).arg(comp->description());
}
entry = group->entry("debug-level");
if( entry ) {
@@ -237,7 +237,7 @@ void KWatchGnuPGMainWindow::slotSaveAs()
if( KMessageBox::Yes !=
KMessageBox::warningYesNo( this, i18n("The file named \"%1\" already "
"exists. Are you sure you want "
- "to overwrite it?").tqarg(filename),
+ "to overwrite it?").arg(filename),
i18n("Overwrite File"), i18n("Overwrite"), KStdGuiItem::cancel() ) ) {
return;
}