author | zecke <zecke> | 2003-05-07 14:45:49 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-07 14:45:49 (UTC) |
commit | 9602e59e3baf01465f4b4139715f2196bb01e012 (patch) (unidiff) | |
tree | 2d7f0dbf91e88de3981fcc82d49ba8ddc05cfbd5 /libopie/xmltree.h | |
parent | da949558a957ec4817bf610d7c9186585c0d2d92 (diff) | |
download | opie-9602e59e3baf01465f4b4139715f2196bb01e012.zip opie-9602e59e3baf01465f4b4139715f2196bb01e012.tar.gz opie-9602e59e3baf01465f4b4139715f2196bb01e012.tar.bz2 |
Add d ptr
add comments and FIXMEs
three new signals for otodoaccess
-rw-r--r-- | libopie/xmltree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/xmltree.h b/libopie/xmltree.h index 4a6b6d9..4b6bdfa 100644 --- a/libopie/xmltree.h +++ b/libopie/xmltree.h | |||
@@ -81,37 +81,39 @@ public: | |||
81 | QString tagName() const { return m_tag; } | 81 | QString tagName() const { return m_tag; } |
82 | 82 | ||
83 | void setValue( const QString &val ) { m_value = val; } | 83 | void setValue( const QString &val ) { m_value = val; } |
84 | QString value() const { return m_value; } | 84 | QString value() const { return m_value; } |
85 | 85 | ||
86 | void setAttributes( const AttributeMap &attrs ) { m_attributes = attrs; } | 86 | void setAttributes( const AttributeMap &attrs ) { m_attributes = attrs; } |
87 | AttributeMap attributes() const { return m_attributes; } | 87 | AttributeMap attributes() const { return m_attributes; } |
88 | AttributeMap &attributes() { return m_attributes; } | 88 | AttributeMap &attributes() { return m_attributes; } |
89 | 89 | ||
90 | QString attribute( const QString & ) const; | 90 | QString attribute( const QString & ) const; |
91 | void setAttribute( const QString &attr, const QString &value ); | 91 | void setAttribute( const QString &attr, const QString &value ); |
92 | void save( QTextStream &stream, uint indent = 0 ); | 92 | void save( QTextStream &stream, uint indent = 0 ); |
93 | 93 | ||
94 | XMLElement *namedItem( const QString &name ); | 94 | XMLElement *namedItem( const QString &name ); |
95 | 95 | ||
96 | XMLElement *clone() const; | 96 | XMLElement *clone() const; |
97 | 97 | ||
98 | static XMLElement *load( const QString &fileName ); | 98 | static XMLElement *load( const QString &fileName ); |
99 | 99 | ||
100 | private: | 100 | private: |
101 | QString m_tag; | 101 | QString m_tag; |
102 | QString m_value; | 102 | QString m_value; |
103 | AttributeMap m_attributes; | 103 | AttributeMap m_attributes; |
104 | 104 | ||
105 | XMLElement *m_parent; | 105 | XMLElement *m_parent; |
106 | XMLElement *m_next; | 106 | XMLElement *m_next; |
107 | XMLElement *m_prev; | 107 | XMLElement *m_prev; |
108 | XMLElement *m_first; | 108 | XMLElement *m_first; |
109 | XMLElement *m_last; | 109 | XMLElement *m_last; |
110 | 110 | ||
111 | XMLElement( const XMLElement &rhs ); | 111 | XMLElement( const XMLElement &rhs ); |
112 | XMLElement &operator=( const XMLElement &rhs ); | 112 | XMLElement &operator=( const XMLElement &rhs ); |
113 | class Private; | ||
114 | Private* d; | ||
113 | }; | 115 | }; |
114 | 116 | ||
115 | } // namespace Opie | 117 | } // namespace Opie |
116 | 118 | ||
117 | #endif | 119 | #endif |