diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/progressdialog.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; }; |