diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /ksvg/impl/SVGElementImpl.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/impl/SVGElementImpl.h')
-rw-r--r-- | ksvg/impl/SVGElementImpl.h | 28 |
1 files changed, 14 insertions, 14 deletions
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 <map> #include <string> -#include <qdict.h> -#include <qptrlist.h> +#include <tqdict.h> +#include <tqptrlist.h> #include <dom/dom_string.h> @@ -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<DOM::DOMString> &attributes(); - void setApplyAttribute(const QString &name, const QString &value); + TQDict<DOM::DOMString> &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<SVGRegisteredEventListener> &eventListeners() { return m_eventListeners; } + const TQPtrList<SVGRegisteredEventListener> &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> 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<SVGRegisteredEventListener> m_eventListeners; - QDict<DOM::DOMString> m_attributes; + TQPtrList<SVGRegisteredEventListener> m_eventListeners; + TQDict<DOM::DOMString> m_attributes; public: KSVG_BASECLASS_GET |