Remove kapplication.h include from sm.h
Not needed in sm.h and pollutes the includes of most header files.
This commit is contained in:
parent
8f94ee7d8f
commit
3d414b908a
6 changed files with 5 additions and 1 deletions
|
@ -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
1
sm.cpp
|
@ -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
1
sm.h
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue