diff options
Diffstat (limited to 'knode/knwidgets.h')
-rw-r--r-- | knode/knwidgets.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/knode/knwidgets.h b/knode/knwidgets.h index af71bd5f0..7e8dd7d3b 100644 --- a/knode/knwidgets.h +++ b/knode/knwidgets.h @@ -17,8 +17,8 @@ #ifndef KNWIDGETS_H #define KNWIDGETS_H -#include <qlistbox.h> -#include <qbitarray.h> +#include <tqlistbox.h> +#include <tqbitarray.h> #include <kdockwidget.h> #include <kprogress.h> @@ -29,19 +29,19 @@ class QPixmap; //==================================================================================== -class KNListBoxItem : public QListBoxItem { +class KNListBoxItem : public TQListBoxItem { public: - KNListBoxItem(const QString& text, QPixmap *pm=0); + KNListBoxItem(const TQString& text, TQPixmap *pm=0); ~KNListBoxItem(); protected: - virtual void paint(QPainter *); - virtual int height(const QListBox *) const; - virtual int width(const QListBox *) const; + virtual void paint(TQPainter *); + virtual int height(const TQListBox *) const; + virtual int width(const TQListBox *) const; - QPixmap *p_m; + TQPixmap *p_m; }; @@ -53,11 +53,11 @@ class KNDialogListBox : public QListBox { public: // alwaysIgnore==false: enter is ignored when the widget isn't visible/out of focus - KNDialogListBox(bool alwaysIgnore=false, QWidget * parent=0, const char * name=0); + KNDialogListBox(bool alwaysIgnore=false, TQWidget * parent=0, const char * name=0); ~KNDialogListBox(); protected: - void keyPressEvent( QKeyEvent *e ); + void keyPressEvent( TQKeyEvent *e ); bool a_lwaysIgnore; }; @@ -71,15 +71,15 @@ class KNDockWidgetHeaderDrag : public KDockWidgetHeaderDrag Q_OBJECT public: - KNDockWidgetHeaderDrag(QWidget *focusWidget, KDockWidgetAbstractHeader* parent, KDockWidget* dock, + KNDockWidgetHeaderDrag(TQWidget *focusWidget, KDockWidgetAbstractHeader* parent, KDockWidget* dock, const char* name = 0); virtual ~KNDockWidgetHeaderDrag(); protected slots: - void slotFocusChanged(QFocusEvent *e); + void slotFocusChanged(TQFocusEvent *e); protected: - virtual void paintEvent( QPaintEvent* ); + virtual void paintEvent( TQPaintEvent* ); bool f_ocus; }; |