summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-12-28 17:10:19 (UTC)
committer cniehaus <cniehaus>2002-12-28 17:10:19 (UTC)
commit5d318b693ab687569051712f5079353ebcb6e659 (patch) (unidiff)
treefdc54cc31b83e23aaf5b59ac9d8131cf0c0bd158
parent6f71f59df05e634e59cd9ce44f785bd70429284a (diff)
downloadopie-5d318b693ab687569051712f5079353ebcb6e659.zip
opie-5d318b693ab687569051712f5079353ebcb6e659.tar.gz
opie-5d318b693ab687569051712f5079353ebcb6e659.tar.bz2
@@ -37,7 +37,7 @@ MainWindow :: MainWindow( QWidget *p, ch
showMaximized(); #endif - setCaption( "AQPkg - Package Manager" ); + setCaption( tr( "AQPkg - Package Manager" ) ); // Create our menu help = new QPopupMenu( this );
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mainwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp
index 3ddc582..5f0dabb 100644
--- a/noncore/settings/aqpkg/mainwin.cpp
+++ b/noncore/settings/aqpkg/mainwin.cpp
@@ -16,49 +16,49 @@
16 ***************************************************************************/ 16 ***************************************************************************/
17 17
18#include <iostream> 18#include <iostream>
19using namespace std; 19using namespace std;
20 20
21#include <qmenubar.h> 21#include <qmenubar.h>
22#include <qpopupmenu.h> 22#include <qpopupmenu.h>
23#include <qmessagebox.h> 23#include <qmessagebox.h>
24 24
25#include "mainwin.h" 25#include "mainwin.h"
26#include "datamgr.h" 26#include "datamgr.h"
27#include "networkpkgmgr.h" 27#include "networkpkgmgr.h"
28#include "settingsimpl.h" 28#include "settingsimpl.h"
29#include "helpwindow.h" 29#include "helpwindow.h"
30#include "utils.h" 30#include "utils.h"
31#include "global.h" 31#include "global.h"
32 32
33MainWindow :: MainWindow( QWidget *p, char *name ) 33MainWindow :: MainWindow( QWidget *p, char *name )
34 :QMainWindow( p, name ) 34 :QMainWindow( p, name )
35{ 35{
36#ifdef QWS 36#ifdef QWS
37 showMaximized(); 37 showMaximized();
38#endif 38#endif
39 39
40 setCaption( "AQPkg - Package Manager" ); 40 setCaption( tr( "AQPkg - Package Manager" ) );
41 41
42 // Create our menu 42 // Create our menu
43 help = new QPopupMenu( this ); 43 help = new QPopupMenu( this );
44 help->insertItem( "&General", this, SLOT(displayHelp()), Qt::CTRL+Qt::Key_G ); 44 help->insertItem( "&General", this, SLOT(displayHelp()), Qt::CTRL+Qt::Key_G );
45 help->insertItem( "&About", this, SLOT(displayAbout()), Qt::CTRL+Qt::Key_A ); 45 help->insertItem( "&About", this, SLOT(displayAbout()), Qt::CTRL+Qt::Key_A );
46 46
47 settings = new QPopupMenu( this ); 47 settings = new QPopupMenu( this );
48 settings->insertItem( "&Settings", this, SLOT(displaySettings()), Qt::CTRL+Qt::Key_S ); 48 settings->insertItem( "&Settings", this, SLOT(displaySettings()), Qt::CTRL+Qt::Key_S );
49 49
50 edit = new QPopupMenu( this ); 50 edit = new QPopupMenu( this );
51 edit->insertItem( "&Find", this, SLOT(searchForPackage()), Qt::CTRL+Qt::Key_I ); 51 edit->insertItem( "&Find", this, SLOT(searchForPackage()), Qt::CTRL+Qt::Key_I );
52 edit->insertItem( "Find &Next", this, SLOT(repeatSearchForPackage()), Qt::CTRL+Qt::Key_N ); 52 edit->insertItem( "Find &Next", this, SLOT(repeatSearchForPackage()), Qt::CTRL+Qt::Key_N );
53 53
54 filter = new QPopupMenu( this ); 54 filter = new QPopupMenu( this );
55 mnuShowUninstalledPkgsId = filter->insertItem( "Show &Non-Installed Packages", this, SLOT(filterUninstalledPackages()), Qt::CTRL+Qt::Key_U ); 55 mnuShowUninstalledPkgsId = filter->insertItem( "Show &Non-Installed Packages", this, SLOT(filterUninstalledPackages()), Qt::CTRL+Qt::Key_U );
56 mnuShowInstalledPkgsId = filter->insertItem( "Show In&stalled Packages", this, SLOT(filterInstalledPackages()), Qt::CTRL+Qt::Key_S ); 56 mnuShowInstalledPkgsId = filter->insertItem( "Show In&stalled Packages", this, SLOT(filterInstalledPackages()), Qt::CTRL+Qt::Key_S );
57 mnuShowUpgradedPkgsId = filter->insertItem( "Show U&pdated Packages", this, SLOT(filterUpgradedPackages()), Qt::CTRL+Qt::Key_P ); 57 mnuShowUpgradedPkgsId = filter->insertItem( "Show U&pdated Packages", this, SLOT(filterUpgradedPackages()), Qt::CTRL+Qt::Key_P );
58 filter->insertSeparator(); 58 filter->insertSeparator();
59 mnuFilterByCategory = filter->insertItem( "Filter By &Category", this, SLOT(filterCategory()), Qt::CTRL+Qt::Key_C ); 59 mnuFilterByCategory = filter->insertItem( "Filter By &Category", this, SLOT(filterCategory()), Qt::CTRL+Qt::Key_C );
60 mnuSetFilterCategory = filter->insertItem( "Set Filter C&ategory", this, SLOT(setFilterCategory()), Qt::CTRL+Qt::Key_A ); 60 mnuSetFilterCategory = filter->insertItem( "Set Filter C&ategory", this, SLOT(setFilterCategory()), Qt::CTRL+Qt::Key_A );
61 61
62 // Create the main menu 62 // Create the main menu
63 menu = menuBar(); //new QMenuBar( this ); 63 menu = menuBar(); //new QMenuBar( this );
64 menu->insertItem( "&Settings", settings ); 64 menu->insertItem( "&Settings", settings );