From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksvg/plugin/ksvg_widget.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'ksvg/plugin/ksvg_widget.h') diff --git a/ksvg/plugin/ksvg_widget.h b/ksvg/plugin/ksvg_widget.h index 3cd94849..c25fddbc 100644 --- a/ksvg/plugin/ksvg_widget.h +++ b/ksvg/plugin/ksvg_widget.h @@ -21,7 +21,7 @@ #ifndef KSVGWidget_H #define KSVGWidget_H -#include +#include #include @@ -32,7 +32,7 @@ class KSVGWidget : public QWidget { Q_OBJECT public: - KSVGWidget(KSVGPlugin *part, QWidget *parent, const char *name); + KSVGWidget(KSVGPlugin *part, TQWidget *parent, const char *name); virtual ~KSVGWidget(); KSVGPlugin *part() const; @@ -40,26 +40,26 @@ public: void reset(); protected: - virtual void paintEvent(QPaintEvent *); + virtual void paintEvent(TQPaintEvent *); - virtual void mouseMoveEvent(QMouseEvent *); - virtual void mousePressEvent(QMouseEvent *); - virtual void mouseReleaseEvent(QMouseEvent *); + virtual void mouseMoveEvent(TQMouseEvent *); + virtual void mousePressEvent(TQMouseEvent *); + virtual void mouseReleaseEvent(TQMouseEvent *); - virtual void keyPressEvent(QKeyEvent *); - virtual void keyReleaseEvent(QKeyEvent *); + virtual void keyPressEvent(TQKeyEvent *); + virtual void keyReleaseEvent(TQKeyEvent *); - virtual void resizeEvent(QResizeEvent *); + virtual void resizeEvent(TQResizeEvent *); signals: - void browseURL(const QString &); - void redraw(const QRect &); + void browseURL(const TQString &); + void redraw(const TQRect &); private: - KSVG::SVGMouseEventImpl *newMouseEvent(KSVG::SVGEvent::EventId id, QMouseEvent *event); + KSVG::SVGMouseEventImpl *newMouseEvent(KSVG::SVGEvent::EventId id, TQMouseEvent *event); - QPoint m_panningPos; - QPoint m_oldPanningPos; + TQPoint m_panningPos; + TQPoint m_oldPanningPos; KSVGPlugin *m_part; }; -- cgit v1.2.1