summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qapplication.cpp')
-rw-r--r--src/kernel/qapplication.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp
index d67b34dd0..68e81d0f9 100644
--- a/src/kernel/qapplication.cpp
+++ b/src/kernel/qapplication.cpp
@@ -2318,7 +2318,7 @@ TQFontMetrics TQApplication::fontMetrics()
Example:
\code
TQPushButton *quitButton = new TQPushButton( "Quit" );
- connect( quitButton, SIGNAL(clicked()), tqApp, SLOT(quit()) );
+ connect( quitButton, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit()) );
\endcode
\sa exit() aboutToQuit() lastWindowClosed() TQAction
@@ -2340,10 +2340,10 @@ void TQApplication::quit()
\code
// the "Quit" menu entry should try to close all windows
TQPopupMenu* file = new TQPopupMenu( this );
- file->insertItem( "&Quit", tqApp, SLOT(closeAllWindows()), CTRL+Key_Q );
+ file->insertItem( "&Quit", tqApp, TQ_SLOT(closeAllWindows()), CTRL+Key_Q );
// when the last window is closed, the application should quit
- connect( tqApp, SIGNAL( lastWindowClosed() ), tqApp, SLOT( quit() ) );
+ connect( tqApp, TQ_SIGNAL( lastWindowClosed() ), tqApp, TQ_SLOT( quit() ) );
\endcode
The windows are closed in random order, until one window does not