diff options
Diffstat (limited to 'doc/html/tutorial2-09.html')
-rw-r--r-- | doc/html/tutorial2-09.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tutorial2-09.html b/doc/html/tutorial2-09.html index 07c06d51e..dbc4ad9d5 100644 --- a/doc/html/tutorial2-09.html +++ b/doc/html/tutorial2-09.html @@ -47,8 +47,8 @@ apply to all data sets in one place. bool modal = FALSE, WFlags f = 0 ); ~OptionsForm() {} - <a href="ntqfont.html">TQFont</a> font() const { return m_font; } - void setFont( <a href="ntqfont.html">TQFont</a> font ); + <a href="tqfont.html">TQFont</a> font() const { return m_font; } + void setFont( <a href="tqfont.html">TQFont</a> font ); <a href="ntqlabel.html">TQLabel</a> *chartTypeTextLabel; <a href="ntqcombobox.html">TQComboBox</a> *chartTypeComboBox; @@ -77,7 +77,7 @@ apply to all data sets in one place. <a href="qhboxlayout.html">TQHBoxLayout</a> *buttonsLayout; private: - <a href="ntqfont.html">TQFont</a> m_font; + <a href="tqfont.html">TQFont</a> m_font; }; </pre> <p> The layout of this dialog is slightly more complicated than for the @@ -208,22 +208,22 @@ accelerators. <a name="2"></a><p> <pre> void OptionsForm::chooseFont() { bool ok; - <a name="x2638"></a> <a href="ntqfont.html">TQFont</a> font = TQFontDialog::<a href="ntqfontdialog.html#getFont">getFont</a>( &ok, m_font, this ); + <a name="x2638"></a> <a href="tqfont.html">TQFont</a> font = TQFontDialog::<a href="tqfontdialog.html#getFont">getFont</a>( &ok, m_font, this ); if ( ok ) <a href="tqwidget.html#setFont">setFont</a>( font ); } </pre> <p> When the user clicks the Font button this slot is invoked. It simply -calls the static <a href="ntqfontdialog.html#getFont">TQFontDialog::getFont</a>() function to obtain the user's +calls the static <a href="tqfontdialog.html#getFont">TQFontDialog::getFont</a>() function to obtain the user's choice of font. If they chose a font we call our setFont() slot which will present a textual description of the font in the font label. -<p> <pre> void OptionsForm::<a href="tqwidget.html#setFont">setFont</a>( <a href="ntqfont.html">TQFont</a> font ) +<p> <pre> void OptionsForm::<a href="tqwidget.html#setFont">setFont</a>( <a href="tqfont.html">TQFont</a> font ) { - <a name="x2635"></a> <a href="tqstring.html">TQString</a> label = font.<a href="ntqfont.html#family">family</a>() + " " + - <a name="x2637"></a> TQString::<a href="tqstring.html#number">number</a>( font.<a href="ntqfont.html#pointSize">pointSize</a>() ) + "pt"; - <a name="x2634"></a> if ( font.<a href="ntqfont.html#bold">bold</a>() ) + <a name="x2635"></a> <a href="tqstring.html">TQString</a> label = font.<a href="tqfont.html#family">family</a>() + " " + + <a name="x2637"></a> TQString::<a href="tqstring.html#number">number</a>( font.<a href="tqfont.html#pointSize">pointSize</a>() ) + "pt"; + <a name="x2634"></a> if ( font.<a href="tqfont.html#bold">bold</a>() ) label += " Bold"; - <a name="x2636"></a> if ( font.<a href="ntqfont.html#italic">italic</a>() ) + <a name="x2636"></a> if ( font.<a href="tqfont.html#italic">italic</a>() ) label += " Italic"; fontTextLabel-><a href="ntqlabel.html#setText">setText</a>( label ); m_font = font; |