diff options
Diffstat (limited to 'lib/kofficecore/KoFrame.h')
-rw-r--r-- | lib/kofficecore/KoFrame.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/kofficecore/KoFrame.h b/lib/kofficecore/KoFrame.h index 7f729bdb..7b372b98 100644 --- a/lib/kofficecore/KoFrame.h +++ b/lib/kofficecore/KoFrame.h @@ -20,18 +20,19 @@ #ifndef __koFrame_h__ #define __koFrame_h__ -#include <qwidget.h> +#include <tqwidget.h> class KoView; class KoFramePrivate; -class KoFrame : public QWidget +class KoFrame : public TQWidget { Q_OBJECT + TQ_OBJECT public: enum State { Inactive, Selected, Active }; - KoFrame( QWidget *parent, const char *name = 0 ); + KoFrame( TQWidget *tqparent, const char *name = 0 ); virtual ~KoFrame(); virtual void setView( KoView *view ); @@ -48,15 +49,15 @@ public: virtual int border() const; signals: - void geometryChanged(); + void tqgeometryChanged(); protected: - virtual void paintEvent( QPaintEvent* ); - virtual void mousePressEvent( QMouseEvent* ); - virtual void mouseMoveEvent( QMouseEvent* ); - virtual void mouseReleaseEvent( QMouseEvent* ); - virtual void resizeEvent( QResizeEvent* ); - virtual bool eventFilter( QObject*, QEvent* ); + virtual void paintEvent( TQPaintEvent* ); + virtual void mousePressEvent( TQMouseEvent* ); + virtual void mouseMoveEvent( TQMouseEvent* ); + virtual void mouseReleaseEvent( TQMouseEvent* ); + virtual void resizeEvent( TQResizeEvent* ); + virtual bool eventFilter( TQObject*, TQEvent* ); private: KoFramePrivate *d; |