author | andyq <andyq> | 2002-11-03 01:19:52 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-11-03 01:19:52 (UTC) |
commit | 485fae36510cb42690c9df55fae64312b1e656ae (patch) (side-by-side diff) | |
tree | a629829c2fdee60af78cb78184f4d6c27f384c89 /noncore/settings/aqpkg/mainwin.cpp | |
parent | d04882e254eb91aa26fb46bf49c438d12fcda862 (diff) | |
download | opie-485fae36510cb42690c9df55fae64312b1e656ae.zip opie-485fae36510cb42690c9df55fae64312b1e656ae.tar.gz opie-485fae36510cb42690c9df55fae64312b1e656ae.tar.bz2 |
Added search for package feature
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index 9f19dfa..0b5a5eb 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp @@ -46,2 +46,5 @@ MainWindow :: MainWindow( QWidget *p, char *name ) + QPopupMenu *edit = new QPopupMenu( this );
+ edit->insertItem( "&Search", this, SLOT(searchForPackage()), Qt::CTRL+Qt::Key_F );
+
// Create the main menu
@@ -49,2 +52,3 @@ MainWindow :: MainWindow( QWidget *p, char *name ) menu->insertItem( "&Settings", settings );
+ menu->insertItem( "&Edit", edit );
menu->insertItem( "&Help", help );
@@ -91,2 +95,7 @@ void MainWindow :: displayHelp() +void MainWindow :: searchForPackage()
+{
+ networkPkgWindow->searchForPackage();
+}
+
void MainWindow :: displayAbout()
|