diff options
Diffstat (limited to 'kspread/kspread_toolbox.h')
-rw-r--r-- | kspread/kspread_toolbox.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/kspread/kspread_toolbox.h b/kspread/kspread_toolbox.h index 0cec3dd2..ef5a2c89 100644 --- a/kspread/kspread_toolbox.h +++ b/kspread/kspread_toolbox.h @@ -20,43 +20,45 @@ #ifndef TOOLBOX_H #define TOOLBOX_H -#include <qframe.h> -#include <qpoint.h> +#include <tqframe.h> +#include <tqpoint.h> #include <koffice_export.h> -class QVBoxLayout; -class QSpinBox; +class TQVBoxLayout; +class TQSpinBox; class KoDocumentChild; namespace KSpread { -class KOFFICEUI_EXPORT ToolBox : public QFrame +class KOFFICEUI_EXPORT ToolBox : public TQFrame { Q_OBJECT + TQ_OBJECT public: - ToolBox( QWidget* parent = 0, const char* name = 0 ); + ToolBox( TQWidget* tqparent = 0, const char* name = 0 ); public slots: void setEnabled( bool enable ); protected: - // void paintEvent( QPaintEvent* ); - void childEvent( QChildEvent* ev ); - void mousePressEvent( QMouseEvent* ev ); - void mouseMoveEvent( QMouseEvent* ev ); + // void paintEvent( TQPaintEvent* ); + void childEvent( TQChildEvent* ev ); + void mousePressEvent( TQMouseEvent* ev ); + void mouseMoveEvent( TQMouseEvent* ev ); private: - QVBoxLayout* m_layout; - QPoint m_mousePos; - QPoint m_startPos; + TQVBoxLayout* m_layout; + TQPoint m_mousePos; + TQPoint m_startPos; }; class KOFFICEUI_EXPORT KoTransformToolBox : public ToolBox { Q_OBJECT + TQ_OBJECT public: - KoTransformToolBox( KoDocumentChild* child, QWidget* parent = 0, const char* name = 0 ); + KoTransformToolBox( KoDocumentChild* child, TQWidget* tqparent = 0, const char* name = 0 ); double rotation() const; double scaling() const; @@ -84,10 +86,10 @@ private slots: void slotYShearingChanged( int ); private: - QSpinBox* m_rotation; - QSpinBox* m_scale; - QSpinBox* m_shearX; - QSpinBox* m_shearY; + TQSpinBox* m_rotation; + TQSpinBox* m_scale; + TQSpinBox* m_shearX; + TQSpinBox* m_shearY; KoDocumentChild* m_child; class Private; Private *d; |