[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: developer.kde.org/documentation/other
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2005-03-27 21:54:55
Message-ID: 20050327215455.E73053E9 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Validator says tables do not like to be inside <p>'s
M +9 -12 binarycompatibility.html 1.10
--- developer.kde.org/documentation/other/binarycompatibility.html #1.9:1.10
@@ -132,5 +132,5 @@
</td></tr></table>
can safely be extended to
-<p><table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF">
+<table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF">
<pre>
uint m1 : 1;
@@ -144,5 +144,4 @@
of 7 bits ( or 15 if the bitfield was already larger than 8). Using
the very last bit may cause problems on some compilers.
-</p>
<h3>Using a d-Pointer</h3>
@@ -167,16 +166,14 @@
<p> In your class definition for class Foo, define a forward declaration
</p>
-<p><table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
+<table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
class FooPrivate;
</pre></td></tr></table>
and the d-pointer in the private section:
-</p>
-<p><table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
+<table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
private:
FooPrivate* d;
</pre></td></tr></table>
The FooPrivate class itself is purely defined in the clas implementation file \
(usually *.cpp ), for example:
-</p>
-<p><table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
+<table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
class FooPrivate {
public:
@@ -189,12 +186,12 @@
};
</pre></td></tr></table>
-All you have to do now is to create the private data in your constructors or your \
init function with</p>
-<p><table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
+All you have to do now is to create the private data in your constructors or your \
init function with +<table align="center" width="80%"><tr><td \
BGCOLOR="#F0F0FF"><pre> d = new FooPrivate;
</pre></td></tr></table>
-and to delete it again in your destructor with</p>
-<p><table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
+and to delete it again in your destructor with
+<table align="center" width="80%"><tr><td BGCOLOR="#F0F0FF"><pre>
delete d;
-</pre></td></tr></table></p>
+</pre></td></tr></table>
<p> You may not want all member variables to live in the private data
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic