summaryrefslogtreecommitdiffstats
path: root/knode/headerview.h
diff options
context:
space:
mode:
Diffstat (limited to 'knode/headerview.h')
-rw-r--r--knode/headerview.h36
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;