author | drw <drw> | 2003-03-04 01:15:19 (UTC) |
---|---|---|
committer | drw <drw> | 2003-03-04 01:15:19 (UTC) |
commit | 7cf53b4030437bdbd405b8b16684ba9f68e2891d (patch) (side-by-side diff) | |
tree | 5dd4474a127422a837f886b83947ab494806225e /noncore/settings/aqpkg/mainwin.cpp | |
parent | c0045eaf96fc06316bfab1ac2f5c4fade050c088 (diff) | |
download | opie-7cf53b4030437bdbd405b8b16684ba9f68e2891d.zip opie-7cf53b4030437bdbd405b8b16684ba9f68e2891d.tar.gz opie-7cf53b4030437bdbd405b8b16684ba9f68e2891d.tar.bz2 |
Remove AQPkg's own help window, use standard help system
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index 8ae5815..392d04d 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp @@ -38,17 +38,16 @@ #include <qprogressbar.h> #include <qtimer.h> #include <qwhatsthis.h> #include <qwidgetstack.h> #include "categoryfilterimpl.h" #include "datamgr.h" #include "global.h" -#include "helpwindow.h" #include "inputdlg.h" #include "ipkg.h" #include "installdlgimpl.h" #include "letterpushbutton.h" #include "mainwin.h" #include "settingsimpl.h" #include "utils.h" @@ -199,28 +198,16 @@ MainWindow :: MainWindow() // Options menu popup = new QPopupMenu( this ); a = new QAction( tr( "Configure" ), Resource::loadPixmap( "aqpkg/config" ), QString::null, 0, this, 0 ); a->setWhatsThis( tr( "Click here to configure this application." ) ); connect( a, SIGNAL( activated() ), this, SLOT( displaySettings() ) ); a->addTo( popup ); - popup->insertSeparator(); - - a = new QAction( tr( "Help" ), Resource::loadPixmap( "help_icon" ), QString::null, 0, this, 0 ); - a->setWhatsThis( tr( "Click here for help." ) ); - connect( a, SIGNAL( activated() ), this, SLOT( displayHelp() ) ); - a->addTo( popup ); - - a = new QAction( tr( "About" ), Resource::loadPixmap( "UtilsIcon" ), QString::null, 0, this, 0 ); - a->setWhatsThis( tr( "Click here for software version information." ) ); - connect( a, SIGNAL( activated() ), this, SLOT( displayAbout() ) ); - a->addTo( popup ); - mb->insertItem( tr( "Options" ), popup ); // Finish find toolbar creation a = new QAction( QString::null, Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); a->setWhatsThis( tr( "Click here to hide the find toolbar." ) ); connect( a, SIGNAL( activated() ), this, SLOT( hideFindBar() ) ); a->addTo( findBar ); findBar->hide(); @@ -348,23 +335,16 @@ void MainWindow :: displaySettings() if ( dlg->showDlg() ) { stack->raiseWidget( progressWindow ); updateData(); stack->raiseWidget( networkPkgWindow ); } delete dlg; } - -void MainWindow :: displayHelp() -{ - HelpWindow *dlg = new HelpWindow( this ); - dlg->exec(); - delete dlg; -} void MainWindow :: displayFindBar() { findBar->show(); findEdit->setFocus(); } void MainWindow :: displayJumpBar() @@ -388,21 +368,16 @@ void MainWindow :: hideFindBar() findBar->hide(); } void MainWindow :: hideJumpBar() { jumpBar->hide(); } -void MainWindow :: displayAbout() -{ - QMessageBox::about( this, tr( "About AQPkg" ), tr( VERSION_TEXT ) ); -} - void MainWindow :: filterUninstalledPackages() { showUninstalledPkgs = actionUninstalled->isOn(); if ( showUninstalledPkgs ) { showInstalledPkgs = FALSE; showUpgradedPkgs = FALSE; } |