Commit bed9b1cb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent 43a24f87
......@@ -26,7 +26,6 @@
#include <QX11Info>
#include <QDBusServiceWatcher>
#include <QDBusConnection>
#include <xcb/xcb_keysyms.h>
#define USED_MASK (XCB_MOD_MASK_SHIFT | XCB_MOD_MASK_CONTROL | XCB_MOD_MASK_1 | XCB_MOD_MASK_4)
......
......@@ -18,7 +18,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "enginemanager.h"
#include <QStringList>
#define THRESHOLD 256
......
......@@ -22,7 +22,6 @@
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <ibus.h>
#include <string>
#include <QByteArray>
#include <QPair>
......
......@@ -18,7 +18,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "propertymanager.h"
#include <QByteArray>
PropertyManager::PropertyManager() : m_props(nullptr)
{
......
......@@ -26,7 +26,6 @@
#include <QList>
#include <QMap>
#include <QString>
#include <QStringList>
#include <QVariant>
#include <QDBusServiceWatcher>
......
......@@ -21,7 +21,6 @@
#include "kimpanelplugin.h"
#include "screen.h"
#include "kimpanel.h"
#include <QQmlEngine>
void KimpanelPlugin::registerTypes(const char* uri)
{
......
......@@ -21,7 +21,6 @@
#include "pagerplugin.h"
#include "pagermodel.h"
#include <QQmlEngine>
void KickoffPlugin::registerTypes(const char *uri)
{
......
......@@ -20,7 +20,6 @@
#include "showdesktop.h"
// Qt
#include <QQmlEngine>
void ShowDesktopPlugin::registerTypes(const char *uri)
{
......
......@@ -30,7 +30,6 @@
#include <algorithm>
#include <notificationmanager/jobsmodel.h>
#include <notificationmanager/settings.h>
using namespace SmartLauncher;
......
......@@ -42,7 +42,6 @@
#include "smartlaunchers/smartlauncheritem.h"
#include <QAction>
#include <QQmlEngine>
void TaskManagerPlugin::registerTypes(const char *uri)
{
......
......@@ -29,7 +29,6 @@
#include <KDirLister>
#include <kio/previewjob.h>
#include <KIO/EmptyTrashJob>
#include <KImageCache>
DirModel::DirModel(QObject *parent)
: KDirModel(parent),
......
......@@ -20,7 +20,6 @@
#include "desktopplugin.h"
#include "infonotification.h"
#include <QQmlEngine>
void DesktopPlugin::registerTypes(const char *uri)
{
......
......@@ -51,7 +51,6 @@
#include <KFileCopyToMenu>
#include <KFileItemActions>
#include <KFileItemListProperties>
#include <KNewFileMenu>
#include <KIO/DeleteJob>
#include <KIO/EmptyTrashJob>
#include <KIO/FileUndoManager>
......@@ -65,7 +64,6 @@
#include <KShell>
#include <KCoreDirLister>
#include <KDirLister>
#include <KDesktopFile>
#include <KDirModel>
#include <KIO/CopyJob>
......
......@@ -33,7 +33,6 @@
#include <KConfigGroup>
#include <KDirWatch>
#include <KLocalizedString>
#include <KActivities/Consumer>
#define KWINDOWSYSTEM_NO_DEPRECATED
......
......@@ -26,7 +26,6 @@
// Qt
#include <QAction>
#include <QX11Info>
#include <QTimer>
#include <QDateTime>
#include <QDBusMessage>
#include <QDBusConnection>
......
......@@ -30,7 +30,6 @@
#include <QMessageBox>
#include <QDesktopWidget>
#include <QLabel>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QApplication>
......
......@@ -22,7 +22,6 @@
#include <QAction>
#include <QDialogButtonBox>
#include <QKeySequence>
#include <QPushButton>
#include <QQmlContext>
#include <QQmlEngine>
......
......@@ -34,7 +34,6 @@
#include <KLocalizedString>
#include <KOpenWithDialog>
#include <KPropertiesDialog>
#include <KService>
// FDO user autostart directories are
// .config/autostart which has .desktop files executed by klaunch
......
......@@ -30,14 +30,11 @@
#include <time.h>
#include <sys/types.h>
#include <QComboBox>
#include <QGroupBox>
#include <QPushButton>
#include <QPainter>
#include <QTimeEdit>
#include <QCheckBox>
#include <QPaintEvent>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>
......
......@@ -22,7 +22,6 @@
#include "caldialog.h"
#include "joydevice.h"
#include <QLabel>
#include <QTimer>
#include <QApplication>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment