summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-10-01 00:06:58 (UTC)
committer ulf69 <ulf69>2004-10-01 00:06:58 (UTC)
commit11c2acda0533e579512cf416de870328a79e66e8 (patch) (unidiff)
treedbe9b846effe4896d3b30c940ebe75c004cea995
parentc14cd0801a854a6f6cc6abef70510646be50a61c (diff)
downloadkdepimpi-11c2acda0533e579512cf416de870328a79e66e8.zip
kdepimpi-11c2acda0533e579512cf416de870328a79e66e8.tar.gz
kdepimpi-11c2acda0533e579512cf416de870328a79e66e8.tar.bz2
this checkin does not work yet
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwm.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp
index bd07c80..cd56399 100644
--- a/pwmanager/pwmanager/pwm.cpp
+++ b/pwmanager/pwmanager/pwm.cpp
@@ -199,17 +199,19 @@ void PwM::initMenubar()
199 importPopup = new KPopupMenu(filePopup); 199 importPopup = new KPopupMenu(filePopup);
200 exportPopup = new KPopupMenu(filePopup); 200 exportPopup = new KPopupMenu(filePopup);
201 managePopup = new KPopupMenu(this); 201 managePopup = new KPopupMenu(this);
202#ifdef CONFIG_KEYCARD 202#ifdef CONFIG_KEYCARD
203 chipcardPopup = new KPopupMenu(this); 203 chipcardPopup = new KPopupMenu(this);
204#endif // CONFIG_KEYCARD 204#endif // CONFIG_KEYCARD
205 viewPopup = new KPopupMenu(this); 205 viewPopup = new KPopupMenu(this);
206 optionsPopup = new KPopupMenu(this); 206 optionsPopup = new KPopupMenu(this);
207 207#ifdef PWM_EMBEDDED
208 syncPopup = new KPopupMenu(this);
209#endif
208// "file" popup menu 210// "file" popup menu
209 filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)), 211 filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)),
210 i18n("&New"), this, 212 i18n("&New"), this,
211 SLOT(new_slot()), 0, BUTTON_POPUP_FILE_NEW); 213 SLOT(new_slot()), 0, BUTTON_POPUP_FILE_NEW);
212 filePopup->insertItem(QIconSet(picons->loadIcon("fileopen", KIcon::Small)), 214 filePopup->insertItem(QIconSet(picons->loadIcon("fileopen", KIcon::Small)),
213 i18n("&Open"), this, 215 i18n("&Open"), this,
214 SLOT(open_slot()), 0, BUTTON_POPUP_FILE_OPEN); 216 SLOT(open_slot()), 0, BUTTON_POPUP_FILE_OPEN);
215 filePopup->insertItem(QIconSet(picons->loadIcon("fileclose", KIcon::Small)), 217 filePopup->insertItem(QIconSet(picons->loadIcon("fileclose", KIcon::Small)),
@@ -322,16 +324,29 @@ void PwM::initMenubar()
322 i18n("&Configure..."), this, 324 i18n("&Configure..."), this,
323 SLOT(config_slot()), 325 SLOT(config_slot()),
324 BUTTON_POPUP_OPTIONS_CONFIG); 326 BUTTON_POPUP_OPTIONS_CONFIG);
325 menuBar()->insertItem(i18n("&Options"), optionsPopup); 327 menuBar()->insertItem(i18n("&Options"), optionsPopup);
326// "help" popup menu 328// "help" popup menu
327#ifndef PWM_EMBEDDED 329#ifndef PWM_EMBEDDED
328 helpPopup = helpMenu(QString::null, false); 330 helpPopup = helpMenu(QString::null, false);
329#else 331#else
332 Popup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)),
333 i18n("&Configure..."), this,
334 SLOT(config_slot()),
335 BUTTON_POPUP_OPTIONS_CONFIG);
336 connect ( syncMenu, SIGNAL( activated ( int ) ), this, SLOT (slotSyncMenu( int ) ) );
337 fillSyncMenu();
338
339 menuBar()->insertItem(i18n("&Syncronize"), syncPopup);
340
341
342
343
344
330 helpPopup = new KPopupMenu(this); 345 helpPopup = new KPopupMenu(this);
331 346
332 347
333 helpPopup->insertItem(i18n("&License"), this, 348 helpPopup->insertItem(i18n("&License"), this,
334 SLOT(showLicense_slot()), 0, 349 SLOT(showLicense_slot()), 0,
335 BUTTON_POPUP_HELP_LICENSE); 350 BUTTON_POPUP_HELP_LICENSE);
336 351
337 helpPopup->insertItem(i18n("&Faq"), this, 352 helpPopup->insertItem(i18n("&Faq"), this,