+
+ showCheckedItemsAction = new QAction(tr("&Show checked"), this);
+ showCheckedItemsAction->setCheckable(true);
+ connect(showCheckedItemsAction, SIGNAL(toggled(bool)),
+ activityView, SLOT(showChecked(bool)));
+ menuBar()->addAction(showCheckedItemsAction);
+
+ endShoppingAction = new QAction(tr("&End shopping"), this);
+ connect(endShoppingAction, SIGNAL(triggered()),
+ this, SLOT(showListManager()));
+ menuBar()->addAction(endShoppingAction);
+
+ menuBar()->addAction(aboutAction);