/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#ifndef ACTIONCOLLECTION_H_
#define ACTIONCOLLECTION_H_
+#ifndef HAVE_KDE
+
#include <QDebug>
#include <QList>
#include <QMap>
int ActionCollection::count() const { return actions().count(); }
bool ActionCollection::isEmpty() const { return actions().count(); }
+#else /* HAVE_KDE */
+
+#include <KActionCollection>
+
+class ActionCollection : public KActionCollection {
+ Q_OBJECT
+
+ public:
+ explicit ActionCollection(QObject *parent) : KActionCollection(parent) {};
+
+};
+#endif
#endif