projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added missing macros
[quassel.git]
/
src
/
core
/
coreapplication.h
diff --git
a/src/core/coreapplication.h
b/src/core/coreapplication.h
index
07fa582
..
517fd25
100644
(file)
--- a/
src/core/coreapplication.h
+++ b/
src/core/coreapplication.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8 by the Quassel IRC Team
*
+ * 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 *
@@
-21,7
+21,11
@@
#ifndef COREAPPLICATION_H_
#define COREAPPLICATION_H_
#ifndef COREAPPLICATION_H_
#define COREAPPLICATION_H_
-#include <QCoreApplication>
+#ifdef HAVE_KDE
+# include <KApplication>
+#else
+# include <QCoreApplication>
+#endif
#include "quassel.h"
#include "quassel.h"
@@
-36,12
+40,13
@@
class CoreApplicationInternal {
~CoreApplicationInternal();
bool init();
~CoreApplicationInternal();
bool init();
-
+
private:
bool _coreCreated;
};
class CoreApplication : public QCoreApplication, public Quassel {
private:
bool _coreCreated;
};
class CoreApplication : public QCoreApplication, public Quassel {
+
Q_OBJECT
public:
CoreApplication(int &argc, char **argv);
Q_OBJECT
public:
CoreApplication(int &argc, char **argv);