Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Include own header first

--krazy
parent eb8e3d6b
......@@ -18,9 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
#include "driver_p.h"
#include <kdebug.h>
#include <klocale.h>
#include "driver_p.h"
using namespace KexiDB;
......
......@@ -17,14 +17,14 @@
* Boston, MA 02110-1301, USA.
*/
#include <QDir>
#include "sqliteadmin.h"
#include <db/drivermanager.h>
#include <db/driver_p.h>
#include "sqlitevacuum.h"
#include <QDir>
SQLiteAdminTools::SQLiteAdminTools()
: KexiDB::AdminTools()
{
......
......@@ -17,6 +17,8 @@
* Boston, MA 02110-1301, USA.
*/
#include "sqlitedriver.h"
#include <db/connection.h>
#include <db/drivermanager.h>
#include <db/driver_p.h>
......@@ -24,7 +26,6 @@
#include <db/pluginloader.h>
#include "sqlite3.h"
#include "sqlitedriver.h"
#include "sqliteconnection.h"
#include "sqliteconnection_p.h"
#include "sqliteadmin.h"
......
......@@ -17,9 +17,10 @@
* Boston, MA 02110-1301, USA.
*/
#include <db/utils.h>
#include "sqlitevacuum.h"
#include <db/utils.h>
#include <kstandarddirs.h>
#include <kprogressdialog.h>
#include <kdebug.h>
......
......@@ -18,12 +18,13 @@
* Boston, MA 02110-1301, USA.
*/
#include <connection.h>
#include <tableschema.h>
#include "parser.h"
#include "parser_p.h"
#include "sqlparser.h"
#include <connection.h>
#include <tableschema.h>
/*moved to Driver
#include "tokens.cpp"
K_GLOBAL_STATIC_WITH_ARGS(StaticSetOfStrings, _reservedKeywords, (_tokens))
......
......@@ -18,13 +18,14 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include "KoColor.h"
#include <QColor>
#include <QDomDocument>
#include "DebugPigment.h"
#include "KoColor.h"
#include "KoColorModelStandardIds.h"
#include "KoColorProfile.h"
......
......@@ -17,12 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "KoColorConversions.h"
#include <cmath>
#include <QtGlobal>
#include "KoColorConversions.h"
/**
* A number of often-used conversions between color models
*/
......
......@@ -17,12 +17,12 @@
* Boston, MA 02110-1301, USA.
*/
#include <KoColorSpaceMaths.h>
#include <cfloat>
#include <QtGlobal>
#include <KoColorSpaceMaths.h>
#ifdef HAVE_OPENEXR
const half KoColorSpaceMathsTraits<half>::zeroValue = 0.0;
const half KoColorSpaceMathsTraits<half>::unitValue = 1.0;
......
......@@ -17,11 +17,12 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoCompositeOp.h"
#include <klocale.h>
#include <KoID.h>
#include <QList>
#include "KoCompositeOp.h"
#include "KoColorSpace.h"
#include "KoColorSpaceMaths.h"
......
......@@ -16,13 +16,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "KoHistogramProducer.h"
#include <QList>
#include <kglobal.h>
#include <KoID.h>
#include "KoHistogramProducer.h"
#include "KoBasicHistogramProducers.h"
#include "KoColorSpace.h"
......
......@@ -16,9 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <qtest_kde.h>
#include "KoCompositeOpsBenchmark.h"
#include "../compositeops/KoCompositeOpAlphaDarken.h"
#include "../compositeops/KoCompositeOpOver.h"
#include <KoOptimizedCompositeOpFactory.h>
......@@ -26,6 +25,8 @@
#include <KoColorSpaceTraits.h>
#include <KoColorSpaceRegistry.h>
#include <qtest_kde.h>
const int TILE_WIDTH = 64;
const int TILE_HEIGHT = 64;
......
......@@ -17,12 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "KoColorModelStandardIds.h"
#include <qtest_kde.h>
#include <kdebug.h>
#include <string.h>
#include "KoColorModelStandardIds.h"
#include "KoColor.h"
#include "KoColorSpace.h"
#include "KoColorSpaceRegistry.h"
......
#include <qtest_kde.h>
#include "TestFallBackColorTransformation.h"
#include "KoColorTransformation.h"
#include <KoFallBackColorTransformation.h>
#include <KoColorSpaceRegistry.h>
#include <qtest_kde.h>
struct KoDummyColorTransformation : public KoColorTransformation
{
KoDummyColorTransformation()
......
#include <cfloat>
#include "TestKoColorSpaceAbstract.h"
#include "KoColorSpaceAbstract.h"
#include "KoColorSpaceTraits.h"
#include <cfloat>
template <class T>
T mixOpExpectedAlpha(T alpha1, T alpha2, const qint16 *weights)
{
......
......@@ -16,11 +16,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <qtest_kde.h>
#include "TestKoIntegerMaths.h"
#include "KoIntegerMaths.h"
#include <qtest_kde.h>
void TestKoIntegerMaths::UINT8Tests()
{
QCOMPARE((int)UINT8_MULT(0, 255), 0);
......
......@@ -17,8 +17,9 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoDocumentRdf.h"
#include "RdfSemanticTreeWidgetSelectAction.h"
#include "KoDocumentRdf.h"
#include "KoRdfSemanticItemViewSite.h"
#include <KoTextEditor.h>
......
......@@ -17,6 +17,9 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* * Boston, MA 02110-1301, USA.
* */
#include "KoResourceItemChooserContextMenu.h"
#include <QDebug>
#include <QLabel>
#include <QGridLayout>
......@@ -25,7 +28,6 @@
#include <klocale.h>
#include <klineedit.h>
#include "KoResourceItemChooserContextMenu.h"
#include "KoResource.h"
KoLineEditAction::KoLineEditAction(QObject* parent)
......
......@@ -23,6 +23,7 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoResourceTaggingManager.h"
#include <QInputDialog>
#include <QMessageBox>
......@@ -31,7 +32,6 @@
#include <klocale.h>
#include "KoResourceTaggingManager.h"
#include "KoResourceModelBase.h"
#include "KoResource.h"
#include "KoResourceItemChooserContextMenu.h"
......
......@@ -23,6 +23,8 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoTagChooserWidget.h"
#include <QDebug>
#include <QToolButton>
#include <QGridLayout>
......@@ -35,7 +37,6 @@
#include "KoResourceItemChooserContextMenu.h"
#include "KoTagToolButton.h"
#include "KoTagChooserWidget.h"
class KoTagChooserWidget::Private
{
......
......@@ -23,6 +23,8 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoTagFilterWidget.h"
#include <QPushButton>
#include <QAction>
#include <QGridLayout>
......@@ -32,8 +34,6 @@
#include <KoIcon.h>
#include "KoTagFilterWidget.h"
class KoTagFilterWidget::Private
{
public:
......
......@@ -23,6 +23,8 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoTagToolButton.h"
#include <QToolButton>
#include <QGridLayout>
......@@ -32,8 +34,6 @@
#include "KoResourceItemChooserContextMenu.h"
#include "KoTagToolButton.h"
class KoTagToolButton::Private
{
public:
......
......@@ -16,8 +16,6 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include <qtest_kde.h>
#include "KoProgressUpdater_test.h"
#include "KoProgressUpdater.h"
......@@ -28,6 +26,8 @@
#include <threadweaver/ThreadWeaver.h>
#include <threadweaver/Job.h>
#include <qtest_kde.h>
class TestWeaverJob : public ThreadWeaver::Job
{
public:
......
......@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "KoResourceTaggingTest.h"
#include <QTest>
#include <QCoreApplication>
......@@ -24,7 +25,6 @@
#include <kactioncollection.h>
#include <kdebug.h>
#include "KoResourceTaggingTest.h"
#include "KoResource.h"
#include "KoResourceServerProvider.h"
......
......@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "zoomcontroller_test.h"
#include <QTest>
#include <QCoreApplication>
......@@ -29,8 +30,6 @@
#include "KoZoomController.h"
#include "KoUnit.h"
#include "zoomcontroller_test.h"
void zoomcontroller_test::testApi()
{
KoZoomHandler zoomHandler;
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "zoomhandler_test.h"
#include <QTest>
#include <QCoreApplication>
......@@ -25,8 +27,6 @@
#include "KoDpi.h"
#include "KoUnit.h"
#include "zoomhandler_test.h"
// Same as qfuzzycompare, but less precise because KoZoomHandler is a
// bit messy itself.
static inline bool fuzzyCompare(qreal p1, qreal p2)
......
......@@ -17,6 +17,8 @@
* Boston, MA 02110-1301, USA.
*/
#include "KoSizeGroupPrivate.h"
#include <QEvent>
#include <QTimer>
#include <QWidget>
......@@ -24,8 +26,6 @@
#include <QGridLayout>
#include <QFormLayout>
#include "KoSizeGroupPrivate.h"
KoSizeGroupPrivate::KoSizeGroupPrivate(KoSizeGroup *q_ptr, KoSizeGroup::mode mode, bool ignoreHidden)
: QObject()
, q(q_ptr)
......
Markdown is supported
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