diff -r 7d67be709091 -r cac93797c580 mainwindow.cpp --- a/mainwindow.cpp Tue Sep 08 12:15:39 2009 +0000 +++ b/mainwindow.cpp Wed Sep 09 12:57:06 2009 +0000 @@ -1478,6 +1478,7 @@ a = new QAction( "Test function 2" , this); a->setStatusTip( "Call test function 2" ); + a->setShortcut (Qt::SHIFT + Qt::Key_T); testMenu->addAction (a); connect( a, SIGNAL( triggered() ), this, SLOT( testFunction2() ) );