+
+Action::Action(const QIcon &icon, const QString &text, QObject *parent, const QObject *receiver, const char *slot, const QKeySequence &shortcut)
+#ifdef HAVE_KDE
+ : KAction(parent)
+#else
+ : QWidgetAction(parent)
+#endif
+{
+ init();
+ setIcon(icon);
+ setText(text);
+ setShortcut(shortcut);
+ if (receiver && slot)
+ connect(this, SIGNAL(triggered()), receiver, slot);