summaryrefslogtreecommitdiffstats
path: root/examples/demo/textdrawing
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/textdrawing')
-rw-r--r--examples/demo/textdrawing/example.html14
-rw-r--r--examples/demo/textdrawing/helpwindow.cpp2
-rw-r--r--examples/demo/textdrawing/textedit.cpp2
3 files changed, 9 insertions, 9 deletions
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html
index 12d21ff72..a4fe80929 100644
--- a/examples/demo/textdrawing/example.html
+++ b/examples/demo/textdrawing/example.html
@@ -11,10 +11,10 @@ a:visited { color: #672967; text-decoration: none }body { background: white; col
The TQLabel widget provides a static information display
<a href="#details">More...</a>
<p>
-<code>#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;</code>
+<code>#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;</code>
<p>
Inherits <a href="ntqframe.html">TQFrame</a>.
-<p><a href="qlabel-members.html">List of all member functions.</a>
+<p><a href="tqlabel-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<li><div class="fn"><a href="#39107d"><b>TQLabel</b></a> ( TQWidget * parent, const char * name=0, WFlags f=0 ) </div>
@@ -87,7 +87,7 @@ positioning of the content within the TQLabel widget area can be
tuned with <a href="#1f406e">setAlignment</a>() and <a href="#ed9b8b">setIndent</a>(). For example, this code
sets up a sunken panel with a two-line text in the bottom right
corner (both lines being flush with the right side of the label):
-<p><pre> <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>;
+<p><pre> <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>;
label-&gt;<a href="ntqframe.html#c0d758">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
label-&gt;<a href="#dffb43">setText</a>( "first line\nsecond line" );
label-&gt;<a href="#1f406e">setAlignment</a>( AlignBottom | AlignRight );
@@ -97,7 +97,7 @@ widget. For this use, TQLabel provides a handy mechanism for adding
an accelerator key (see <a href="ntqaccel.html">TQAccel</a>) that will set the keyboard focus to
the other widget (called the TQLabel's "buddy"). Example:
<p><pre> <a href="ntqlineedit.html">TQLineEdit</a>* phoneEdit = new <a href="ntqlineedit.html">TQLineEdit</a>( this, "phoneEdit" );
- <a href="ntqlabel.html">TQLabel</a>* phoneLabel = new <a href="ntqlabel.html">TQLabel</a>( phoneEdit, "&amp;Phone:", this, "phoneLabel" );
+ <a href="tqlabel.html">TQLabel</a>* phoneLabel = new <a href="tqlabel.html">TQLabel</a>( phoneEdit, "&amp;Phone:", this, "phoneLabel" );
</pre>
<p>In this example, keyboard focus is transferred to the label's buddy
(the <a href="ntqlineedit.html">TQLineEdit</a>) when the user presses <dfn>Alt-P.</dfn> You can also
@@ -224,10 +224,10 @@ alignment flag is turned on; see <a href="#1f406e">setAlignment</a>()).
each, and set up the geometry layout so each label is just to the
left of its data entry widget (its "buddy"), somewhat like this:
<p><pre> <a href="ntqlineedit.html">TQLineEdit</a> *nameEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
- <a href="ntqlabel.html">TQLabel</a> *nameLb = new <a href="ntqlabel.html">TQLabel</a>( "&amp;Name:", this );
+ <a href="tqlabel.html">TQLabel</a> *nameLb = new <a href="tqlabel.html">TQLabel</a>( "&amp;Name:", this );
nameLb-&gt;<a href="#191701">setBuddy</a>( nameEd );
<a href="ntqlineedit.html">TQLineEdit</a> *phoneEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
- <a href="ntqlabel.html">TQLabel</a> *phoneLb = new <a href="ntqlabel.html">TQLabel</a>( "&amp;Phone:", this );
+ <a href="tqlabel.html">TQLabel</a> *phoneLb = new <a href="tqlabel.html">TQLabel</a>( "&amp;Phone:", this );
phoneLb-&gt;<a href="#191701">setBuddy</a>( phoneEd );
// ( layout setup not shown )
</pre>
@@ -293,7 +293,7 @@ the format of <em>text.</em>
<p>If <em>text</em> is interpreted as a plain text, and a buddy has been set,
the buddy accelerator key is updated from the new text.
<p>The label resizes itself if auto-resizing is enabled.
-<p>Note that Qlabel is well suited to display small rich text documents
+<p>Note that TQLabel is well suited to display small rich text documents
only. For large documents, use <a href="tqtextview.html">TQTextView</a> instead. It will flicker
less on resize and can also provide a scrollbar if necessary.
<p>See also <a href="#72cf09">text</a>(), <a href="#5de3f9">setTextFormat</a>(), <a href="#191701">setBuddy</a>() and <a href="#1f406e">setAlignment</a>().
diff --git a/examples/demo/textdrawing/helpwindow.cpp b/examples/demo/textdrawing/helpwindow.cpp
index 90ed211d4..6859d57e7 100644
--- a/examples/demo/textdrawing/helpwindow.cpp
+++ b/examples/demo/textdrawing/helpwindow.cpp
@@ -29,7 +29,7 @@
#include <tqfile.h>
#include <tqdatastream.h>
#include <tqprinter.h>
-#include <ntqsimplerichtext.h>
+#include <tqsimplerichtext.h>
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
diff --git a/examples/demo/textdrawing/textedit.cpp b/examples/demo/textdrawing/textedit.cpp
index 66e7e8b11..f2017762f 100644
--- a/examples/demo/textdrawing/textedit.cpp
+++ b/examples/demo/textdrawing/textedit.cpp
@@ -24,7 +24,7 @@
#include <tqfiledialog.h>
#include <tqprinter.h>
#include <tqpaintdevicemetrics.h>
-#include <ntqsimplerichtext.h>
+#include <tqsimplerichtext.h>
#include <tqcolordialog.h>
#include <tqpainter.h>