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 /knode/headerview.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 'knode/headerview.h')
-rw-r--r-- | knode/headerview.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/knode/headerview.h b/knode/headerview.h index 411258d2f..519b7d84e 100644 --- a/knode/headerview.h +++ b/knode/headerview.h @@ -15,7 +15,7 @@ #ifndef KNHEADERVIEW_H #define KNHEADERVIEW_H -#include <qtooltip.h> +#include <tqtooltip.h> #include <klistview.h> #include <kfoldertree.h> @@ -31,13 +31,13 @@ class KNHeaderView : public KListView { friend class KNHdrViewItem; public: - KNHeaderView( QWidget *parent, const char *name = 0 ); + KNHeaderView( TQWidget *parent, const char *name = 0 ); ~KNHeaderView(); - void setActive( QListViewItem *item ); + void setActive( TQListViewItem *item ); void clear(); - void ensureItemVisibleWithMargin( const QListViewItem *i ); + void ensureItemVisibleWithMargin( const TQListViewItem *i ); virtual void setSorting( int column, bool ascending = true ); bool sortByThreadChangeDate() const { return mSortByThreadChangeDate; } @@ -52,11 +52,11 @@ class KNHeaderView : public KListView { const KPaintInfo* paintInfo() const { return &mPaintInfo; } signals: - void itemSelected( QListViewItem* ); - void doubleClick( QListViewItem* ); + void itemSelected( TQListViewItem* ); + void doubleClick( TQListViewItem* ); void sortingChanged( int ); - void focusChanged( QFocusEvent* ); - void focusChangeRequest( QWidget* ); + void focusChanged( TQFocusEvent* ); + void focusChangeRequest( TQWidget* ); public slots: void nextArticle(); @@ -75,14 +75,14 @@ class KNHeaderView : public KListView { * Reimplemented to avoid that KListview reloads the alternate * background on palette changes. */ - virtual bool event( QEvent *e ); - void contentsMousePressEvent( QMouseEvent *e ); - void contentsMouseDoubleClickEvent( QMouseEvent *e ); - void keyPressEvent( QKeyEvent *e ); - bool eventFilter( QObject *, QEvent * ); - void focusInEvent( QFocusEvent *e ); - void focusOutEvent( QFocusEvent *e ); - virtual QDragObject* dragObject(); + virtual bool event( TQEvent *e ); + void contentsMousePressEvent( TQMouseEvent *e ); + void contentsMouseDoubleClickEvent( TQMouseEvent *e ); + void keyPressEvent( TQKeyEvent *e ); + bool eventFilter( TQObject *, TQEvent * ); + void focusInEvent( TQFocusEvent *e ); + void focusOutEvent( TQFocusEvent *e ); + virtual TQDragObject* dragObject(); private: int mSortCol; @@ -104,13 +104,13 @@ class KNHeaderView : public KListView { }; -class KNHeaderViewToolTip : public QToolTip { +class KNHeaderViewToolTip : public TQToolTip { public: KNHeaderViewToolTip( KNHeaderView *parent ); protected: - void maybeTip( const QPoint &p ); + void maybeTip( const TQPoint &p ); private: KNHeaderView *listView; |