diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /examples/demo | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/demo')
-rw-r--r-- | examples/demo/display.h | 2 | ||||
-rw-r--r-- | examples/demo/frame.cpp | 2 | ||||
-rw-r--r-- | examples/demo/graph.h | 2 | ||||
-rw-r--r-- | examples/demo/i18n/i18n.cpp | 2 | ||||
-rw-r--r-- | examples/demo/main.cpp | 2 | ||||
-rw-r--r-- | examples/demo/qasteroids/view.h | 2 | ||||
-rw-r--r-- | examples/demo/textdrawing/example.html | 32 |
7 files changed, 22 insertions, 22 deletions
diff --git a/examples/demo/display.h b/examples/demo/display.h index c3241150b..8b4b43b7a 100644 --- a/examples/demo/display.h +++ b/examples/demo/display.h @@ -11,7 +11,7 @@ #define DISPLAY_H #ifndef QT_H -#include <ntqwidget.h> +#include <tqwidget.h> #include <ntqframe.h> #endif // QT_H diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp index a263b8b1a..1fed9f837 100644 --- a/examples/demo/frame.cpp +++ b/examples/demo/frame.cpp @@ -15,7 +15,7 @@ #include <ntqaccel.h> #include <ntqtoolbox.h> #include <ntqpainter.h> -#include <ntqwidgetstack.h> +#include <tqwidgetstack.h> #include <ntqstylefactory.h> #include <ntqaction.h> #include <ntqsignalmapper.h> diff --git a/examples/demo/graph.h b/examples/demo/graph.h index 1cb0f5017..541662678 100644 --- a/examples/demo/graph.h +++ b/examples/demo/graph.h @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include <ntqwidget.h> +#include <tqwidget.h> class TQStyle; class TQListBox; class TQListBoxItem; diff --git a/examples/demo/i18n/i18n.cpp b/examples/demo/i18n/i18n.cpp index 4458e18bd..533976591 100644 --- a/examples/demo/i18n/i18n.cpp +++ b/examples/demo/i18n/i18n.cpp @@ -13,7 +13,7 @@ #include <ntqpixmap.h> #include <ntqiconset.h> #include <ntqapplication.h> -#include <ntqwidgetlist.h> +#include <tqwidgetlist.h> #include <ntqlabel.h> #include <ntqtextedit.h> diff --git a/examples/demo/main.cpp b/examples/demo/main.cpp index f1518c460..6fc5dbe10 100644 --- a/examples/demo/main.cpp +++ b/examples/demo/main.cpp @@ -43,7 +43,7 @@ #include <ntqtabwidget.h> #include <ntqfont.h> #include <ntqworkspace.h> -#include <ntqwidgetstack.h> +#include <tqwidgetstack.h> #if defined(TQT_MODULE_SQL) #include <tqsqldatabase.h> diff --git a/examples/demo/qasteroids/view.h b/examples/demo/qasteroids/view.h index 34ee3d53e..bbc873b31 100644 --- a/examples/demo/qasteroids/view.h +++ b/examples/demo/qasteroids/view.h @@ -7,7 +7,7 @@ #ifndef __AST_VIEW_H__ #define __AST_VIEW_H__ -#include <ntqwidget.h> +#include <tqwidget.h> #include <ntqptrlist.h> #include <ntqintdict.h> #include <ntqtimer.h> diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html index eca9d9210..0a5de383d 100644 --- a/examples/demo/textdrawing/example.html +++ b/examples/demo/textdrawing/example.html @@ -115,18 +115,18 @@ 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="ntqwidget.html">TQWidget</a> * buddy, const <a href="ntqstring.html">TQString</a> & text, <a href="ntqwidget.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="ntqstring.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> 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>(). -<h3 class="fn"><a name="39107d"></a>TQLabel::TQLabel ( <a href="ntqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3> +<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> 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="ntqwidget.html">TQWidget</a> * parent, const char * name=0, WFlags f=0 )</h3> +<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> <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. @@ -142,7 +142,7 @@ constructor. is disabled. <p>Auto-resizing is disabled by default. <p>See also <a href="#c0e104">setAutoResize</a>(). -<h3 class="fn"><a href="ntqwidget.html">TQWidget</a> * <a name="123954"></a>TQLabel::buddy () const</h3> +<h3 class="fn"><a href="tqwidget.html">TQWidget</a> * <a name="123954"></a>TQLabel::buddy () const</h3> <p>Returns the buddy of this label, or 0 if no buddy is currently set. <p>See also <a href="#191701">setBuddy</a>(). <h3 class="fn">void <a name="be73f3"></a>TQLabel::clear () <code>[slot]</code></h3> @@ -153,24 +153,24 @@ is disabled. <h3 class="fn">void <a name="479dd2"></a>TQLabel::drawContentsMask ( <a href="ntqpainter.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="ntqwidget.html#c7a335">TQWidget::setAutoMask</a>();. +<p>See also <a href="tqwidget.html#c7a335">TQWidget::setAutoMask</a>();. <p>Reimplemented from <a href="ntqframe.html#4cbf11">TQFrame.</a> <h3 class="fn">void <a name="0435a2"></a>TQLabel::fontChange ( const <a href="ntqfont.html">TQFont</a> & ) <code>[virtual protected]</code></h3> <p>Reimplemented for internal reasons; the API is not affected. -<p>Reimplemented from <a href="ntqwidget.html#570a8f">TQWidget.</a> +<p>Reimplemented from <a href="tqwidget.html#570a8f">TQWidget.</a> <h3 class="fn">bool <a name="7e1f73"></a>TQLabel::hasScaledContents () const</h3> <p>Returns whether the label will scale its contents to fill all available space. <p>See also <a href="#e9e3cf">setScaledContents</a>(). <h3 class="fn">int <a name="dae451"></a>TQLabel::heightForWidth ( int w ) const <code>[virtual]</code></h3> <p>Reimplemented for internal reasons; the API is not affected. -<p>Reimplemented from <a href="ntqwidget.html#2e8476">TQWidget.</a> +<p>Reimplemented from <a href="tqwidget.html#2e8476">TQWidget.</a> <h3 class="fn">int <a name="e3c907"></a>TQLabel::indent () const</h3> <p>Returns the indent of the label. <p>See also <a href="#ed9b8b">setIndent</a>(). <h3 class="fn"><a href="ntqsize.html">TQSize</a> <a name="53c8c7"></a>TQLabel::minimumSizeHint () const <code>[virtual]</code></h3> <p>Reimplemented for internal reasons; the API is not affected. -<p>Reimplemented from <a href="ntqwidget.html#3f0fc2">TQWidget.</a> +<p>Reimplemented from <a href="tqwidget.html#3f0fc2">TQWidget.</a> <h3 class="fn"><a href="ntqmovie.html">TQMovie</a>* <a name="7dcdfe"></a>TQLabel::movie () const</h3> <p>If the label contains a movie, returns a pointer to it. Otherwise, returns 0. @@ -181,7 +181,7 @@ returns 0. <p>See also <a href="#f3f301">setPixmap</a>(). <h3 class="fn">void <a name="3cb6e7"></a>TQLabel::resizeEvent ( <a href="qresizeevent.html">TQResizeEvent</a> * e ) <code>[virtual protected]</code></h3> <p>Reimplemented for internal reasons; the API is not affected. -<p>Reimplemented from <a href="ntqwidget.html#28c156">TQWidget.</a> +<p>Reimplemented from <a href="tqwidget.html#28c156">TQWidget.</a> <h3 class="fn">void <a name="1f406e"></a>TQLabel::setAlignment ( int alignment ) <code>[virtual]</code></h3> <p>Sets the alignment of the label contents. <p>The <em>alignment</em> must be a bitwise OR of <a href="ntqt.html#AlignmentFlags">TQt::AlignmentFlags</a> @@ -201,7 +201,7 @@ the label has a buddy. <a href="customlayout-main-cpp.html#setAlignment">customlayout/main.cpp</a> <h3 class="fn">void <a name="1b6d73"></a>TQLabel::setAutoMask ( bool b ) <code>[virtual]</code></h3> <p>Reimplemented for internal reasons; the API is not affected. -<p>Reimplemented from <a href="ntqwidget.html#c7a335">TQWidget.</a> +<p>Reimplemented from <a href="tqwidget.html#c7a335">TQWidget.</a> <h3 class="fn">void <a name="c0e104"></a>TQLabel::setAutoResize ( bool enable ) <code>[virtual]</code></h3> <p><b>This function is obsolete.</b> It is provided to keep old source working, and will probably be removed in a future version of TQt. We strongly advise against using it in new code.<p> Enables auto-resizing if <em>enable</em> is TRUE, or disables it if <em>enable</em> is FALSE. @@ -210,8 +210,8 @@ the contents whenever the contents change. The top left corner is not moved. This is useful for TQLabel widgets that are not managed by a <a href="ntqlayout.html">TQLayout</a> (e.g. top-level widgets). <p>Auto-resizing is disabled by default. -<p>See also <a href="#75b2a1">autoResize</a>(), <a href="ntqwidget.html#ab3108">adjustSize</a>() and <a href="#614dd5">sizeHint</a>(). -<h3 class="fn">void <a name="191701"></a>TQLabel::setBuddy ( <a href="ntqwidget.html">TQWidget</a> * buddy ) <code>[virtual]</code></h3> +<p>See also <a href="#75b2a1">autoResize</a>(), <a href="tqwidget.html#ab3108">adjustSize</a>() and <a href="#614dd5">sizeHint</a>(). +<h3 class="fn">void <a name="191701"></a>TQLabel::setBuddy ( <a href="tqwidget.html">TQWidget</a> * buddy ) <code>[virtual]</code></h3> <p>Sets the buddy of this label to <em>buddy.</em> <p>When the user presses the accelerator key indicated by this label, the keyboard focus is transferred to the label's buddy widget. @@ -248,10 +248,10 @@ alignment() is <code>AlignBottom.</code> computes the effective indent as follows: If <a href="ntqframe.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="ntqwidget.html#3a7237">font</a>(). +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="ntqwidget.html#3a7237">font</a>(). +<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>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="ntqmovie.html">TQMovie</a> & movie ) <code>[virtual slot]</code></h3> @@ -312,10 +312,10 @@ an explanation of the possible options. <p>Reimplemented for internal reasons; the API is not affected. <p>Examples: <a href="layout-layout-cpp.html#sizeHint">layout/layout.cpp</a> -<p>Reimplemented from <a href="ntqwidget.html#290bcd">TQWidget.</a> +<p>Reimplemented from <a href="tqwidget.html#290bcd">TQWidget.</a> <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="ntqwidget.html#2d5d13">TQWidget.</a> +<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> <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 |