diff options
Diffstat (limited to 'sip/khtml/dom_text.sip')
-rw-r--r-- | sip/khtml/dom_text.sip | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/sip/khtml/dom_text.sip b/sip/khtml/dom_text.sip new file mode 100644 index 0000000..bc06c16 --- /dev/null +++ b/sip/khtml/dom_text.sip @@ -0,0 +1,92 @@ +// +// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com> +// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson +// may also apply + + +// Generated by preSip +// module khtml version KDE 3.5.3 + + +// This software is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of +// the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public +// License along with this library; see the file COPYING. +// If not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +namespace DOM +{ + +class CharacterData : DOM::Node +{ +%TypeHeaderCode +#include <dom_text.h> +%End + + +public: + CharacterData (); + CharacterData (const DOM::CharacterData&); + CharacterData (const DOM::Node&); + DOM::DOMString data () const; + void setData (const DOM::DOMString&); + ulong length () const; + DOM::DOMString substringData (const ulong, const ulong); + void appendData (const DOM::DOMString&); + void insertData (const ulong, const DOM::DOMString&); + void deleteData (const ulong, const ulong); + void replaceData (const ulong, const ulong, const DOM::DOMString&); + +protected: +//ig CharacterData (CharacterDataImpl*); + +}; // class CharacterData + + +class Comment : DOM::CharacterData +{ +%TypeHeaderCode +#include <dom_text.h> +%End + + +public: + Comment (); + Comment (const DOM::Comment&); + Comment (const DOM::Node&); + +protected: +//ig Comment (CommentImpl*); + +}; // class Comment + + +class Text : DOM::CharacterData +{ +%TypeHeaderCode +#include <dom_text.h> +%End + + +public: + Text (); + Text (const DOM::Text&); + Text (const DOM::Node&); + DOM::Text splitText (const ulong); + +protected: +//ig Text (TextImpl*); + +}; // class Text + +}; // namespace DOM + |