Cleanup of includes in utils.h

* removed unneeded includes
* reordered
* camel case

REVIEW: 110188
icc-effect-5.14.5
Martin Gräßlin 2013-04-25 16:54:12 +02:00
parent 929ba0d9c8
commit 22ecba3b7d
3 changed files with 18 additions and 18 deletions

View File

@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "utils.h" #include "utils.h"
#include "tabbox/tabboxhandler.h" #include "tabbox/tabboxhandler.h"
class KActionCollection;
class QKeyEvent; class QKeyEvent;
namespace KWin namespace KWin

View File

@ -30,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kxerrorhandler.h> #include <kxerrorhandler.h>
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <KDE/KKeySequenceWidget>
#ifndef KCMRULES #ifndef KCMRULES
#include <QLabel> #include <QLabel>

34
utils.h
View File

@ -22,29 +22,27 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef KWIN_UTILS_H #ifndef KWIN_UTILS_H
#define KWIN_UTILS_H #define KWIN_UTILS_H
class QLabel; // cmake stuff
#include <config-X11.h> #include <config-X11.h>
#include <config-kwin.h> #include <config-kwin.h>
#include <kwinconfig.h> #include <kwinconfig.h>
// kwin
#include <X11/Xlib.h>
#include <fixx11h.h>
#include <QWidget>
#include <QScopedPointer>
#include <kmanagerselection.h>
#include <netwm_def.h>
#include <kkeysequencewidget.h>
#include <limits.h>
#include <kdialog.h>
#include <kwinglobals.h> #include <kwinglobals.h>
// KDE
#include <KDE/KDialog>
#include <KDE/NET>
#include <KDE/KSelectionWatcher>
// Qt
#include <QScopedPointer>
// X
#include <X11/Xlib.h>
#include <fixx11h.h>
// system
#include <limits.h>
// needed by the DBUS interface // forward declarations
Q_DECLARE_METATYPE(QList<int>) class KKeySequenceWidget;
class QLabel;
namespace KWin namespace KWin
{ {