projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update db path for manageusers.py
[quassel.git]
/
src
/
uisupport
/
actioncollection.h
diff --git
a/src/uisupport/actioncollection.h
b/src/uisupport/actioncollection.h
index
c03daef
..
ced9249
100644
(file)
--- a/
src/uisupport/actioncollection.h
+++ b/
src/uisupport/actioncollection.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8
by the Quassel Project *
+ * Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-23,6
+23,8
@@
#ifndef ACTIONCOLLECTION_H_
#define ACTIONCOLLECTION_H_
#ifndef ACTIONCOLLECTION_H_
#define ACTIONCOLLECTION_H_
+#ifndef HAVE_KDE
+
#include <QDebug>
#include <QList>
#include <QMap>
#include <QDebug>
#include <QList>
#include <QMap>
@@
-113,5
+115,17
@@
class ActionCollection : public QObject {
int ActionCollection::count() const { return actions().count(); }
bool ActionCollection::isEmpty() const { return actions().count(); }
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
#endif