summaryrefslogtreecommitdiffstats
path: root/doc/html/qfd-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qfd-example.html')
-rw-r--r--doc/html/qfd-example.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/qfd-example.html b/doc/html/qfd-example.html
index 3e86686fd..c7a766427 100644
--- a/doc/html/qfd-example.html
+++ b/doc/html/qfd-example.html
@@ -49,12 +49,12 @@ This example program displays all characters of a font.
#ifndef FontDisplayer_H
#define FontDisplayer_H
-#include &lt;<a href="qframe-h.html">ntqframe.h</a>&gt;
+#include &lt;<a href="tqframe-h.html">tqframe.h</a>&gt;
#include &lt;<a href="tqmainwindow-h.html">tqmainwindow.h</a>&gt;
class TQSlider;
-class FontRowTable : public <a href="ntqframe.html">TQFrame</a> {
+class FontRowTable : public <a href="tqframe.html">TQFrame</a> {
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
FontRowTable( <a href="tqwidget.html">TQWidget</a>* parent=0, const char* name=0 );
@@ -112,18 +112,18 @@ public:
<a name="f531"></a>FontRowTable::FontRowTable( <a href="tqwidget.html">TQWidget</a>* parent, const char* name ) :
- <a href="ntqframe.html">TQFrame</a>(parent,name)
+ <a href="tqframe.html">TQFrame</a>(parent,name)
{
<a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>(PaletteBase);
- <a href="ntqframe.html#setFrameStyle">setFrameStyle</a>(Panel|Sunken);
- <a href="ntqframe.html#setMargin">setMargin</a>(8);
+ <a href="tqframe.html#setFrameStyle">setFrameStyle</a>(Panel|Sunken);
+ <a href="tqframe.html#setMargin">setMargin</a>(8);
setRow(0);
<a name="x1979"></a> tablefont = TQApplication::<a href="ntqapplication.html#font">font</a>();
}
<a name="x1996"></a>TQSize FontRowTable::<a href="tqwidget.html#sizeHint">sizeHint</a>() const
{
- return 24*cellSize()+TQSize(2,2)*(<a href="ntqframe.html#margin">margin</a>()+frameWidth());
+ return 24*cellSize()+TQSize(2,2)*(<a href="tqframe.html#margin">margin</a>()+frameWidth());
}
TQSize <a name="f532"></a>FontRowTable::cellSize() const
@@ -132,15 +132,15 @@ TQSize <a name="f532"></a>FontRowTable::cellSize() const
<a name="x1990"></a><a name="x1989"></a> return TQSize( fm.<a href="tqfontmetrics.html#maxWidth">maxWidth</a>(), fm.<a href="tqfontmetrics.html#lineSpacing">lineSpacing</a>()+1 );
}
-<a name="x1995"></a>void FontRowTable::<a href="ntqframe.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a>* e )
+<a name="x1995"></a>void FontRowTable::<a href="tqframe.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a>* e )
{
- TQFrame::<a href="ntqframe.html#paintEvent">paintEvent</a>(e);
+ TQFrame::<a href="tqframe.html#paintEvent">paintEvent</a>(e);
<a href="tqpainter.html">TQPainter</a> p(this);
<a name="x2002"></a><a name="x1999"></a> p.<a href="tqpainter.html#setClipRegion">setClipRegion</a>(e-&gt;<a href="tqpaintevent.html#region">region</a>());
<a name="x2001"></a> <a href="tqrect.html">TQRect</a> r = e-&gt;<a href="tqpaintevent.html#rect">rect</a>();
<a href="tqfontmetrics.html">TQFontMetrics</a> fm = <a href="tqwidget.html#fontMetrics">fontMetrics</a>();
-<a name="x1991"></a> int ml = <a href="ntqframe.html#frameWidth">frameWidth</a>()+margin() + 1 + TQMAX(0,-fm.<a href="tqfontmetrics.html#minLeftBearing">minLeftBearing</a>());
- int mt = <a href="ntqframe.html#frameWidth">frameWidth</a>()+margin();
+<a name="x1991"></a> int ml = <a href="tqframe.html#frameWidth">frameWidth</a>()+margin() + 1 + TQMAX(0,-fm.<a href="tqfontmetrics.html#minLeftBearing">minLeftBearing</a>());
+ int mt = <a href="tqframe.html#frameWidth">frameWidth</a>()+margin();
<a href="tqsize.html">TQSize</a> cell((<a href="tqwidget.html#width">width</a>()-15-ml)/16,(<a href="tqwidget.html#height">height</a>()-15-mt)/16);
<a name="x2008"></a><a name="x2007"></a> if ( !cell.<a href="tqsize.html#width">width</a>() || !cell.<a href="tqsize.html#height">height</a>() )
@@ -238,7 +238,7 @@ void <a name="f534"></a>FontRowTable::chooseFont()
<a href="tqpushbutton.html">TQPushButton</a> *fontbutton = new <a href="tqpushbutton.html">TQPushButton</a>(<a href="tqobject.html#tr">tr</a>("Font..."), controls);
<a name="x2009"></a> <a href="tqobject.html#connect">connect</a>(row,TQ_SIGNAL(<a href="tqspinbox.html#valueChanged">valueChanged</a>(int)),table,TQ_SLOT(setRow(int)));
- <a href="tqobject.html#connect">connect</a>(fontbutton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), table, TQ_SLOT(chooseFont()));
+ <a href="tqobject.html#connect">connect</a>(fontbutton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), table, TQ_SLOT(chooseFont()));
<a href="tqobject.html#connect">connect</a>(table,TQ_SIGNAL(fontInformation(const <a href="tqstring.html">TQString</a>&amp;)),
<a href="tqmainwindow.html#statusBar">statusBar</a>(),TQ_SLOT(message(const <a href="tqstring.html">TQString</a>&amp;)));
table-&gt;setRow(0);