Cleanup includes and forward declarations in workspace.h

icc-effect-5.14.5
Martin Gräßlin 2013-04-25 15:47:40 +02:00
parent 03656a2abe
commit c094c7e7cd
1 changed files with 10 additions and 15 deletions

View File

@ -23,30 +23,25 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef KWIN_WORKSPACE_H #ifndef KWIN_WORKSPACE_H
#define KWIN_WORKSPACE_H #define KWIN_WORKSPACE_H
// kwin
#include <kdecoration.h>
#include "sm.h"
#include "utils.h"
// KDE
#include <KDE/NETRootInfo>
#include <KDE/KXMessages>
// Qt
#include <QTimer> #include <QTimer>
#include <QVector> #include <QVector>
#include <kshortcut.h> // X
#include <QCursor>
#include <netwm.h>
#include <kxmessages.h>
#include <QElapsedTimer>
#include <kmanagerselection.h>
// need to include utils.h before we use the ifdefs
#include "utils.h"
#include "kdecoration.h"
#include "sm.h"
#include <X11/Xlib.h> #include <X11/Xlib.h>
// TODO: Cleanup the order of things in this .h file // TODO: Cleanup the order of things in this .h file
class QMenu;
class QActionGroup;
class QStringList; class QStringList;
class KConfig; class KConfig;
class KActionCollection; class KActionCollection;
class KShortcut;
class KStartupInfo; class KStartupInfo;
class KStartupInfoId; class KStartupInfoId;
class KStartupInfoData; class KStartupInfoData;