Remove kapplication.h include from sm.h

Not needed in sm.h and pollutes the includes of most header files.
icc-effect-5.14.5
Martin Gräßlin 2013-08-06 10:27:49 +02:00
parent 8f94ee7d8f
commit 3d414b908a
6 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#include <QDesktopWidget>
#include <QApplication>
namespace KWin {

1
sm.cpp
View File

@ -33,6 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QSocketNotifier>
#include <QSessionManager>
#include <kdebug.h>
#include <KDE/KApplication>
namespace KWin
{

1
sm.h
View File

@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define KWIN_SM_H
#include <QDataStream>
#include <kapplication.h>
#include <ksessionmanager.h>
#include <netwm_def.h>
#include <QRect>

View File

@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "tabboxhandler.h"
#include "clientmodel.h"
// Qt
#include <QApplication>
#include <QtDeclarative/qdeclarative.h>
#include <QtDeclarative/QDeclarativeContext>
#include <QtDeclarative/QDeclarativeEngine>

View File

@ -61,6 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "xcbutils.h"
// KDE
#include <kdeversion.h>
#include <KDE/KApplication>
#include <KDE/KActionCollection>
#include <KDE/KCmdLineArgs>
#include <KDE/KConfig>

View File

@ -39,6 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class QStringList;
class KConfig;
class KConfigGroup;
class KActionCollection;
class KShortcut;
class KStartupInfo;