diff options
Diffstat (limited to 'krecipes/src/backends/progressinterface.h')
-rw-r--r-- | krecipes/src/backends/progressinterface.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/krecipes/src/backends/progressinterface.h b/krecipes/src/backends/progressinterface.h index 53c90fe..360d51b 100644 --- a/krecipes/src/backends/progressinterface.h +++ b/krecipes/src/backends/progressinterface.h @@ -11,8 +11,8 @@ #ifndef PROGRESSINTERFACE_H #define PROGRESSINTERFACE_H -#include <qobject.h> -#include <qwidget.h> +#include <ntqobject.h> +#include <ntqwidget.h> class KProgressDialog; @@ -30,7 +30,7 @@ class ProgressSlotObject; class ProgressInterface { public: - ProgressInterface( QWidget *parent ); + ProgressInterface( TQWidget *parent ); ~ProgressInterface(); void listenOn( RecipeDB* ); @@ -38,7 +38,7 @@ public: protected: friend class ProgressSlotObject; - virtual void progressBegin(int,const QString &caption,const QString &text,int rate); + virtual void progressBegin(int,const TQString &caption,const TQString &text,int rate); virtual void progressDone(); virtual void progress(); @@ -51,15 +51,15 @@ private: int m_rate_at; }; -class ProgressSlotObject : public QObject +class ProgressSlotObject : public TQObject { Q_OBJECT public: - ProgressSlotObject( QWidget*parent, ProgressInterface *p ) : QObject(parent), pInterface(p){} + ProgressSlotObject( TQWidget*parent, ProgressInterface *p ) : TQObject(parent), pInterface(p){} public slots: - void progressBegin(int i,const QString &caption=QString::null,const QString &text=QString::null,int rate=1){ pInterface->progressBegin(i,caption,text,rate); } + void progressBegin(int i,const TQString &caption=TQString::null,const TQString &text=TQString::null,int rate=1){ pInterface->progressBegin(i,caption,text,rate); } void progressDone(){ pInterface->progressDone(); } void progress(){ pInterface->progress(); } |