From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- examples/demo/textdrawing/example.html | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'examples/demo/textdrawing/example.html') 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 setBuddy() function to accomplish the same. customlayout/main.cpp

Member Function Documentation

-

TQLabel::TQLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name=0, WFlags f=0 )

+

TQLabel::TQLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name=0, WFlags f=0 )

Constructs a label with a text and a buddy.

The text is set with setText(). The buddy is set with setBuddy().

The parent, name and f arguments are passed to the TQFrame constructor.

See also setText(), setBuddy(), setAlignment(), setFrameStyle() and setIndent(). -

TQLabel::TQLabel ( TQWidget * parent, const char * name=0, WFlags f=0 )

+

TQLabel::TQLabel ( TQWidget * parent, const char * name=0, WFlags f=0 )

Constructs an empty label.

The parent, name and f arguments are passed to the TQFrame constructor.

See also setAlignment(), setFrameStyle() and setIndent(). -

TQLabel::TQLabel ( const TQString & text, TQWidget * parent, const char * name=0, WFlags f=0 )

+

TQLabel::TQLabel ( const TQString & text, TQWidget * parent, const char * name=0, WFlags f=0 )

Constructs a label with a text. The text is set with setText().

The parent, name and f arguments are passed to the TQFrame constructor. @@ -142,7 +142,7 @@ constructor. is disabled.

Auto-resizing is disabled by default.

See also setAutoResize(). -

TQWidget * TQLabel::buddy () const

+

TQWidget * TQLabel::buddy () const

Returns the buddy of this label, or 0 if no buddy is currently set.

See also setBuddy().

void TQLabel::clear () [slot]

@@ -153,24 +153,24 @@ is disabled.

void TQLabel::drawContentsMask ( TQPainter * p ) [virtual protected]

Draws the label contents mask using the painter p. Used only in transparent mode. -

See also TQWidget::setAutoMask();. +

See also TQWidget::setAutoMask();.

Reimplemented from TQFrame.

void TQLabel::fontChange ( const TQFont & ) [virtual protected]

Reimplemented for internal reasons; the API is not affected. -

Reimplemented from TQWidget. +

Reimplemented from TQWidget.

bool TQLabel::hasScaledContents () const

Returns whether the label will scale its contents to fill all available space.

See also setScaledContents().

int TQLabel::heightForWidth ( int w ) const [virtual]

Reimplemented for internal reasons; the API is not affected. -

Reimplemented from TQWidget. +

Reimplemented from TQWidget.

int TQLabel::indent () const

Returns the indent of the label.

See also setIndent().

TQSize TQLabel::minimumSizeHint () const [virtual]

Reimplemented for internal reasons; the API is not affected. -

Reimplemented from TQWidget. +

Reimplemented from TQWidget.

TQMovieTQLabel::movie () const

If the label contains a movie, returns a pointer to it. Otherwise, returns 0. @@ -181,7 +181,7 @@ returns 0.

See also setPixmap().

void TQLabel::resizeEvent ( TQResizeEvent * e ) [virtual protected]

Reimplemented for internal reasons; the API is not affected. -

Reimplemented from TQWidget. +

Reimplemented from TQWidget.

void TQLabel::setAlignment ( int alignment ) [virtual]

Sets the alignment of the label contents.

The alignment must be a bitwise OR of TQt::AlignmentFlags @@ -201,7 +201,7 @@ the label has a buddy. customlayout/main.cpp

void TQLabel::setAutoMask ( bool b ) [virtual]

Reimplemented for internal reasons; the API is not affected. -

Reimplemented from TQWidget. +

Reimplemented from TQWidget.

void TQLabel::setAutoResize ( bool enable ) [virtual]

This function is obsolete. 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.

Enables auto-resizing if enable is TRUE, or disables it if enable 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 TQLayout (e.g. top-level widgets).

Auto-resizing is disabled by default. -

See also autoResize(), adjustSize() and sizeHint(). -

void TQLabel::setBuddy ( TQWidget * buddy ) [virtual]

+

See also autoResize(), adjustSize() and sizeHint(). +

void TQLabel::setBuddy ( TQWidget * buddy ) [virtual]

Sets the buddy of this label to buddy.

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 AlignBottom. computes the effective indent as follows: If frameWidth() 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 font(). +widget's current font().

If indent is non-negative, the effective indent is indent pixels. -

See also indent(), setAlignment(), frameWidth() and font(). +

See also indent(), setAlignment(), frameWidth() and font().

Examples: movies/main.cpp

void TQLabel::setMovie ( const TQMovie & movie ) [virtual slot]

@@ -312,10 +312,10 @@ an explanation of the possible options.

Reimplemented for internal reasons; the API is not affected.

Examples: layout/layout.cpp -

Reimplemented from TQWidget. +

Reimplemented from TQWidget.

TQSizePolicy TQLabel::sizePolicy () const [virtual]

Reimplemented for internal reasons; the API is not affected. -

Reimplemented from TQWidget. +

Reimplemented from TQWidget.

TQString TQLabel::text () const

Returns the label text. If the content is a plain or a rich text, this is the string that was passed to setText(). Otherwise, it is an -- cgit v1.2.3