diff options
Diffstat (limited to 'tdehtml/xml/dom_nodeimpl.cpp')
-rw-r--r-- | tdehtml/xml/dom_nodeimpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdehtml/xml/dom_nodeimpl.cpp b/tdehtml/xml/dom_nodeimpl.cpp index 7e2e1bc5f..c8525fbcc 100644 --- a/tdehtml/xml/dom_nodeimpl.cpp +++ b/tdehtml/xml/dom_nodeimpl.cpp @@ -47,7 +47,7 @@ // from tdehtml_caret_p.h namespace tdehtml { -void /*KDE_NO_EXPORT*/ mapDOMPosToRenderPos(DOM::NodeImpl *node, long offset, +void /*TDE_NO_EXPORT*/ mapDOMPosToRenderPos(DOM::NodeImpl *node, long offset, tdehtml::RenderObject *&r, long &r_ofs, bool &outside, bool &outsideEnd); } @@ -508,13 +508,13 @@ void NodeImpl::dispatchMouseEvent(TQMouseEvent *_mouse, int overrideId, int over int button = -1; switch (_mouse->button()) { - case Qt::LeftButton: + case TQt::LeftButton: button = 0; break; - case Qt::MidButton: + case TQt::MidButton: button = 1; break; - case Qt::RightButton: + case TQt::RightButton: button = 2; break; default: @@ -1659,7 +1659,7 @@ NodeImpl *NodeListImpl::item( unsigned long index ) const bool usedCache = false; if (m_cache->current.node) { //Compute distance from the requested index to the cache node - long cacheDist = QABS(long(index) - long(m_cache->position)); + long cacheDist = TQABS(long(index) - long(m_cache->position)); if (cacheDist < (long)index) { //Closer to the cached position usedCache = true; |