diff options
Diffstat (limited to 'examples/demo/textdrawing')
-rw-r--r-- | examples/demo/textdrawing/example.html | 14 | ||||
-rw-r--r-- | examples/demo/textdrawing/helpwindow.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html index 0a5de383d..bb4eb99dd 100644 --- a/examples/demo/textdrawing/example.html +++ b/examples/demo/textdrawing/example.html @@ -72,7 +72,7 @@ various ways, and it can be used for specifying a focus accelerator key for another widget. <p>A TQLabel can contain any of the following content types: <ul> -<li> A plain text: set by passing a <a href="ntqstring.html">TQString</a> to <a href="#dffb43">setText</a>(). +<li> A plain text: set by passing a <a href="tqstring.html">TQString</a> to <a href="#dffb43">setText</a>(). <li> A rich text: set by passing a TQString that contains a rich text to setText(). <li> A pixmap: set by passing a <a href="ntqpixmap.html">TQPixmap</a> to <a href="#f3f301">setPixmap</a>(). <li> A movie: set by passing a <a href="ntqmovie.html">TQMovie</a> to <a href="#60de9f">setMovie</a>(). @@ -115,7 +115,7 @@ use the <a href="#191701">setBuddy</a>() function to accomplish the same. <a href="customlayout-main-cpp.html#TQLabel">customlayout/main.cpp</a> <hr><h2>Member Function Documentation</h2> -<h3 class="fn"><a name="5514c7"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * buddy, const <a href="ntqstring.html">TQString</a> & text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3> +<h3 class="fn"><a name="5514c7"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * buddy, const <a href="tqstring.html">TQString</a> & text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3> <p>Constructs a label with a text and a buddy. <p>The <em>text</em> is set with <a href="#dffb43">setText</a>(). The <em>buddy</em> is set with <a href="#191701">setBuddy</a>(). <p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a> @@ -126,7 +126,7 @@ constructor. <p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a> constructor. <p>See also <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>(). -<h3 class="fn"><a name="2bafbb"></a>TQLabel::TQLabel ( const <a href="ntqstring.html">TQString</a> & text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3> +<h3 class="fn"><a name="2bafbb"></a>TQLabel::TQLabel ( const <a href="tqstring.html">TQString</a> & text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3> <p>Constructs a label with a text. The <em>text</em> is set with <a href="#dffb43">setText</a>(). <p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a> constructor. @@ -265,14 +265,14 @@ of <em>num.</em> Does nothing if this is equal to the current contents of the label. Any previous content is cleared. <p>The buddy accelerator, if any, is disabled. <p>The label resizes itself if auto-resizing is enabled. -<p>See also <a href="#dffb43">setText</a>(), <a href="ntqstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>(). +<p>See also <a href="#dffb43">setText</a>(), <a href="tqstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>(). <h3 class="fn">void <a name="301e3c"></a>TQLabel::setNum ( int num ) <code>[virtual slot]</code></h3> <p>Sets the label contents to a plain text containing the printed value of <em>num.</em> Does nothing if this is equal to the current contents of the label. Any previous content is cleared. <p>The buddy accelerator, if any, is disabled. <p>The label resizes itself if auto-resizing is enabled. -<p>See also <a href="#dffb43">setText</a>(), <a href="ntqstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>(). +<p>See also <a href="#dffb43">setText</a>(), <a href="tqstring.html#01d80b">TQString::setNum</a>() and <a href="#191701">setBuddy</a>(). <h3 class="fn">void <a name="f3f301"></a>TQLabel::setPixmap ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) <code>[virtual slot]</code></h3> <p>Sets the label contents to <em>pixmap.</em> Any previous content is cleared. <p>The buddy accelerator, if any, is disabled. @@ -282,7 +282,7 @@ the label. Any previous content is cleared. <p>When called with <em>enable</em> == TRUE, and the label shows a pixmap, it will scale the pixmap to fill available space. <p>See also <a href="#7e1f73">hasScaledContents</a>(). -<h3 class="fn">void <a name="dffb43"></a>TQLabel::setText ( const <a href="ntqstring.html">TQString</a> & text ) <code>[virtual slot]</code></h3> +<h3 class="fn">void <a name="dffb43"></a>TQLabel::setText ( const <a href="tqstring.html">TQString</a> & text ) <code>[virtual slot]</code></h3> <p>Sets the label contents to <em>text,</em> or does nothing if <em>text</em> is equal to the current contents of the label. Any previous content is cleared. @@ -316,7 +316,7 @@ an explanation of the possible options. <h3 class="fn"><a href="ntqsizepolicy.html">TQSizePolicy</a> <a name="26e1d9"></a>TQLabel::sizePolicy () const <code>[virtual]</code></h3> <p>Reimplemented for internal reasons; the API is not affected. <p>Reimplemented from <a href="tqwidget.html#2d5d13">TQWidget.</a> -<h3 class="fn"><a href="ntqstring.html">TQString</a> <a name="72cf09"></a>TQLabel::text () const</h3> +<h3 class="fn"><a href="tqstring.html">TQString</a> <a name="72cf09"></a>TQLabel::text () const</h3> <p>Returns the label text. If the content is a plain or a rich text, this is the string that was passed to <a href="#dffb43">setText</a>(). Otherwise, it is an empty/null string. diff --git a/examples/demo/textdrawing/helpwindow.h b/examples/demo/textdrawing/helpwindow.h index 3ca7ce97e..9f05d001b 100644 --- a/examples/demo/textdrawing/helpwindow.h +++ b/examples/demo/textdrawing/helpwindow.h @@ -12,7 +12,7 @@ #include <ntqmainwindow.h> #include <ntqtextbrowser.h> -#include <ntqstringlist.h> +#include <tqstringlist.h> #include <tqmap.h> #include <ntqdir.h> |