summaryrefslogtreecommitdiffstats
path: root/examples/demo
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-08-12 22:02:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-08-12 22:02:11 +0900
commit42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch)
tree0928f4e01a3dcc0698b46c7608d8310e471bdb49 /examples/demo
parentfef846914f8db6dc117e206ef913d519bf6bb33e (diff)
downloadtqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz
tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip
Rename more widget 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/display.cpp4
-rw-r--r--examples/demo/display.h2
-rw-r--r--examples/demo/dnd/dnd.cpp2
-rw-r--r--examples/demo/dnd/listview.h2
-rw-r--r--examples/demo/dnd/styledbutton.h2
-rw-r--r--examples/demo/frame.cpp2
-rw-r--r--examples/demo/main.cpp2
-rw-r--r--examples/demo/qasteroids/ledmeter.h2
-rw-r--r--examples/demo/qthumbwheel.h2
-rw-r--r--examples/demo/textdrawing/example.html26
-rw-r--r--examples/demo/textdrawing/textedit.cpp2
11 files changed, 24 insertions, 24 deletions
diff --git a/examples/demo/display.cpp b/examples/demo/display.cpp
index 1b86db32e..437fe5607 100644
--- a/examples/demo/display.cpp
+++ b/examples/demo/display.cpp
@@ -13,10 +13,10 @@
#include <ntqlayout.h>
#include <tqtimer.h>
#include <tqpushbutton.h>
-#include <ntqframe.h>
+#include <tqframe.h>
#include <tqdial.h>
#include <tqlcdnumber.h>
-#include <ntqprogressbar.h>
+#include <tqprogressbar.h>
#include <tqspinbox.h>
#include <math.h>
diff --git a/examples/demo/display.h b/examples/demo/display.h
index 8b4b43b7a..b4b405ae3 100644
--- a/examples/demo/display.h
+++ b/examples/demo/display.h
@@ -12,7 +12,7 @@
#ifndef QT_H
#include <tqwidget.h>
-#include <ntqframe.h>
+#include <tqframe.h>
#endif // QT_H
class TQTimer;
diff --git a/examples/demo/dnd/dnd.cpp b/examples/demo/dnd/dnd.cpp
index 34e9540ed..b9efb1668 100644
--- a/examples/demo/dnd/dnd.cpp
+++ b/examples/demo/dnd/dnd.cpp
@@ -1,7 +1,7 @@
#include <tqiconview.h>
#include <tqdragobject.h>
#include <ntqlayout.h>
-#include <ntqmultilineedit.h>
+#include <tqmultilineedit.h>
#include "dnd.h"
#include "styledbutton.h"
diff --git a/examples/demo/dnd/listview.h b/examples/demo/dnd/listview.h
index f82f2cb35..1b09e6b98 100644
--- a/examples/demo/dnd/listview.h
+++ b/examples/demo/dnd/listview.h
@@ -1,4 +1,4 @@
-#include <ntqlistview.h>
+#include <tqlistview.h>
class ListViewItem : public TQListViewItem
{
diff --git a/examples/demo/dnd/styledbutton.h b/examples/demo/dnd/styledbutton.h
index fc6391a0b..ead8c6f40 100644
--- a/examples/demo/dnd/styledbutton.h
+++ b/examples/demo/dnd/styledbutton.h
@@ -34,7 +34,7 @@
#ifndef STYLEDBUTTON_H
#define STYLEDBUTTON_H
-#include <ntqbutton.h>
+#include <tqbutton.h>
#include <tqpixmap.h>
class TQColor;
diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp
index 95b4b2c63..728708517 100644
--- a/examples/demo/frame.cpp
+++ b/examples/demo/frame.cpp
@@ -23,7 +23,7 @@
#include <tqdir.h>
#include <tqtextcodec.h>
#include <stdlib.h>
-#include <ntqbuttongroup.h>
+#include <tqbuttongroup.h>
#include <tqtoolbutton.h>
static TQTranslator *translator = 0;
diff --git a/examples/demo/main.cpp b/examples/demo/main.cpp
index 7bccb89ad..7be7d2483 100644
--- a/examples/demo/main.cpp
+++ b/examples/demo/main.cpp
@@ -40,7 +40,7 @@
#include <ntqapplication.h>
#include <tqimage.h>
-#include <ntqtabwidget.h>
+#include <tqtabwidget.h>
#include <tqfont.h>
#include <tqworkspace.h>
#include <tqwidgetstack.h>
diff --git a/examples/demo/qasteroids/ledmeter.h b/examples/demo/qasteroids/ledmeter.h
index 4cdf62bad..9ddf8770f 100644
--- a/examples/demo/qasteroids/ledmeter.h
+++ b/examples/demo/qasteroids/ledmeter.h
@@ -7,7 +7,7 @@
#ifndef __LEDMETER_H__
#define __LEDMETER_H__
-#include <ntqframe.h>
+#include <tqframe.h>
#include <tqptrlist.h>
diff --git a/examples/demo/qthumbwheel.h b/examples/demo/qthumbwheel.h
index 9f5de2783..c7f837b7b 100644
--- a/examples/demo/qthumbwheel.h
+++ b/examples/demo/qthumbwheel.h
@@ -42,7 +42,7 @@
#define TQTHUMBWHEEL_H
#ifndef QT_H
-#include "ntqframe.h"
+#include "tqframe.h"
#include "ntqrangecontrol.h"
#endif // QT_H
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html
index fc48cca7b..4056e2a11 100644
--- a/examples/demo/textdrawing/example.html
+++ b/examples/demo/textdrawing/example.html
@@ -13,7 +13,7 @@ The TQLabel widget provides a static information display
<p>
<code>#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;</code>
<p>
-Inherits <a href="ntqframe.html">TQFrame</a>.
+Inherits <a href="tqframe.html">TQFrame</a>.
<p><a href="tqlabel-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -82,13 +82,13 @@ key for another widget.
<p>When the content is changed using any of these functions, any
previous content is cleared.
<p>The look of a TQLabel can be tuned in several ways. All the settings
-of <a href="ntqframe.html">TQFrame</a> are available for specifying a widget frame. The
+of <a href="tqframe.html">TQFrame</a> are available for specifying a widget frame. The
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="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="tqframe.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 );
</pre>
@@ -118,19 +118,19 @@ use the <a href="#191701">setBuddy</a>() function to accomplish the same.
<h3 class="fn"><a name="5514c7"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * buddy, const <a href="tqstring.html">TQString</a> &amp; 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>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="tqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#dffb43">setText</a>(), <a href="#191701">setBuddy</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<p>See also <a href="#dffb43">setText</a>(), <a href="#191701">setBuddy</a>(), <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
<h3 class="fn"><a name="39107d"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3>
<p>Constructs an empty label.
-<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="ntqframe.html">TQFrame</a>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="tqframe.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>().
+<p>See also <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
<h3 class="fn"><a name="2bafbb"></a>TQLabel::TQLabel ( const <a href="tqstring.html">TQString</a> &amp; 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>
+<p>The <em>parent, name</em> and <em>f</em> arguments are passed to the <a href="tqframe.html">TQFrame</a>
constructor.
-<p>See also <a href="#dffb43">setText</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
+<p>See also <a href="#dffb43">setText</a>(), <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#c0d758">setFrameStyle</a>() and <a href="#ed9b8b">setIndent</a>().
<h3 class="fn"><a name="9958af"></a>TQLabel::~TQLabel ()</h3>
<p>Destructs the label.
<h3 class="fn">int <a name="2fcaa3"></a>TQLabel::alignment () const</h3>
@@ -149,12 +149,12 @@ is disabled.
<p>Clears any label contents. Equivalent with <a href="#dffb43">setText</a>( "" ).
<h3 class="fn">void <a name="fac264"></a>TQLabel::drawContents ( <a href="tqpainter.html">TQPainter</a> * p ) <code>[virtual protected]</code></h3>
<p>Draws the label contents using the painter <em>p.</em>
-<p>Reimplemented from <a href="ntqframe.html#99e687">TQFrame.</a>
+<p>Reimplemented from <a href="tqframe.html#99e687">TQFrame.</a>
<h3 class="fn">void <a name="479dd2"></a>TQLabel::drawContentsMask ( <a href="tqpainter.html">TQPainter</a> * p ) <code>[virtual protected]</code></h3>
<p>Draws the label contents mask using the painter <em>p.</em>
Used only in transparent mode.
<p>See also <a href="tqwidget.html#c7a335">TQWidget::setAutoMask</a>();.
-<p>Reimplemented from <a href="ntqframe.html#4cbf11">TQFrame.</a>
+<p>Reimplemented from <a href="tqframe.html#4cbf11">TQFrame.</a>
<h3 class="fn">void <a name="0435a2"></a>TQLabel::fontChange ( const <a href="tqfont.html">TQFont</a> &amp; ) <code>[virtual protected]</code></h3>
<p>Reimplemented for internal reasons; the API is not affected.
<p>Reimplemented from <a href="tqwidget.html#570a8f">TQWidget.</a>
@@ -245,13 +245,13 @@ to the right edge if alignment() is <code>AlignRight,</code> to the top edge
if alignment() is <code>AlignTop,</code> and to to the bottom edge if
alignment() is <code>AlignBottom.</code>
<p>If <em>indent</em> is negative, or if no indent has been set, the label
-computes the effective indent as follows: If <a href="ntqframe.html#e0ccef">frameWidth</a>() is 0, the
+computes the effective indent as follows: If <a href="tqframe.html#e0ccef">frameWidth</a>() is 0, the
effective indent becomes 0. If frameWidth() is greater than 0, the
effective indent becomes half the width of the "x" character of the
widget's current <a href="tqwidget.html#3a7237">font</a>().
<p>If <em>indent</em> is non-negative, the effective indent is <em>indent</em>
pixels.
-<p>See also <a href="#e3c907">indent</a>(), <a href="#1f406e">setAlignment</a>(), <a href="ntqframe.html#e0ccef">frameWidth</a>() and <a href="tqwidget.html#3a7237">font</a>().
+<p>See also <a href="#e3c907">indent</a>(), <a href="#1f406e">setAlignment</a>(), <a href="tqframe.html#e0ccef">frameWidth</a>() and <a href="tqwidget.html#3a7237">font</a>().
<p>Examples:
<a href="movies-main-cpp.html#setIndent">movies/main.cpp</a>
<h3 class="fn">void <a name="60de9f"></a>TQLabel::setMovie ( const <a href="tqmovie.html">TQMovie</a> &amp; movie ) <code>[virtual slot]</code></h3>
diff --git a/examples/demo/textdrawing/textedit.cpp b/examples/demo/textdrawing/textedit.cpp
index 091fb9eb5..65239fc79 100644
--- a/examples/demo/textdrawing/textedit.cpp
+++ b/examples/demo/textdrawing/textedit.cpp
@@ -14,7 +14,7 @@
#include <tqmenubar.h>
#include <tqpopupmenu.h>
#include <tqtoolbar.h>
-#include <ntqtabwidget.h>
+#include <tqtabwidget.h>
#include <ntqapplication.h>
#include <tqfontdatabase.h>
#include <tqcombobox.h>