summaryrefslogtreecommitdiffstats
path: root/krecipes/src/backends/progressinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/backends/progressinterface.cpp')
-rw-r--r--krecipes/src/backends/progressinterface.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/krecipes/src/backends/progressinterface.cpp b/krecipes/src/backends/progressinterface.cpp
index 7d2a7bd..aab2bc5 100644
--- a/krecipes/src/backends/progressinterface.cpp
+++ b/krecipes/src/backends/progressinterface.cpp
@@ -10,13 +10,13 @@
#include "progressinterface.h"
-#include <qapplication.h>
+#include <ntqapplication.h>
#include <kprogress.h>
#include "recipedb.h"
-ProgressInterface::ProgressInterface( QWidget *parent ) : progress_dlg(0), database(0), m_rate(1), m_rate_at(0)
+ProgressInterface::ProgressInterface( TQWidget *parent ) : progress_dlg(0), database(0), m_rate(1), m_rate_at(0)
{
slot_obj = new ProgressSlotObject(parent,this);
}
@@ -27,11 +27,11 @@ ProgressInterface::~ProgressInterface()
delete slot_obj;
}
-void ProgressInterface::progressBegin( int steps, const QString &caption, const QString &text, int rate )
+void ProgressInterface::progressBegin( int steps, const TQString &caption, const TQString &text, int rate )
{
m_rate = rate;
- progress_dlg = new KProgressDialog((QWidget*)slot_obj->parent(),0,caption,text,true);
+ progress_dlg = new KProgressDialog((TQWidget*)slot_obj->parent(),0,caption,text,true);
if ( steps == 0 )
progress_dlg->progressBar()->setPercentageVisible(false);
@@ -58,7 +58,7 @@ void ProgressInterface::progress()
progress_dlg->progressBar()->advance(1);
m_rate_at = 0;
}
- qApp->processEvents();
+ tqApp->processEvents();
}
}
@@ -68,7 +68,7 @@ void ProgressInterface::listenOn( RecipeDB *db )
database->disconnect(slot_obj);
if ( db ) {
- slot_obj->connect( db, SIGNAL(progressBegin(int,const QString&,const QString&,int)), slot_obj, SLOT(progressBegin(int,const QString&,const QString&,int)) );
+ slot_obj->connect( db, SIGNAL(progressBegin(int,const TQString&,const TQString&,int)), slot_obj, SLOT(progressBegin(int,const TQString&,const TQString&,int)) );
slot_obj->connect( db, SIGNAL(progressDone()), slot_obj, SLOT(progressDone()) );
slot_obj->connect( db, SIGNAL(progress()), slot_obj, SLOT(progress()) );
}