Remove not necessary QtCore and co

wilder
Laurent Montel 8 years ago
parent c735de2f13
commit f2e767a800
  1. 2
      autotests/bihash/benchmarks.cpp
  2. 2
      autotests/klinkitemselectionmodeltest.h
  3. 4
      autotests/proxymodeltestsuite/modeltest.cpp
  4. 6
      autotests/proxymodeltestsuite/modeltest.h
  5. 6
      src/kbihash_p.h
  6. 4
      src/kbreadcrumbselectionmodel.h
  7. 4
      src/kcheckableproxymodel.h
  8. 6
      src/kdescendantsproxymodel.cpp
  9. 2
      src/kdescendantsproxymodel.h
  10. 4
      src/klinkitemselectionmodel.h
  11. 4
      src/kmodelindexproxymapper.cpp
  12. 2
      src/kmodelindexproxymapper.h
  13. 2
      src/krecursivefilterproxymodel.h
  14. 6
      src/kselectionproxymodel.cpp
  15. 4
      src/kselectionproxymodel.h

@ -19,7 +19,7 @@
02110-1301, USA. 02110-1301, USA.
*/ */
#include <QtCore/QObject> #include <QObject>
#include <QtTest> #include <QtTest>
#define KBIHASH 1 #define KBIHASH 1

@ -19,7 +19,7 @@
#ifndef KLINKITEMSELECTIONMODELTEST_H #ifndef KLINKITEMSELECTIONMODELTEST_H
#define KLINKITEMSELECTIONMODELTEST_H #define KLINKITEMSELECTIONMODELTEST_H
#include <QtCore/QObject> #include <QObject>
class QItemSelectionModel; class QItemSelectionModel;
class QStandardItemModel; class QStandardItemModel;

@ -18,8 +18,8 @@
#include "modeltest.h" #include "modeltest.h"
#include <QtCore/QtCore> #include <QtCore>
#include <QtTest/QtTest> #include <QtTest>
/*! /*!
Connect to all of the models signals. Whenever anything happens recheck everything. Connect to all of the models signals. Whenever anything happens recheck everything.

@ -20,9 +20,9 @@
#ifndef MODELTEST_H #ifndef MODELTEST_H
#define MODELTEST_H #define MODELTEST_H
#include <QtCore/QObject> #include <QObject>
#include <QtCore/QAbstractItemModel> #include <QAbstractItemModel>
#include <QtCore/QStack> #include <QStack>
#include "proxymodeltestsuite_export.h" #include "proxymodeltestsuite_export.h"

@ -23,10 +23,10 @@
#ifndef KBIHASH_P_H #ifndef KBIHASH_P_H
#define KBIHASH_P_H #define KBIHASH_P_H
#include <QtCore/QHash> #include <QHash>
#include <QtCore/QMap> #include <QMap>
#include <QtCore/QDebug> #include <QDebug>
template<typename LeftContainer, typename RightContainer> template<typename LeftContainer, typename RightContainer>
class KBiAssociativeContainer; class KBiAssociativeContainer;

@ -22,8 +22,8 @@
#ifndef KBREADCRUMBSPROXYMODEL_H #ifndef KBREADCRUMBSPROXYMODEL_H
#define KBREADCRUMBSPROXYMODEL_H #define KBREADCRUMBSPROXYMODEL_H
#include <QtCore/QItemSelectionModel> #include <QItemSelectionModel>
#include <QtCore/QAbstractItemModel> #include <QAbstractItemModel>
#include "kitemmodels_export.h" #include "kitemmodels_export.h"

@ -21,8 +21,8 @@
#include "kitemmodels_export.h" #include "kitemmodels_export.h"
#include <QtCore/QItemSelection> #include <QItemSelection>
#include <QtCore/QIdentityProxyModel> #include <QIdentityProxyModel>
class KCheckableProxyModelPrivate; class KCheckableProxyModelPrivate;

@ -22,9 +22,9 @@
#include "kdescendantsproxymodel.h" #include "kdescendantsproxymodel.h"
#include <QtCore/QStringList> #include <QStringList>
#include <QtCore/QTimer> #include <QTimer>
#include <QtCore/QDebug> #include <QDebug>
#include "kbihash_p.h" #include "kbihash_p.h"

@ -20,7 +20,7 @@
#ifndef KDESCENDANTSPROXYMODEL_P_H #ifndef KDESCENDANTSPROXYMODEL_P_H
#define KDESCENDANTSPROXYMODEL_P_H #define KDESCENDANTSPROXYMODEL_P_H
#include <QtCore/QAbstractProxyModel> #include <QAbstractProxyModel>
class KDescendantsProxyModelPrivate; class KDescendantsProxyModelPrivate;

@ -24,8 +24,8 @@
#ifndef KLINKITEMSELECTIONMODEL_H #ifndef KLINKITEMSELECTIONMODEL_H
#define KLINKITEMSELECTIONMODEL_H #define KLINKITEMSELECTIONMODEL_H
#include <QtCore/QItemSelectionModel> #include <QItemSelectionModel>
#include <QtCore/QAbstractProxyModel> #include <QAbstractProxyModel>
#include "kitemmodels_export.h" #include "kitemmodels_export.h"

@ -24,8 +24,8 @@
#include "kmodelindexproxymapper.h" #include "kmodelindexproxymapper.h"
#include "kitemmodels_debug.h" #include "kitemmodels_debug.h"
#include <QtCore/QAbstractItemModel> #include <QAbstractItemModel>
#include <QtCore/QPointer> #include <QPointer>
#include <QAbstractProxyModel> #include <QAbstractProxyModel>
#include <QItemSelectionModel> #include <QItemSelectionModel>

@ -24,7 +24,7 @@
#ifndef KMODELINDEXPROXYMAPPER_H #ifndef KMODELINDEXPROXYMAPPER_H
#define KMODELINDEXPROXYMAPPER_H #define KMODELINDEXPROXYMAPPER_H
#include <QtCore/QObject> #include <QObject>
#include "kitemmodels_export.h" #include "kitemmodels_export.h"

@ -20,7 +20,7 @@
#ifndef KRECURSIVEFILTERPROXYMODEL_H #ifndef KRECURSIVEFILTERPROXYMODEL_H
#define KRECURSIVEFILTERPROXYMODEL_H #define KRECURSIVEFILTERPROXYMODEL_H
#include <QtCore/QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include "kitemmodels_export.h" #include "kitemmodels_export.h"

@ -21,9 +21,9 @@
#include "kselectionproxymodel.h" #include "kselectionproxymodel.h"
#include <QtCore/QStack> #include <QStack>
#include <QtCore/QStringList> #include <QStringList>
#include <QtCore/QPointer> #include <QPointer>
#include <QItemSelectionRange> #include <QItemSelectionRange>
#include "kmodelindexproxymapper.h" #include "kmodelindexproxymapper.h"

@ -20,8 +20,8 @@
#ifndef KSELECTIONPROXYMODEL_H #ifndef KSELECTIONPROXYMODEL_H
#define KSELECTIONPROXYMODEL_H #define KSELECTIONPROXYMODEL_H
#include <QtCore/QAbstractProxyModel> #include <QAbstractProxyModel>
#include <QtCore/QItemSelectionModel> #include <QItemSelectionModel>
#include "kitemmodels_export.h" #include "kitemmodels_export.h"

Loading…
Cancel
Save