summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/mainwin.cpp
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mainwin.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp
index 0b5a5eb..3c72f2b 100644
--- a/noncore/settings/aqpkg/mainwin.cpp
+++ b/noncore/settings/aqpkg/mainwin.cpp
@@ -39,4 +39,5 @@ MainWindow :: MainWindow( QWidget *p, char *name )
39 // Create our menu 39 // Create our menu
40 QPopupMenu *help = new QPopupMenu( this ); 40 QPopupMenu *help = new QPopupMenu( this );
41
41 help->insertItem( "&General", this, SLOT(displayHelp()), Qt::CTRL+Qt::Key_H ); 42 help->insertItem( "&General", this, SLOT(displayHelp()), Qt::CTRL+Qt::Key_H );
42 help->insertItem( "&About", this, SLOT(displayAbout()), Qt::CTRL+Qt::Key_A ); 43 help->insertItem( "&About", this, SLOT(displayAbout()), Qt::CTRL+Qt::Key_A );
@@ -46,5 +47,6 @@ MainWindow :: MainWindow( QWidget *p, char *name )
46 47
47 QPopupMenu *edit = new QPopupMenu( this ); 48 QPopupMenu *edit = new QPopupMenu( this );
48 edit->insertItem( "&Search", this, SLOT(searchForPackage()), Qt::CTRL+Qt::Key_F ); 49 edit->insertItem( "&Find", this, SLOT(searchForPackage()), Qt::CTRL+Qt::Key_F );
50 edit->insertItem( "&Find Next", this, SLOT(repeatSearchForPackage()), Qt::CTRL+Qt::Key_R );
49 51
50 // Create the main menu 52 // Create the main menu
@@ -96,5 +98,10 @@ void MainWindow :: displayHelp()
96void MainWindow :: searchForPackage() 98void MainWindow :: searchForPackage()
97{ 99{
98 networkPkgWindow->searchForPackage(); 100 networkPkgWindow->searchForPackage( false );
101}
102
103void MainWindow :: repeatSearchForPackage()
104{
105 networkPkgWindow->searchForPackage( true );
99} 106}
100 107