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 /kmail/kmpopfiltercnfrmdlg.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 'kmail/kmpopfiltercnfrmdlg.h')
-rw-r--r-- | kmail/kmpopfiltercnfrmdlg.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/kmpopfiltercnfrmdlg.h b/kmail/kmpopfiltercnfrmdlg.h index 745fdcdd5..35548c27b 100644 --- a/kmail/kmpopfiltercnfrmdlg.h +++ b/kmail/kmpopfiltercnfrmdlg.h @@ -23,8 +23,8 @@ #include <kdialogbase.h> #include <klistview.h> -#include <qptrlist.h> -#include <qmap.h> +#include <tqptrlist.h> +#include <tqmap.h> class QWidget; class QString; @@ -38,7 +38,7 @@ class KMPopHeadersView : public KListView Q_OBJECT public: - KMPopHeadersView(QWidget *aParent=0, KMPopFilterCnfrmDlg *aDialog=0); + KMPopHeadersView(TQWidget *aParent=0, KMPopFilterCnfrmDlg *aDialog=0); ~KMPopHeadersView(); static const KMPopFilterAction mapToAction(int aColumn) { return (KMPopFilterAction)aColumn;}; static const int mapToColumn(KMPopFilterAction aAction) { return (int)aAction;}; @@ -48,10 +48,10 @@ protected: static const char *mLater[25]; static const char *mDown[20]; static const char *mDel[19]; - void keyPressEvent( QKeyEvent *k); + void keyPressEvent( TQKeyEvent *k); protected slots: // Protected slots - void slotPressed(QListViewItem* aItem, const QPoint& aPoint, int aColumn); + void slotPressed(TQListViewItem* aItem, const TQPoint& aPoint, int aColumn); private: KMPopFilterCnfrmDlg *mDialog; @@ -66,8 +66,8 @@ public: ~KMPopHeadersViewItem(); void setAction(KMPopFilterAction aAction); KMPopFilterAction action() { return mAction; }; - virtual void paintFocus(QPainter *, const QColorGroup & cg, const QRect &r); - virtual QString key(int col, bool ascending) const; + virtual void paintFocus(TQPainter *, const TQColorGroup & cg, const TQRect &r); + virtual TQString key(int col, bool ascending) const; protected: KMPopHeadersView *mParent; KMPopFilterAction mAction; @@ -80,9 +80,9 @@ class KMPopFilterCnfrmDlg : public KDialogBase Q_OBJECT protected: KMPopFilterCnfrmDlg() { }; - QMap<QListViewItem*, KMPopHeaders*> mItemMap; - QPtrList<KMPopHeadersViewItem> mDelList; - QPtrList<KMPopHeaders> mDDLList; + TQMap<TQListViewItem*, KMPopHeaders*> mItemMap; + TQPtrList<KMPopHeadersViewItem> mDelList; + TQPtrList<KMPopHeaders> mDDLList; KMPopHeadersView *mFilteredHeaders; bool mLowerBoxVisible; bool mShowLaterMsgs; @@ -90,11 +90,11 @@ protected: public: - KMPopFilterCnfrmDlg(QPtrList<KMPopHeaders> *aHeaders, const QString &aAccount, bool aShowLaterMsgs = false, QWidget *aParent=0, const char *aName=0); + KMPopFilterCnfrmDlg(TQPtrList<KMPopHeaders> *aHeaders, const TQString &aAccount, bool aShowLaterMsgs = false, TQWidget *aParent=0, const char *aName=0); ~KMPopFilterCnfrmDlg(); public: - void setAction(QListViewItem *aItem, KMPopFilterAction aAction); + void setAction(TQListViewItem *aItem, KMPopFilterAction aAction); protected slots: // Protected slots /** @@ -103,7 +103,7 @@ protected slots: // Protected slots click happened over a radio button column. Of course the radio button state is changed as well if the above is true. */ - void slotPressed(QListViewItem *aItem, const QPoint &aPnt, int aColumn); + void slotPressed(TQListViewItem *aItem, const TQPoint &aPnt, int aColumn); void slotToggled(bool aOn); void slotUpdateMinimumSize(); }; |