summaryrefslogtreecommitdiffstats
path: root/src/mixminion.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixminion.ui.h')
-rw-r--r--src/mixminion.ui.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mixminion.ui.h b/src/mixminion.ui.h
index 38ba077..03cf179 100644
--- a/src/mixminion.ui.h
+++ b/src/mixminion.ui.h
@@ -22,13 +22,13 @@
#include <kmessagebox.h>
#include <kprogress.h>
#include <kdebug.h>
-#include <qregexp.h>
-#include <qtimer.h>
+#include <ntqregexp.h>
+#include <ntqtimer.h>
#include "torkconfig.h"
#include <cstdlib>
KProgressDialog* progressDialog;
-QString output;
+TQString output;
void MixMinionClient::init()
{
@@ -47,12 +47,12 @@ void MixMinionClient::send_clicked()
KProcIO* mixminionproc = new KProcIO();
mixminionproc->setUseShell(TRUE);
- QString curpath = (QString) getenv("PATH");
+ TQString curpath = (TQString) getenv("PATH");
mixminionproc->setEnvironment("PATH",curpath + ":/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin");
- mixminionproc->setEnvironment("http_proxy",QString("%1:%2").arg(TorkConfig::konqHttpProxy())
+ mixminionproc->setEnvironment("http_proxy",TQString("%1:%2").arg(TorkConfig::konqHttpProxy())
.arg(TorkConfig::konqHttpProxyPort()));
- mixminionproc->setEnvironment("https_proxy",QString("%1:%2").arg(TorkConfig::konqHttpsProxy())
+ mixminionproc->setEnvironment("https_proxy",TQString("%1:%2").arg(TorkConfig::konqHttpsProxy())
.arg(TorkConfig::konqHttpsProxyPort()));
*mixminionproc << "printf '" << messageBody->text() <<"' | mixminion send -t " << toAddress->text()
@@ -63,7 +63,7 @@ void MixMinionClient::send_clicked()
connect( mixminionproc, SIGNAL(readReady(KProcIO *)),
SLOT(receivedMixminionOutput(KProcIO *)) );
- progressDialog = new KProgressDialog( this, "progress_dialog", QString::null, "Sending Anonymous Mail Message..", false );
+ progressDialog = new KProgressDialog( this, "progress_dialog", TQString::null, "Sending Anonymous Mail Message..", false );
progressDialog->setPlainCaption( i18n( "Sending Anonymous Mail Message.." ) );
@@ -72,7 +72,7 @@ void MixMinionClient::send_clicked()
progressDialog->setMinimumDuration( 500 );
progressDialog->show();
- QTimer* timer = new QTimer( this );
+ TQTimer* timer = new TQTimer( this );
connect( timer, SIGNAL( timeout() ), this, SLOT( slotProg() ) );
timer->start( 200, FALSE );
@@ -92,9 +92,9 @@ void MixMinionClient::receivedMixminionOutput(KProcIO *mixminionproc)
{
int pos;
- QString item2;
+ TQString item2;
while ((mixminionproc) && ((pos = (mixminionproc->readln(item2,true))) != -1)) {
- item2.replace(QRegExp("^[^#]+\\]"),"");
+ item2.replace(TQRegExp("^[^#]+\\]"),"");
progressDialog->setLabel( item2.stripWhiteSpace());
progressDialog->progressBar()->setProgress(progressDialog->progressBar()->progress() + 4 );
output += item2;
@@ -106,8 +106,8 @@ void MixMinionClient::receivedMixminionOutput(KProcIO *mixminionproc)
void MixMinionClient::mixminionprocExited(KProcess *proc)
{
- QString caption;
- QString message;
+ TQString caption;
+ TQString message;
delete progressDialog;
progressDialog = 0;