summaryrefslogtreecommitdiffstats
path: root/doc/html/listboxcombo-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/listboxcombo-example.html')
-rw-r--r--doc/html/listboxcombo-example.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/listboxcombo-example.html b/doc/html/listboxcombo-example.html
index 091cfb27d..313df6811 100644
--- a/doc/html/listboxcombo-example.html
+++ b/doc/html/listboxcombo-example.html
@@ -98,7 +98,7 @@ protected slots:
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
#include &lt;<a href="tqimage-h.html">tqimage.h</a>&gt;
-#include &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
+#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="tqstyle-h.html">tqstyle.h</a>&gt;
@@ -112,21 +112,21 @@ public:
}
protected:
- virtual void paint( <a href="ntqpainter.html">TQPainter</a> * );
+ virtual void paint( <a href="tqpainter.html">TQPainter</a> * );
virtual int width( const <a href="ntqlistbox.html">TQListBox</a>* ) const { return 100; }
virtual int height( const <a href="ntqlistbox.html">TQListBox</a>* ) const { return 16; }
};
-<a name="x1410"></a>void MyListBoxItem::<a href="qlistboxitem.html#paint">paint</a>( <a href="ntqpainter.html">TQPainter</a> *painter )
+<a name="x1410"></a>void MyListBoxItem::<a href="qlistboxitem.html#paint">paint</a>( <a href="tqpainter.html">TQPainter</a> *painter )
{
// evil trick: find out whether we are painted onto our listbox
-<a name="x1413"></a> bool in_list_box = <a href="qlistboxitem.html#listBox">listBox</a>() &amp;&amp; listBox()-&gt;viewport() == painter-&gt;<a href="ntqpainter.html#device">device</a>();
+<a name="x1413"></a> bool in_list_box = <a href="qlistboxitem.html#listBox">listBox</a>() &amp;&amp; listBox()-&gt;viewport() == painter-&gt;<a href="tqpainter.html#device">device</a>();
<a href="ntqrect.html">TQRect</a> r ( 0, 0, width( <a href="qlistboxitem.html#listBox">listBox</a>() ), height( <a href="qlistboxitem.html#listBox">listBox</a>() ) );
if ( in_list_box &amp;&amp; isSelected() )
-<a name="x1414"></a> painter-&gt;<a href="ntqpainter.html#eraseRect">eraseRect</a>( r );
-<a name="x1415"></a> painter-&gt;<a href="ntqpainter.html#fillRect">fillRect</a>( 5, 5, width( listBox() ) - 10, height( listBox() ) - 10, TQt::red );
+<a name="x1414"></a> painter-&gt;<a href="tqpainter.html#eraseRect">eraseRect</a>( r );
+<a name="x1415"></a> painter-&gt;<a href="tqpainter.html#fillRect">fillRect</a>( 5, 5, width( listBox() ) - 10, height( listBox() ) - 10, TQt::red );
if ( in_list_box &amp;&amp; isCurrent() )
listBox()-&gt;style().drawPrimitive( TQStyle::PE_FocusRect, painter, r, listBox()-&gt;colorGroup() );
}