summaryrefslogtreecommitdiffstats
path: root/examples/demo
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
commit0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch)
treebe5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /examples/demo
parent1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff)
downloadtqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz
tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/demo')
-rw-r--r--examples/demo/dnd/styledbutton.cpp2
-rw-r--r--examples/demo/graph.cpp2
-rw-r--r--examples/demo/i18n/i18n.cpp2
-rw-r--r--examples/demo/qasteroids/toplevel.cpp2
-rw-r--r--examples/demo/textdrawing/example.html14
-rw-r--r--examples/demo/textdrawing/helpwindow.cpp2
-rw-r--r--examples/demo/textdrawing/textedit.cpp2
7 files changed, 13 insertions, 13 deletions
diff --git a/examples/demo/dnd/styledbutton.cpp b/examples/demo/dnd/styledbutton.cpp
index 51e8968cf..ee393a106 100644
--- a/examples/demo/dnd/styledbutton.cpp
+++ b/examples/demo/dnd/styledbutton.cpp
@@ -35,7 +35,7 @@
#include <tqcolordialog.h>
#include <tqpalette.h>
-#include <ntqlabel.h>
+#include <tqlabel.h>
#include <tqpainter.h>
#include <tqimage.h>
#include <tqpixmap.h>
diff --git a/examples/demo/graph.cpp b/examples/demo/graph.cpp
index 07222f898..26b203455 100644
--- a/examples/demo/graph.cpp
+++ b/examples/demo/graph.cpp
@@ -5,7 +5,7 @@
#include <ntqhbox.h>
#include <ntqpushbutton.h>
#include <ntqslider.h>
-#include <ntqlabel.h>
+#include <tqlabel.h>
#include <ntqlayout.h>
const int bounce_rtti = 1234;
diff --git a/examples/demo/i18n/i18n.cpp b/examples/demo/i18n/i18n.cpp
index 1986189a8..8e40398d4 100644
--- a/examples/demo/i18n/i18n.cpp
+++ b/examples/demo/i18n/i18n.cpp
@@ -14,7 +14,7 @@
#include <tqiconset.h>
#include <ntqapplication.h>
#include <tqwidgetlist.h>
-#include <ntqlabel.h>
+#include <tqlabel.h>
#include <tqtextedit.h>
diff --git a/examples/demo/qasteroids/toplevel.cpp b/examples/demo/qasteroids/toplevel.cpp
index c2a22ea14..d40ea72a6 100644
--- a/examples/demo/qasteroids/toplevel.cpp
+++ b/examples/demo/qasteroids/toplevel.cpp
@@ -5,7 +5,7 @@
*/
// --- toplevel.cpp ---
#include <ntqaccel.h>
-#include <ntqlabel.h>
+#include <tqlabel.h>
#include <ntqlayout.h>
#include <ntqlcdnumber.h>
#include <ntqpushbutton.h>
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>