From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/xml/dom_nodeimpl.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'khtml/xml/dom_nodeimpl.h') diff --git a/khtml/xml/dom_nodeimpl.h b/khtml/xml/dom_nodeimpl.h index 1ff150f6a..31bbceda0 100644 --- a/khtml/xml/dom_nodeimpl.h +++ b/khtml/xml/dom_nodeimpl.h @@ -76,7 +76,7 @@ struct RegisteredListenerList { //### KDE4: should disappear bool stillContainsListener(const RegisteredEventListener& listener); - QValueList* listeners;//The actual listener list - may be 0 + TQValueList* listeners;//The actual listener list - may be 0 private: bool isHTMLEventListener(EventListener* listener); }; @@ -257,7 +257,7 @@ public: virtual bool isInline() const; virtual void getCaret(int offset, bool override, int &_x, int &_y, int &width, int &height); - virtual QRect getRect() const; + virtual TQRect getRect() const; enum StyleChange { NoChange, NoInherit, Inherit, Detach, Force }; virtual void recalcStyle( StyleChange = NoChange ) {} @@ -279,12 +279,12 @@ public: // return true if event not prevented bool dispatchHTMLEvent(int _id, bool canBubbleArg, bool cancelableArg); void dispatchWindowEvent(int _id, bool canBubbleArg, bool cancelableArg); - void dispatchMouseEvent(QMouseEvent *e, int overrideId = 0, int overrideDetail = 0); + void dispatchMouseEvent(TQMouseEvent *e, int overrideId = 0, int overrideDetail = 0); void dispatchUIEvent(int _id, int detail = 0); void dispatchSubtreeModifiedEvent(); // return true if defaultPrevented (i.e. event should be swallowed) // this matches the logic in KHTMLView. - bool dispatchKeyEvent(QKeyEvent *key, bool keypress); + bool dispatchKeyEvent(TQKeyEvent *key, bool keypress); void handleLocalEvents(EventImpl *evt, bool useCapture); @@ -392,7 +392,7 @@ public: * * @return State information about the node represented as a string */ - virtual QString state(); + virtual TQString state(); /** * Sets the state of the element based on a string previosuly returned by state(). This is used to initialize form @@ -400,7 +400,7 @@ public: * * @param state A string representation of the node's previously-stored state */ - virtual void restoreState(const QString &state); + virtual void restoreState(const TQString &state); // ----------------------------------------------------------------------------- // Notification of document stucture changes @@ -584,7 +584,7 @@ public: { static Cache* make() { return new Cache; } - CacheKey key;//### We must store this in here due to QCache in Qt3 sucking + CacheKey key;//### We must store this in here due to TQCache in Qt3 sucking unsigned int version; union @@ -729,7 +729,7 @@ public: protected: DocumentImpl* m_doc; - QPtrList *m_contents; + TQPtrList *m_contents; }; } //namespace -- cgit v1.2.1