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/impl/SVGElementImpl.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'ksvg/impl/SVGElementImpl.h') diff --git a/ksvg/impl/SVGElementImpl.h b/ksvg/impl/SVGElementImpl.h index c69a83e8..a12098ab 100644 --- a/ksvg/impl/SVGElementImpl.h +++ b/ksvg/impl/SVGElementImpl.h @@ -24,8 +24,8 @@ #include #include -#include -#include +#include +#include #include @@ -33,8 +33,8 @@ #include "ksvg_lookup.h" -class QKeyEvent; -class QXmlAttributes; +class TQKeyEvent; +class TQXmlAttributes; namespace KJS { @@ -70,8 +70,8 @@ public: bool hasAttribute(const DOM::DOMString &name); bool hasAttributes(); - QDict &attributes(); - void setApplyAttribute(const QString &name, const QString &value); + TQDict &attributes(); + void setApplyAttribute(const TQString &name, const TQString &value); void setId(DOM::DOMString); DOM::DOMString id() const; @@ -85,11 +85,11 @@ public: SVGSVGElementImpl *ownerSVGElement() const; SVGElementImpl *viewportElement() const; - void setAttributes(const QXmlAttributes &); + void setAttributes(const TQXmlAttributes &); virtual void setAttributes(); void setAttributes(bool deep); - QString collectText(); + TQString collectText(); void setOwnerDoc(SVGDocumentImpl *doc); SVGDocumentImpl *ownerDoc() const; @@ -101,7 +101,7 @@ public: bool dispatchEvent(int id, bool canBubbleArg, bool cancelableArg); bool dispatchEvent(SVGEventImpl *evt, bool tempEvent); bool dispatchMouseEvent(int id, bool canBubbleArg, bool cancelableArg, long detailArg, long screenXArg, long screenYArg, long clientXArg, long clientYArg, bool ctrlKeyArg, bool altKeyArg, bool shiftKeyArg, bool metaKeyArg, unsigned short buttonArg, SVGElementImpl *relatedTargetArg); - bool dispatchKeyEvent(QKeyEvent *ke); + bool dispatchKeyEvent(TQKeyEvent *ke); void setEventListener(int id, SVGEventListener *listener); bool hasEventListener(int id, bool local); @@ -110,7 +110,7 @@ public: void setupEventListeners(SVGDocumentImpl *doc, SVGDocumentImpl *newDoc); // Use with care! Internal only. - const QPtrList &eventListeners() { return m_eventListeners; } + const TQPtrList &eventListeners() { return m_eventListeners; } void handleLocalEvents(SVGEventImpl *evt, bool useCapture); virtual void defaultEventHandler(SVGEventImpl *evt); @@ -121,7 +121,7 @@ public: bool focus() { return m_focus; } void setFocus(bool v) { m_focus = v; } - virtual bool prepareMouseEvent(const QPoint &, const QPoint &, SVGMouseEventImpl *); + virtual bool prepareMouseEvent(const TQPoint &, const TQPoint &, SVGMouseEventImpl *); virtual void createItem(KSVGCanvas *c = 0) { Q_UNUSED(c); } virtual void removeItem(KSVGCanvas *c) { Q_UNUSED(c); } @@ -183,7 +183,7 @@ public: static SVGElementImpl::Registrar Class##Registrar(Tag); protected: - void gotError(const QString &errorDesc); + void gotError(const TQString &errorDesc); private: SVGSVGElementImpl *m_ownerSVGElement; @@ -193,8 +193,8 @@ private: bool m_mouseOver : 1; bool m_focus : 1; - QPtrList m_eventListeners; - QDict m_attributes; + TQPtrList m_eventListeners; + TQDict m_attributes; public: KSVG_BASECLASS_GET -- cgit v1.2.1