From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- examples/demo/categoryinterface.h | 2 +- examples/demo/dnd/iconview.h | 2 +- examples/demo/opengl/glinfo.h | 2 +- examples/demo/opengl/glinfo_x11.cpp | 2 +- examples/demo/textdrawing/example.html | 14 +++++++------- examples/demo/textdrawing/helpwindow.h | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'examples/demo') diff --git a/examples/demo/categoryinterface.h b/examples/demo/categoryinterface.h index dd192559a..95a8afa78 100644 --- a/examples/demo/categoryinterface.h +++ b/examples/demo/categoryinterface.h @@ -1,7 +1,7 @@ #ifndef CATEGORYINTERFACE_H #define CATEGORYINTERFACE_H -#include +#include #include #include diff --git a/examples/demo/dnd/iconview.h b/examples/demo/dnd/iconview.h index 3a5ee29cd..94c0110d9 100644 --- a/examples/demo/dnd/iconview.h +++ b/examples/demo/dnd/iconview.h @@ -1,5 +1,5 @@ #include -#include +#include #include "dnd.h" diff --git a/examples/demo/opengl/glinfo.h b/examples/demo/opengl/glinfo.h index 109c88ceb..0e9c19c74 100644 --- a/examples/demo/opengl/glinfo.h +++ b/examples/demo/opengl/glinfo.h @@ -10,7 +10,7 @@ #ifndef GLINFO_H #define GLINFO_H -#include +#include class GLInfo { diff --git a/examples/demo/opengl/glinfo_x11.cpp b/examples/demo/opengl/glinfo_x11.cpp index e0a93a16c..88761f3f6 100644 --- a/examples/demo/opengl/glinfo_x11.cpp +++ b/examples/demo/opengl/glinfo_x11.cpp @@ -7,7 +7,7 @@ ** *****************************************************************************/ -#include +#include #include #include "glinfo.h" diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html index 0a5de383d..bb4eb99dd 100644 --- a/examples/demo/textdrawing/example.html +++ b/examples/demo/textdrawing/example.html @@ -72,7 +72,7 @@ various ways, and it can be used for specifying a focus accelerator key for another widget.

A TQLabel can contain any of the following content types:

    -
  • A plain text: set by passing a TQString to setText(). +
  • A plain text: set by passing a TQString to setText().
  • A rich text: set by passing a TQString that contains a rich text to setText().
  • A pixmap: set by passing a TQPixmap to setPixmap().
  • A movie: set by passing a TQMovie to setMovie(). @@ -115,7 +115,7 @@ 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 @@ -126,7 +126,7 @@ constructor.

    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. @@ -265,14 +265,14 @@ of num. Does nothing if this is equal to the current contents of the label. Any previous content is cleared.

    The buddy accelerator, if any, is disabled.

    The label resizes itself if auto-resizing is enabled. -

    See also setText(), TQString::setNum() and setBuddy(). +

    See also setText(), TQString::setNum() and setBuddy().

    void TQLabel::setNum ( int num ) [virtual slot]

    Sets the label contents to a plain text containing the printed value of num. Does nothing if this is equal to the current contents of the label. Any previous content is cleared.

    The buddy accelerator, if any, is disabled.

    The label resizes itself if auto-resizing is enabled. -

    See also setText(), TQString::setNum() and setBuddy(). +

    See also setText(), TQString::setNum() and setBuddy().

    void TQLabel::setPixmap ( const TQPixmap & pixmap ) [virtual slot]

    Sets the label contents to pixmap. Any previous content is cleared.

    The buddy accelerator, if any, is disabled. @@ -282,7 +282,7 @@ the label. Any previous content is cleared.

    When called with enable == TRUE, and the label shows a pixmap, it will scale the pixmap to fill available space.

    See also hasScaledContents(). -

    void TQLabel::setText ( const TQString & text ) [virtual slot]

    +

    void TQLabel::setText ( const TQString & text ) [virtual slot]

    Sets the label contents to text, or does nothing if text is equal to the current contents of the label. Any previous content is cleared. @@ -316,7 +316,7 @@ an explanation of the possible options.

    TQSizePolicy TQLabel::sizePolicy () const [virtual]

    Reimplemented for internal reasons; the API is not affected.

    Reimplemented from TQWidget. -

    TQString TQLabel::text () const

    +

    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 empty/null string. diff --git a/examples/demo/textdrawing/helpwindow.h b/examples/demo/textdrawing/helpwindow.h index 3ca7ce97e..9f05d001b 100644 --- a/examples/demo/textdrawing/helpwindow.h +++ b/examples/demo/textdrawing/helpwindow.h @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include -- cgit v1.2.1