summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /src/kernel/qapplication.cpp
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
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