Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (show 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 @@ -42,9 +42,8 @@ #include "categoryfilterimpl.h" #include "datamgr.h" #include "global.h" -#include "helpwindow.h" #include "inputdlg.h" #include "ipkg.h" #include "installdlgimpl.h" #include "letterpushbutton.h" @@ -203,20 +202,8 @@ MainWindow :: MainWindow() 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 ); @@ -353,15 +340,8 @@ void MainWindow :: displaySettings() } delete dlg; } -void MainWindow :: displayHelp() -{ - HelpWindow *dlg = new HelpWindow( this ); - dlg->exec(); - delete dlg; -} - void MainWindow :: displayFindBar() { findBar->show(); findEdit->setFocus(); @@ -392,13 +372,8 @@ 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 ) |