summaryrefslogtreecommitdiffabout
path: root/pwmanager
authorulf69 <ulf69>2004-10-01 00:06:58 (UTC)
committer ulf69 <ulf69>2004-10-01 00:06:58 (UTC)
commit11c2acda0533e579512cf416de870328a79e66e8 (patch) (side-by-side diff)
treedbe9b846effe4896d3b30c940ebe75c004cea995 /pwmanager
parentc14cd0801a854a6f6cc6abef70510646be50a61c (diff)
downloadkdepimpi-11c2acda0533e579512cf416de870328a79e66e8.zip
kdepimpi-11c2acda0533e579512cf416de870328a79e66e8.tar.gz
kdepimpi-11c2acda0533e579512cf416de870328a79e66e8.tar.bz2
this checkin does not work yet
Diffstat (limited to 'pwmanager') (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
@@ -201,13 +201,15 @@ void PwM::initMenubar()
managePopup = new KPopupMenu(this);
#ifdef CONFIG_KEYCARD
chipcardPopup = new KPopupMenu(this);
#endif // CONFIG_KEYCARD
viewPopup = new KPopupMenu(this);
optionsPopup = new KPopupMenu(this);
-
+#ifdef PWM_EMBEDDED
+ syncPopup = new KPopupMenu(this);
+#endif
// "file" popup menu
filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)),
i18n("&New"), this,
SLOT(new_slot()), 0, BUTTON_POPUP_FILE_NEW);
filePopup->insertItem(QIconSet(picons->loadIcon("fileopen", KIcon::Small)),
i18n("&Open"), this,
@@ -324,12 +326,25 @@ void PwM::initMenubar()
BUTTON_POPUP_OPTIONS_CONFIG);
menuBar()->insertItem(i18n("&Options"), optionsPopup);
// "help" popup menu
#ifndef PWM_EMBEDDED
helpPopup = helpMenu(QString::null, false);
#else
+ Popup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)),
+ i18n("&Configure..."), this,
+ SLOT(config_slot()),
+ BUTTON_POPUP_OPTIONS_CONFIG);
+ connect ( syncMenu, SIGNAL( activated ( int ) ), this, SLOT (slotSyncMenu( int ) ) );
+ fillSyncMenu();
+
+ menuBar()->insertItem(i18n("&Syncronize"), syncPopup);
+
+
+
+
+
helpPopup = new KPopupMenu(this);
helpPopup->insertItem(i18n("&License"), this,
SLOT(showLicense_slot()), 0,
BUTTON_POPUP_HELP_LICENSE);