diff options
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 |