summaryrefslogtreecommitdiffstats
path: root/doc/html/customstyles.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/customstyles.html')
-rw-r--r--doc/html/customstyles.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/customstyles.html b/doc/html/customstyles.html
index 16de15400..6ff40962f 100644
--- a/doc/html/customstyles.html
+++ b/doc/html/customstyles.html
@@ -63,7 +63,7 @@ example we will inherit from TQWindowsStyle.
</h3>
<a name="1-2"></a><p> Depending on which parts of the base style you want to change, you
must re-implement the functions that are used to draw those parts
-of the interface. If you take a look at the <a href="ntqstyle.html">TQStyle</a> documentation,
+of the interface. If you take a look at the <a href="tqstyle.html">TQStyle</a> documentation,
you will find a list of the different primitives, controls and complex
controls. In this example we will first change the look of the
standard arrows that are used in the TQWindowsStyle. The arrows are
@@ -84,7 +84,7 @@ public:
const <a href="ntqrect.html">TQRect</a> &amp; r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp; cg,
SFlags flags = Style_Default,
- const <a href="qstyleoption.html">TQStyleOption</a> &amp; = TQStyleOption::Default ) const;
+ const <a href="tqstyleoption.html">TQStyleOption</a> &amp; = TQStyleOption::Default ) const;
private:
// Disabled copy constructor and operator=
@@ -97,7 +97,7 @@ private:
style. <a href="tqobject.html">TQObject</a> is the base class for all style classes in TQt, and a
TQObject inherently cannot be copied since there are some aspects of it
that are not copyable.
-<p> From the <a href="ntqstyle.html">TQStyle</a> docs we see that <tt>PE_ArrowUp</tt>, <tt>PE_ArrowDown</tt>, <tt>PE_ArrowLeft</tt> and <tt>PE_ArrowRight</tt> are the primitives we need to do
+<p> From the <a href="tqstyle.html">TQStyle</a> docs we see that <tt>PE_ArrowUp</tt>, <tt>PE_ArrowDown</tt>, <tt>PE_ArrowLeft</tt> and <tt>PE_ArrowRight</tt> are the primitives we need to do
something with. We get the following in our drawPrimitive() function:
<p> <pre>
CustomStyle::CustomStyle()
@@ -113,7 +113,7 @@ void CustomStyle::drawPrimitive( PrimitiveElement pe,
const <a href="ntqrect.html">TQRect</a> &amp; r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp; cg,
SFlags flags,
- const <a href="qstyleoption.html">TQStyleOption</a> &amp; opt ) const
+ const <a href="tqstyleoption.html">TQStyleOption</a> &amp; opt ) const
{
// we are only interested in the arrows
if (pe &gt;= PE_ArrowUp &amp;&amp; pe &lt;= PE_ArrowLeft) {
@@ -164,7 +164,7 @@ void CustomStyle::drawPrimitive( PrimitiveElement pe,
p-&gt;<a href="ntqpainter.html#drawPolygon">drawPolygon</a>( pa );
} else {
// let the base style handle the other primitives
- TQWindowsStyle::<a href="ntqstyle.html#drawPrimitive">drawPrimitive</a>( pe, p, r, cg, flags, data );
+ TQWindowsStyle::<a href="tqstyle.html#drawPrimitive">drawPrimitive</a>( pe, p, r, cg, flags, data );
}
}
</pre>