From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- doc/html/movies-example.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/html/movies-example.html') diff --git a/doc/html/movies-example.html b/doc/html/movies-example.html index dd3967d87..0572b2d87 100644 --- a/doc/html/movies-example.html +++ b/doc/html/movies-example.html @@ -81,9 +81,9 @@ public: setBackgroundMode(NoBackground); // Get the movie to tell use when interesting things happen. - movie.connectUpdate(this, SLOT(movieUpdated(const TQRect&))); - movie.connectResize(this, SLOT(movieResized(const TQSize&))); - movie.connectStatus(this, SLOT(movieStatus(int))); + movie.connectUpdate(this, TQ_SLOT(movieUpdated(const TQRect&))); + movie.connectResize(this, TQ_SLOT(movieResized(const TQSize&))); + movie.connectStatus(this, TQ_SLOT(movieStatus(int))); setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding)); } @@ -245,13 +245,13 @@ public: TQHBox* hb = new TQHBox(this); TQPushButton* btn; btn = new TQPushButton("<<", hb); - connect(btn, SIGNAL(clicked()), movie, SLOT(restart())); + connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(restart())); btn = new TQPushButton("||", hb); - connect(btn, SIGNAL(clicked()), movie, SLOT(togglePause())); + connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(togglePause())); btn = new TQPushButton(">|", hb); - connect(btn, SIGNAL(clicked()), movie, SLOT(step())); + connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(step())); btn = new TQPushButton(">>|", hb); - connect(btn, SIGNAL(clicked()), movie, SLOT(step10())); + connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(step10())); } }; @@ -277,8 +277,8 @@ public slots: //behave as in getOpenFilename setMode( ExistingFile ); // When a file is selected, show it as a movie. - connect(this, SIGNAL(fileSelected(const TQString&)), - this, SLOT(startMovie(const TQString&))); + connect(this, TQ_SIGNAL(fileSelected(const TQString&)), + this, TQ_SLOT(startMovie(const TQString&))); } @@ -317,7 +317,7 @@ int main(int argc, char **argv) (void)new MovieScreen(argv[arg], TQMovie(argv[arg]), 0, 0, TQt::WDestructiveClose); } - TQObject::connect(tqApp, SIGNAL(lastWindowClosed()), tqApp, SLOT(quit())); + TQObject::connect(tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit())); } else { // "GUI" mode - open a chooser for movies // -- cgit v1.2.1