summaryrefslogtreecommitdiffstats
path: root/src/kernel/qaccel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /src/kernel/qaccel.cpp
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'src/kernel/qaccel.cpp')
-rw-r--r--src/kernel/qaccel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qaccel.cpp b/src/kernel/qaccel.cpp
index b761c7365..6c4dcde23 100644
--- a/src/kernel/qaccel.cpp
+++ b/src/kernel/qaccel.cpp
@@ -685,8 +685,8 @@ static int get_seq_id()
\code
TQAccel *a = new TQAccel( myWindow ); // create accels for myWindow
a->insertItem( CTRL + Key_P, 200 ); // Ctrl+P, e.g. to print document
- a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to tquit
- a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to tquit
+ a->insertItem( ALT + Key_X, 201 ); // Alt+X, e.g. to quit
+ a->insertItem( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to quit
a->insertItem( Key_D ); // gets a unique negative id < -1
a->insertItem( CTRL + SHIFT + Key_P ); // gets a unique negative id < -1
\endcode
@@ -781,7 +781,7 @@ void TQAccel::setItemEnabled( int id, bool enable )
receiver.
\code
- a->connectItem( 201, mainView, SLOT(tquit()) );
+ a->connectItem( 201, mainView, SLOT(quit()) );
\endcode
Of course, you can also send a signal as \a member.