diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /src/widgets/qmenudata.cpp | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'src/widgets/qmenudata.cpp')
-rw-r--r-- | src/widgets/qmenudata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/qmenudata.cpp b/src/widgets/qmenudata.cpp index 98aa064d1..34fedde74 100644 --- a/src/widgets/qmenudata.cpp +++ b/src/widgets/qmenudata.cpp @@ -351,7 +351,7 @@ void TQMenuData::removePopup( TQPopupMenu *popup ) pulldown menus into a menu bar. The number of insert functions may look confusing, but they are - actually tquite simple to use. + actually quite simple to use. This default version inserts a menu item with the text \a text, the accelerator key \a accel, an id and an optional index and @@ -905,7 +905,7 @@ TQKeySequence TQMenuData::accel( int id ) const fileMenu->insertItem( "Open Document", 67 ); // add "Open" item fileMenu->setAccel( CTRL + Key_O, 67 ); // Ctrl+O to open fileMenu->insertItem( "Quit", 69 ); // add "Quit" item - fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to tquit + fileMenu->setAccel( CTRL + ALT + Key_Delete, 69 ); // add Alt+Del to quit mainMenu->insertItem( "File", fileMenu ); // add the file menu \endcode |