diff options
Diffstat (limited to 'libkdepim/progressdialog.h')
-rw-r--r-- | libkdepim/progressdialog.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/libkdepim/progressdialog.h b/libkdepim/progressdialog.h index 8880f4ecc..3daadd365 100644 --- a/libkdepim/progressdialog.h +++ b/libkdepim/progressdialog.h @@ -33,10 +33,10 @@ #ifndef __KPIM_PROGRESSDIALOG_H__ #define __KPIM_PROGRESSDIALOG_H__ -#include <qdialog.h> -#include <qlistview.h> -#include <qlabel.h> -#include <qvbox.h> +#include <tqdialog.h> +#include <tqlistview.h> +#include <tqlabel.h> +#include <tqvbox.h> #include "overlaywidget.h" #include <kdepimmacros.h> @@ -50,10 +50,10 @@ class TransactionItemListView; class TransactionItem; class SSLLabel; -class TransactionItemView : public QScrollView { +class TransactionItemView : public TQScrollView { Q_OBJECT public: - TransactionItemView( QWidget * parent = 0, + TransactionItemView( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ); @@ -62,8 +62,8 @@ public: TransactionItem* addTransactionItem( ProgressItem *item, bool first ); - QSize sizeHint() const; - QSize minimumSizeHint() const; + TQSize sizeHint() const; + TQSize minimumSizeHint() const; public slots: void slotLayoutFirstItem(); @@ -71,15 +71,15 @@ protected: virtual void resizeContents ( int w, int h ); private: - QVBox * mBigBox; + TQVBox * mBigBox; }; -class TransactionItem : public QVBox { +class TransactionItem : public TQVBox { Q_OBJECT public: - TransactionItem( QWidget * parent, + TransactionItem( TQWidget * parent, ProgressItem* item, bool first ); ~TransactionItem(); @@ -87,8 +87,8 @@ public: void hideHLine(); void setProgress( int progress ); - void setLabel( const QString& ); - void setStatus( const QString& ); + void setLabel( const TQString& ); + void setStatus( const TQString& ); void setCrypto( bool ); ProgressItem* item() const { return mItem; } @@ -103,11 +103,11 @@ public slots: void slotItemCanceled(); protected: - QProgressBar* mProgress; - QPushButton* mCancelButton; - QLabel* mItemLabel; - QLabel* mItemStatus; - QFrame* mFrame; + TQProgressBar* mProgress; + TQPushButton* mCancelButton; + TQLabel* mItemLabel; + TQLabel* mItemStatus; + TQFrame* mFrame; SSLLabel* mSSLLabel; ProgressItem* mItem; }; @@ -117,7 +117,7 @@ class KDE_EXPORT ProgressDialog : public OverlayWidget Q_OBJECT public: - ProgressDialog( QWidget* alignWidget, QWidget* parent, const char* name = 0 ); + ProgressDialog( TQWidget* alignWidget, TQWidget* parent, const char* name = 0 ); ~ProgressDialog(); void setVisible( bool b ); @@ -129,8 +129,8 @@ void slotTransactionAdded( KPIM::ProgressItem *item ); void slotTransactionCompleted( KPIM::ProgressItem *item ); void slotTransactionCanceled( KPIM::ProgressItem *item ); void slotTransactionProgress( KPIM::ProgressItem *item, unsigned int progress ); - void slotTransactionStatus( KPIM::ProgressItem *item, const QString& ); - void slotTransactionLabel( KPIM::ProgressItem *item, const QString& ); + void slotTransactionStatus( KPIM::ProgressItem *item, const TQString& ); + void slotTransactionLabel( KPIM::ProgressItem *item, const TQString& ); void slotTransactionUsesCrypto( KPIM::ProgressItem *item, bool ); void slotClose(); @@ -141,11 +141,11 @@ signals: void visibilityChanged( bool ); protected: - virtual void closeEvent( QCloseEvent* ); + virtual void closeEvent( TQCloseEvent* ); TransactionItemView* mScrollView; TransactionItem* mPreviousItem; - QMap< const ProgressItem*, TransactionItem* > mTransactionsToListviewItems; + TQMap< const ProgressItem*, TransactionItem* > mTransactionsToListviewItems; bool mWasLastShown; }; |