summaryrefslogtreecommitdiffstats
path: root/examples/movies
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-14 22:33:41 -0600
committerTimothy Pearson <[email protected]>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/movies
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/movies')
-rw-r--r--examples/movies/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/movies/main.cpp b/examples/movies/main.cpp
index 5aaea565f..abb1cf0b5 100644
--- a/examples/movies/main.cpp
+++ b/examples/movies/main.cpp
@@ -225,7 +225,7 @@ public:
public slots:
void startMovie(const TQString& filename);
// TQDialog's method - normally closes the file dialog.
- // We want it left open, and we want Cancel to tquit everything.
+ // We want it left open, and we want Cancel to quit everything.
void done( int r );
};
@@ -251,7 +251,7 @@ void MovieStarter::startMovie(const TQString& filename)
void MovieStarter::done( int r )
{
if (r != Accepted)
- qApp->tquit(); // end on Cancel
+ qApp->quit(); // end on Cancel
setResult( r );
// And don't hide.
@@ -276,7 +276,7 @@ int main(int argc, char **argv)
(void)new MovieScreen(argv[arg], TQMovie(argv[arg]), 0, 0,
TQt::WDestructiveClose);
}
- TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit()));
+ TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()));
} else {
// "GUI" mode - open a chooser for movies
//