diff options
Diffstat (limited to 'kspread/kspread_handler.h')
-rw-r--r-- | kspread/kspread_handler.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/kspread/kspread_handler.h b/kspread/kspread_handler.h index b14b1212..5a54736b 100644 --- a/kspread/kspread_handler.h +++ b/kspread/kspread_handler.h @@ -3,11 +3,11 @@ #include <KoContainerHandler.h> -#include <qpoint.h> +#include <tqpoint.h> #include <KoQueryTrader.h> -class QWidget; +class TQWidget; enum HandlerType { @@ -28,19 +28,20 @@ class View; class InsertHandler : public KoEventHandler { Q_OBJECT + TQ_OBJECT public: - InsertHandler( View* view, QWidget* widget ); + InsertHandler( View* view, TQWidget* widget ); ~InsertHandler(); virtual HandlerType getType() = 0; protected: - bool eventFilter( QObject*, QEvent* ); - virtual void insertObject( QRect ) = 0; + bool eventFilter( TQObject*, TQEvent* ); + virtual void insertObject( TQRect ) = 0; View* m_view; - QPoint m_geometryStart; - QPoint m_geometryEnd; + TQPoint m_tqgeometryStart; + TQPoint m_tqgeometryEnd; bool m_started; bool m_clicked; }; @@ -48,12 +49,12 @@ protected: class InsertPartHandler : public InsertHandler { public: - InsertPartHandler( View* view, QWidget* widget, const KoDocumentEntry& entry ); + InsertPartHandler( View* view, TQWidget* widget, const KoDocumentEntry& entry ); virtual ~InsertPartHandler(); HandlerType getType() { return Part; } private: - void insertObject( QRect ); + void insertObject( TQRect ); KoDocumentEntry m_entry; }; @@ -62,12 +63,12 @@ class InsertPartHandler : public InsertHandler class InsertChartHandler : public InsertHandler { public: - InsertChartHandler( View* view, QWidget* widget, const KoDocumentEntry& entry ); + InsertChartHandler( View* view, TQWidget* widget, const KoDocumentEntry& entry ); virtual ~InsertChartHandler(); HandlerType getType() { return Chart; } private: - void insertObject( QRect ); + void insertObject( TQRect ); KoDocumentEntry m_entry; }; @@ -75,12 +76,12 @@ class InsertChartHandler : public InsertHandler class InsertPictureHandler : public InsertHandler { public: - InsertPictureHandler( View* view, QWidget* widget, const KURL &); + InsertPictureHandler( View* view, TQWidget* widget, const KURL &); virtual ~InsertPictureHandler(); HandlerType getType() { return Picture; } private: - void insertObject( QRect ); + void insertObject( TQRect ); KURL m_file; }; |