-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index e489d2d..1a2ac37 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp | |||
@@ -75,49 +75,49 @@ MainWindow :: MainWindow() | |||
75 | connect( a, SIGNAL( activated() ), networkPkgWindow, SLOT( updateServer() ) ); | 75 | connect( a, SIGNAL( activated() ), networkPkgWindow, SLOT( updateServer() ) ); |
76 | a->addTo( popup ); | 76 | a->addTo( popup ); |
77 | a->addTo( bar ); | 77 | a->addTo( bar ); |
78 | 78 | ||
79 | actionUpgrade = new QAction( tr( "Upgrade" ), Resource::loadPixmap( "aqpkg/upgrade" ), QString::null, 0, this, 0 ); | 79 | actionUpgrade = new QAction( tr( "Upgrade" ), Resource::loadPixmap( "aqpkg/upgrade" ), QString::null, 0, this, 0 ); |
80 | actionUpgrade->setWhatsThis( tr( "Click here to upgrade all installed packages if a newer version is available." ) ); | 80 | actionUpgrade->setWhatsThis( tr( "Click here to upgrade all installed packages if a newer version is available." ) ); |
81 | connect( actionUpgrade, SIGNAL( activated() ), networkPkgWindow, SLOT( upgradePackages() ) ); | 81 | connect( actionUpgrade, SIGNAL( activated() ), networkPkgWindow, SLOT( upgradePackages() ) ); |
82 | actionUpgrade->addTo( popup ); | 82 | actionUpgrade->addTo( popup ); |
83 | actionUpgrade->addTo( bar ); | 83 | actionUpgrade->addTo( bar ); |
84 | 84 | ||
85 | iconDownload = Resource::loadPixmap( "aqpkg/download" ); | 85 | iconDownload = Resource::loadPixmap( "aqpkg/download" ); |
86 | iconRemove = Resource::loadPixmap( "aqpkg/remove" ); | 86 | iconRemove = Resource::loadPixmap( "aqpkg/remove" ); |
87 | actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); | 87 | actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); |
88 | actionDownload->setWhatsThis( tr( "Click here to download the currently selected package(s)." ) ); | 88 | actionDownload->setWhatsThis( tr( "Click here to download the currently selected package(s)." ) ); |
89 | connect( actionDownload, SIGNAL( activated() ), networkPkgWindow, SLOT( downloadPackage() ) ); | 89 | connect( actionDownload, SIGNAL( activated() ), networkPkgWindow, SLOT( downloadPackage() ) ); |
90 | actionDownload->addTo( popup ); | 90 | actionDownload->addTo( popup ); |
91 | actionDownload->addTo( bar ); | 91 | actionDownload->addTo( bar ); |
92 | 92 | ||
93 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "aqpkg/apply" ), QString::null, 0, this, 0 ); | 93 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "aqpkg/apply" ), QString::null, 0, this, 0 ); |
94 | a->setWhatsThis( tr( "Click here to install, remove or upgrade currently selected package(s)." ) ); | 94 | a->setWhatsThis( tr( "Click here to install, remove or upgrade currently selected package(s)." ) ); |
95 | connect( a, SIGNAL( activated() ), networkPkgWindow, SLOT( applyChanges() ) ); | 95 | connect( a, SIGNAL( activated() ), networkPkgWindow, SLOT( applyChanges() ) ); |
96 | a->addTo( popup ); | 96 | a->addTo( popup ); |
97 | a->addTo( bar ); | 97 | a->addTo( bar ); |
98 | 98 | ||
99 | mb->insertItem( tr( "Packages" ), popup ); | 99 | mb->insertItem( tr( "Actions" ), popup ); |
100 | 100 | ||
101 | // View menu | 101 | // View menu |
102 | popup = new QPopupMenu( this ); | 102 | popup = new QPopupMenu( this ); |
103 | 103 | ||
104 | actionUninstalled = new QAction( tr( "Show packages not installed" ), QString::null, 0, this, 0 ); | 104 | actionUninstalled = new QAction( tr( "Show packages not installed" ), QString::null, 0, this, 0 ); |
105 | actionUninstalled->setToggleAction( TRUE ); | 105 | actionUninstalled->setToggleAction( TRUE ); |
106 | actionUninstalled->setWhatsThis( tr( "Click here to show packages available which have not been installed." ) ); | 106 | actionUninstalled->setWhatsThis( tr( "Click here to show packages available which have not been installed." ) ); |
107 | connect( actionUninstalled, SIGNAL( activated() ), this, SLOT( filterUninstalledPackages() ) ); | 107 | connect( actionUninstalled, SIGNAL( activated() ), this, SLOT( filterUninstalledPackages() ) ); |
108 | actionUninstalled->addTo( popup ); | 108 | actionUninstalled->addTo( popup ); |
109 | 109 | ||
110 | actionInstalled = new QAction( tr( "Show installed packages" ), QString::null, 0, this, 0 ); | 110 | actionInstalled = new QAction( tr( "Show installed packages" ), QString::null, 0, this, 0 ); |
111 | actionInstalled->setToggleAction( TRUE ); | 111 | actionInstalled->setToggleAction( TRUE ); |
112 | actionInstalled->setWhatsThis( tr( "Click here to show packages currently installed on this device." ) ); | 112 | actionInstalled->setWhatsThis( tr( "Click here to show packages currently installed on this device." ) ); |
113 | connect( actionInstalled, SIGNAL( activated() ), this, SLOT( filterInstalledPackages() ) ); | 113 | connect( actionInstalled, SIGNAL( activated() ), this, SLOT( filterInstalledPackages() ) ); |
114 | actionInstalled->addTo( popup ); | 114 | actionInstalled->addTo( popup ); |
115 | 115 | ||
116 | actionUpdated = new QAction( tr( "Show updated packages" ), QString::null, 0, this, 0 ); | 116 | actionUpdated = new QAction( tr( "Show updated packages" ), QString::null, 0, this, 0 ); |
117 | actionUpdated->setToggleAction( TRUE ); | 117 | actionUpdated->setToggleAction( TRUE ); |
118 | actionUpdated->setWhatsThis( tr( "Click here to show packages currently installed on this device which have a newer version available." ) ); | 118 | actionUpdated->setWhatsThis( tr( "Click here to show packages currently installed on this device which have a newer version available." ) ); |
119 | connect( actionUpdated, SIGNAL( activated() ), this, SLOT( filterUpgradedPackages() ) ); | 119 | connect( actionUpdated, SIGNAL( activated() ), this, SLOT( filterUpgradedPackages() ) ); |
120 | actionUpdated->addTo( popup ); | 120 | actionUpdated->addTo( popup ); |
121 | 121 | ||
122 | popup->insertSeparator(); | 122 | popup->insertSeparator(); |
123 | 123 | ||