[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/xml
From: Adriaan de Groot <groot () kde ! org>
Date: 2006-10-02 22:28:04
Message-ID: 1159828084.640142.30698.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 591654 by adridg:
DOX: Use types consistently (uint vs unsigned int); escape HTML in APIDOX; don't mark \
license as APIDOX. Patch by Dimitri v.H.
M +4 -4 dom_docimpl.h
M +1 -1 dom_nodeimpl.cpp
M +12 -1 dom_nodeimpl.h
M +4 -4 dom_stringimpl.cpp
--- branches/KDE/3.5/kdelibs/khtml/xml/dom_docimpl.h #591653:591654
@@ -234,12 +234,12 @@
/**
* This method returns true if all top-level stylesheets have loaded (including
- * any @imports that they may be loading).
+ * any \@imports that they may be loading).
*/
bool haveStylesheetsLoaded() { return m_pendingStylesheets <= 0 || \
m_ignorePendingStylesheets; }
/**
- * Increments the number of pending sheets. The <link> elements
+ * Increments the number of pending sheets. The \<link\> elements
* invoke this to add themselves to the loading list.
*/
void addPendingSheet() { m_pendingStylesheets++; }
@@ -254,8 +254,8 @@
* Called when one or more stylesheets in the document may have been added, \
removed or changed.
*
* Creates a new style selector and assign it to this document. This is done by \
iterating through all nodes in
- * document (or those before <BODY> in a HTML document), searching for \
stylesheets. Stylesheets can be contained in
- * <LINK>, <STYLE> or <BODY> elements, as well as processing instructions (XML \
documents only). A list is + * document (or those before \<BODY\> in a HTML \
document), searching for stylesheets. Stylesheets can be contained in + * \
\<LINK\>, \<STYLE\> or \<BODY\> elements, as well as processing instructions (XML \
documents only). A list is
* constructed from these which is used to create the a new style selector which \
collates all of the stylesheets
* found and is used to calculate the derived styles for all rendering objects.
*
--- branches/KDE/3.5/kdelibs/khtml/xml/dom_nodeimpl.cpp #591653:591654
@@ -1,4 +1,4 @@
-/**
+/*
* This file is part of the DOM implementation for KDE.
*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
--- branches/KDE/3.5/kdelibs/khtml/xml/dom_nodeimpl.h #591653:591654
@@ -447,7 +447,18 @@
* @param found When this is set to true, don't print anymore but \
closing tags.
* @return An html formatted string for this node and its children between the \
selectionStart and selectionEnd.
*/
- virtual DOMString selectionToString(NodeImpl * /*selectionStart*/, NodeImpl * \
/*selectionEnd*/, int /*startOffset*/, int /*endOffset*/, bool &/*found*/) const { \
return toString(); } + virtual DOMString selectionToString(NodeImpl * \
selectionStart, + NodeImpl * selectionEnd,
+ int startOffset,
+ int endOffset,
+ bool &found) const
+ { Q_UNUSED(selectionStart);
+ Q_UNUSED(selectionEnd);
+ Q_UNUSED(startOffset);
+ Q_UNUSED(endOffset);
+ Q_UNUSED(found);
+ return toString();
+ }
private: // members
DocumentPtr *document;
--- branches/KDE/3.5/kdelibs/khtml/xml/dom_stringimpl.cpp #591653:591654
@@ -87,7 +87,7 @@
}
}
-void DOMStringImpl::insert(DOMStringImpl *str, uint pos)
+void DOMStringImpl::insert(DOMStringImpl *str, unsigned int pos)
{
if(pos > l)
{
@@ -119,7 +119,7 @@
l = len;
}
-void DOMStringImpl::remove(uint pos, int len)
+void DOMStringImpl::remove(unsigned int pos, int len)
{
if(pos >= l ) return;
if(pos+len > l)
@@ -134,7 +134,7 @@
l = newLen;
}
-DOMStringImpl *DOMStringImpl::split(uint pos)
+DOMStringImpl *DOMStringImpl::split(unsigned int pos)
{
if( pos >=l ) return new DOMStringImpl();
@@ -144,7 +144,7 @@
return str;
}
-DOMStringImpl *DOMStringImpl::substring(uint pos, uint len)
+DOMStringImpl *DOMStringImpl::substring(unsigned int pos, unsigned int len)
{
if( pos >=l ) return new DOMStringImpl();
if(pos+len > l)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic