[kwin] Fix includes of kde4support headers

* drop unused headers
* use QExplicitlySharedDataPointer instead of KSharedPointer
* drop KDE/ from includes
This commit is contained in:
Martin Gräßlin 2014-03-18 14:34:36 +01:00
parent ca6f3e329d
commit 18a37d7ee8
9 changed files with 6 additions and 14 deletions

View file

@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kconfiggroup.h>
#include <KLocalizedString>
#include <kdeversion.h>
#include <ksharedconfig.h>
#include <QDebug>

View file

@ -25,8 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "main.h"
#include "utils.h"
// KDE
#include <KDE/KConfig>
#include <KDE/KConfigGroup>
#include <KConfig>
#include <KConfigGroup>
#include <KSharedConfig>
// Qt
#include <QTimer>
// Xlib

View file

@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// KDE
#include <KConfigGroup>
#include <KDesktopFile>
#include <KIcon>
#include <KLocalizedString>
#include <KServiceTypeTrader>
#include <KPluginInfo>

View file

@ -18,8 +18,6 @@
#include "ruleslist.h"
#include <klistwidget.h>
#include <kpushbutton.h>
#include <assert.h>
#include <QDebug>
#include <kconfig.h>

View file

@ -19,11 +19,9 @@
#include "ruleswidget.h"
#include <klineedit.h>
#include <krestrictedline.h>
#include <kcombobox.h>
#include <kcolorschememanager.h>
#include <QCheckBox>
#include <kpushbutton.h>
#include <QFileInfo>
#include <QLabel>
#include <kwindowsystem.h>

View file

@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <KPluginFactory>
#include <KPluginInfo>
#include <KPluginLoader>
#include <KTabWidget>
#include <KTitleWidget>
#include <KServiceTypeTrader>
#include <KShortcutsEditor>

View file

@ -24,7 +24,7 @@ DEALINGS IN THE SOFTWARE.
#include <KMessageBox>
#include <KLocalizedString>
#include <KAuth/Action>
#include <KAuth/KAuthAction>
#include <QApplication>
#include <qcommandlineparser.h>
#include <QDebug>

View file

@ -27,7 +27,6 @@ DEALINGS IN THE SOFTWARE.
#include "kdecoration_plugins_p.h"
#include <kconfig.h>
#include <klocale.h>
#include <klibrary.h>
#include <KPluginFactory>
#include <KPluginLoader>

View file

@ -24,9 +24,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// KWin
#include <kwinglobals.h>
#include <kwineffects_export.h>
// KDE
#include <KSharedPtr>
// Qt
#include <QExplicitlySharedDataPointer>
#include <QRegion>
#include <QVector>
// XCB
@ -74,7 +73,7 @@ public:
operator xcb_render_picture_t();
private:
void fromImage(const QImage &img);
KSharedPtr< XRenderPictureData > d;
QExplicitlySharedDataPointer< XRenderPictureData > d;
};
class KWINEFFECTS_EXPORT XFixesRegion