From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- examples/canvas/canvas.cpp | 2 +- examples/canvas/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/canvas') diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp index 0be872859..5dfd8e0ab 100644 --- a/examples/canvas/canvas.cpp +++ b/examples/canvas/canvas.cpp @@ -319,7 +319,7 @@ Main::Main(TQCanvas& c, TQWidget* parent, const char* name, WFlags f) : file->insertSeparator(); file->insertItem("&Print...", this, SLOT(print()), CTRL+Key_P); file->insertSeparator(); - file->insertItem("E&xit", qApp, SLOT(tquit()), CTRL+Key_Q); + file->insertItem("E&xit", qApp, SLOT(quit()), CTRL+Key_Q); menu->insertItem("&File", file); TQPopupMenu* edit = new TQPopupMenu( menu ); diff --git a/examples/canvas/main.cpp b/examples/canvas/main.cpp index 3666ae95a..65e8a5d02 100644 --- a/examples/canvas/main.cpp +++ b/examples/canvas/main.cpp @@ -36,7 +36,7 @@ int main(int argc, char** argv) else m.showMaximized(); - TQObject::connect( qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(tquit()) ); + TQObject::connect( qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()) ); return app.exec(); } -- cgit v1.2.1