From a30f5359f03c3017fa19a6770fab32d25d22cb87 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 15 Jul 2024 19:08:22 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 1) Signed-off-by: Michele Calgaro --- examples/demo/display.cpp | 2 +- examples/demo/dnd/styledbutton.cpp | 4 ++-- examples/demo/frame.cpp | 2 +- examples/demo/main.cpp | 2 +- examples/demo/opengl/glinfotext.h | 2 +- examples/demo/opengl/glworkspace.cpp | 2 +- examples/demo/qasteroids/ledmeter.cpp | 2 +- examples/demo/qthumbwheel.cpp | 2 +- examples/demo/textdrawing/example.html | 18 +++++++++--------- examples/demo/textdrawing/helpwindow.cpp | 4 ++-- examples/demo/textdrawing/textedit.cpp | 8 ++++---- 11 files changed, 24 insertions(+), 24 deletions(-) (limited to 'examples/demo') diff --git a/examples/demo/display.cpp b/examples/demo/display.cpp index 588aeaeab..131a69ae2 100644 --- a/examples/demo/display.cpp +++ b/examples/demo/display.cpp @@ -9,7 +9,7 @@ #include "display.h" -#include +#include #include #include #include diff --git a/examples/demo/dnd/styledbutton.cpp b/examples/demo/dnd/styledbutton.cpp index ec377d030..1a884704d 100644 --- a/examples/demo/dnd/styledbutton.cpp +++ b/examples/demo/dnd/styledbutton.cpp @@ -33,10 +33,10 @@ #include "styledbutton.h" -#include +#include #include #include -#include +#include #include #include #include diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp index 9115dda5f..95b4b2c63 100644 --- a/examples/demo/frame.cpp +++ b/examples/demo/frame.cpp @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/demo/main.cpp b/examples/demo/main.cpp index 892e18dc5..7bccb89ad 100644 --- a/examples/demo/main.cpp +++ b/examples/demo/main.cpp @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include diff --git a/examples/demo/opengl/glinfotext.h b/examples/demo/opengl/glinfotext.h index 833a3dd3a..f5b6b3a49 100644 --- a/examples/demo/opengl/glinfotext.h +++ b/examples/demo/opengl/glinfotext.h @@ -1,6 +1,6 @@ #include #include -#include +#include #include "glinfo.h" class GLInfoText : public TQWidget diff --git a/examples/demo/opengl/glworkspace.cpp b/examples/demo/opengl/glworkspace.cpp index 80d37b460..ec2a6b138 100644 --- a/examples/demo/opengl/glworkspace.cpp +++ b/examples/demo/opengl/glworkspace.cpp @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/demo/qasteroids/ledmeter.cpp b/examples/demo/qasteroids/ledmeter.cpp index 5329d7ca8..a1cfb70d1 100644 --- a/examples/demo/qasteroids/ledmeter.cpp +++ b/examples/demo/qasteroids/ledmeter.cpp @@ -4,7 +4,7 @@ * Part of the KDE project */ -#include +#include #include "ledmeter.h" KALedMeter::KALedMeter( TQWidget *parent ) : TQFrame( parent ) diff --git a/examples/demo/qthumbwheel.cpp b/examples/demo/qthumbwheel.cpp index 984aa1f43..aba1fc4ee 100644 --- a/examples/demo/qthumbwheel.cpp +++ b/examples/demo/qthumbwheel.cpp @@ -41,7 +41,7 @@ #include "qthumbwheel.h" #ifndef TQT_NO_THUMBWHEEL -#include +#include #include #include #include diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html index 639b7470d..3f215fd53 100644 --- a/examples/demo/textdrawing/example.html +++ b/examples/demo/textdrawing/example.html @@ -48,8 +48,8 @@ Inherits TQFrame.

Protected Members

Properties

@@ -75,7 +75,7 @@ key for another widget.
  • 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(). +
  • A movie: set by passing a TQMovie to setMovie().
  • A number: set by passing an int or a double to setNum(), which converts the number to plain text.
  • Nothing: The same as an empty plain text. This is the default. Set by clear(). @@ -103,7 +103,7 @@ the other widget (called the TQLabel's "buddy"). Example: (the TQLineEdit) when the user presses Alt-P. You can also use the setBuddy() function to accomplish the same.

    -

    See also TQLineEdit, TQTextView, TQPixmap, TQMovie and GUI Design Handbook: Label +

    See also TQLineEdit, TQTextView, TQPixmap, TQMovie and GUI Design Handbook: Label

    Examples: cursor/cursor.cpp layout/layout.cpp @@ -147,15 +147,15 @@ is disabled.

    See also setBuddy().

    void TQLabel::clear () [slot]

    Clears any label contents. Equivalent with setText( "" ). -

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

    +

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

    Draws the label contents using the painter p.

    Reimplemented from TQFrame. -

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

    +

    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();.

    Reimplemented from TQFrame. -

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

    +

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

    Reimplemented for internal reasons; the API is not affected.

    Reimplemented from TQWidget.

    bool TQLabel::hasScaledContents () const

    @@ -171,7 +171,7 @@ available space.

    TQSize TQLabel::minimumSizeHint () const [virtual]

    Reimplemented for internal reasons; the API is not affected.

    Reimplemented from TQWidget. -

    TQMovieTQLabel::movie () const

    +

    TQMovieTQLabel::movie () const

    If the label contains a movie, returns a pointer to it. Otherwise, returns 0.

    See also setMovie(). @@ -254,7 +254,7 @@ pixels.

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

    Examples: movies/main.cpp -

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

    +

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

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

    The buddy accelerator, if any, is disabled.

    The label resizes itself if auto-resizing is enabled. diff --git a/examples/demo/textdrawing/helpwindow.cpp b/examples/demo/textdrawing/helpwindow.cpp index 713f08c78..13a538882 100644 --- a/examples/demo/textdrawing/helpwindow.cpp +++ b/examples/demo/textdrawing/helpwindow.cpp @@ -30,8 +30,8 @@ #include #include #include -#include -#include +#include +#include #include diff --git a/examples/demo/textdrawing/textedit.cpp b/examples/demo/textdrawing/textedit.cpp index 69d6e4435..80c40e9e7 100644 --- a/examples/demo/textdrawing/textedit.cpp +++ b/examples/demo/textdrawing/textedit.cpp @@ -16,17 +16,17 @@ #include #include #include -#include +#include #include #include #include #include #include #include -#include +#include #include -#include -#include +#include +#include TextEdit::TextEdit( TQWidget *parent, const char *name ) : TQMainWindow( parent, name, 0 ) -- cgit v1.2.3