diff options
Diffstat (limited to 'krename/ProgressDialog.h')
-rw-r--r-- | krename/ProgressDialog.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/krename/ProgressDialog.h b/krename/ProgressDialog.h index 0bbab51..2b467b0 100644 --- a/krename/ProgressDialog.h +++ b/krename/ProgressDialog.h @@ -18,7 +18,7 @@ #ifndef PROGRESSDIALOG_H #define PROGRESSDIALOG_H -#include <qwidget.h> +#include <tqwidget.h> #include <kurl.h> typedef struct RenamedList @@ -34,18 +34,19 @@ class KRenameImpl; class KListView; class KPopupMenu; class KPushButton; -class QProgressBar; -class QStringList; -class QStrList; -class QString; -class QTimer; -class QHBoxLayout; -class QVBoxLayout; -class ProgressDialog : public QWidget +class TQProgressBar; +class TQStringList; +class TQStrList; +class TQString; +class TQTimer; +class TQHBoxLayout; +class TQVBoxLayout; +class ProgressDialog : public TQWidget { Q_OBJECT + TQ_OBJECT public: - ProgressDialog( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ProgressDialog( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); ~ProgressDialog(); void setProgressTotalSteps( int t ); @@ -57,9 +58,9 @@ class ProgressDialog : public QWidget inline void setCreatedDirectories( const KURL::List & list ); void done( int errors, int successfull, bool allowundo ); - void print( QString text, QString pixmap = 0 ); - void error( QString text ); - void warning( QString text ); + void print( TQString text, TQString pixmap = 0 ); + void error( TQString text ); + void warning( TQString text ); public slots: void show(); @@ -76,8 +77,8 @@ class ProgressDialog : public QWidget void slotTimer(); private: - QString count(); - const QString simplify( const QString & text ); + TQString count(); + const TQString simplify( const TQString & text ); protected: RenamedList* renamedFiles; @@ -88,7 +89,7 @@ class ProgressDialog : public QWidget bool m_canceled; KURL::List m_created; - QTimer* m_timer; + TQTimer* m_timer; KListView* display; KPushButton* buttonClose; @@ -98,10 +99,10 @@ class ProgressDialog : public QWidget KPushButton* buttonCancel; KPopupMenu* mnuButton; - QProgressBar* bar; + TQProgressBar* bar; - QVBoxLayout* ProgressDialogLayout; - QHBoxLayout* Layout1; + TQVBoxLayout* ProgressDialogLayout; + TQHBoxLayout* Layout1; }; |