+#else
+ (void)addToolBarAction(receiver, slot, iconName, title, true);
+ (void)addMenuAction(title, receiver, slot);
+#endif
+}
+
+void ListWindow::addItemButton(const QString &title, QObject *receiver,
+ const char *slot, const QString &iconName)
+{
+ TRACE;
+#if defined(Q_WS_MAEMO_5)
+ Q_UNUSED(title);
+ Q_UNUSED(receiver);
+ Q_UNUSED(slot);
+ Q_UNUSED(iconPath);
+#else
+ QAction *toolBarAction =
+ addToolBarAction(receiver, slot, iconName, title, true);
+ // QAction *menuAction = addMenuAction(title, receiver, slot);
+ // toolBarAction->setEnabled(false);
+ // menuAction->setEnabled(false);
+ itemActions.append(toolBarAction);
+ // itemActions.append(menuAction);