diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/movies/main.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/movies/main.cpp')
-rw-r--r-- | examples/movies/main.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/movies/main.cpp b/examples/movies/main.cpp index da2b0b9ed..3fa2ec737 100644 --- a/examples/movies/main.cpp +++ b/examples/movies/main.cpp @@ -40,9 +40,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)); } @@ -204,13 +204,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())); } }; @@ -236,8 +236,8 @@ MovieStarter::MovieStarter(const char *dir) //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&))); } @@ -276,7 +276,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 // |