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

Commit 9e5e80c0 authored by Manuel Breugelmans's avatar Manuel Breugelmans

Modify includes to follow KDE policy.

parent 8dab923f
add_subdirectory(tests)
add_subdirectory(config)
add_definitions(${KDE4_ENABLE_EXCEPTIONS})
add_definitions( ${KDE4_ENABLE_EXCEPTIONS} )
add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9003 )
set(TestBuild on)
......@@ -14,12 +14,8 @@ include_directories(
config
${KDE4_INCLUDES}
${KDEVPLATFORM_INCLUDE_DIR}
${KDEVPLATFORM_INCLUDE_DIR}/interfaces
${KDEVPLATFORM_INCLUDE_DIR}/shell
${KDEVPLATFORM_INCLUDE_DIR}/project
${KDEVPLATFORM_INCLUDE_DIR}/project/interfaces
${KDEVPLATFORM_INCLUDE_DIR}/veritas
${KDEVPLATFORM_INCLUDE_DIR}/veritas/interfaces)
${KDEVPLATFORM_INCLUDE_DIR}/interfaces # needed for core.h & documentcontroller.h
)
set(kdevqtest_SRCS
qtestoutputparser.cpp
......
......@@ -19,7 +19,7 @@
*/
#include "qtestsettings.h"
#include <iproject.h>
#include <kdevplatform/interfaces/iproject.h>
#include <KSharedConfig>
#include <KConfigGroup>
......
......@@ -22,11 +22,12 @@
#include "qtestsuite.h"
#include "qtestcommand.h"
#include "qtestoutputparser.h"
#include <qtestsettings.h>
#include "config/qtestsettings.h"
#include <QDir>
#include <KProcess>
#include <KDebug>
#include <KProcess>
using QTest::ISettings;
using QTest::QTestCase;
......
......@@ -23,7 +23,9 @@
#include <QString>
#include <QFileInfo>
#include <test.h>
#include <kdevplatform/veritas/test.h>
#include "qtestcommand.h"
namespace QTest
......
......@@ -23,7 +23,7 @@
#include <QString>
#include <QFileInfo>
#include <test.h>
#include <kdevplatform/veritas/test.h>
namespace QTest
{
......
......@@ -21,9 +21,10 @@
#include "qtestoutputparser.h"
#include "qtestcase.h"
#include <test.h>
#include <kdevplatform/veritas/test.h>
#include <QStringRef>
#include <kdebug.h>
#include <KDebug>
using QTest::QTestCase;
using QTest::QTestOutputParser;
......
......@@ -22,7 +22,7 @@
#define QXQTEST_QTESTOUTPUTPARSER
#include <QXmlStreamReader>
#include <testresult.h>
#include <kdevplatform/veritas/testresult.h>
class QIODevice;
......
......@@ -24,8 +24,8 @@
#include "qtestcommand.h"
#include <QIODevice>
#include <klocalizedstring.h>
#include <kdebug.h>
#include <KLocalizedString>
#include <KDebug>
using QTest::QTestRegister;
using QTest::QTestSuite;
......
......@@ -20,38 +20,38 @@
#include "qtestview.h"
// KDevelop
#include <core.h>
#include <context.h>
#include <iproject.h>
#include <idocument.h>
#include <projectmodel.h>
#include <iuicontroller.h>
#include <iprojectcontroller.h>
#include <documentcontroller.h>
#include <iprojectfilemanager.h>
#include <ibuildsystemmanager.h>
#include <contextmenuextension.h>
// xtest
#include <test.h>
#include <qtestregister.h>
#include <qtestsettings.h>
// Qt
#include <QFile>
#include <QInputDialog>
#include <QIODevice>
#include <QMessageBox>
#include <QInputDialog>
// KDE
#include <KDebug>
#include <KAction>
#include <KLocale>
#include <KConfigGroup>
#include <KDebug>
#include <KLocale>
#include <KPluginFactory>
#include <KPluginLoader>
#include <KSharedConfig>
#include <KPluginFactory>
#include <kdevplatform/interfaces/context.h>
#include <kdevplatform/interfaces/contextmenuextension.h>
#include <kdevplatform/interfaces/idocument.h>
#include <kdevplatform/interfaces/iproject.h>
#include <kdevplatform/interfaces/iprojectcontroller.h>
#include <kdevplatform/interfaces/iuicontroller.h>
#include <kdevplatform/project/projectmodel.h>
#include <kdevplatform/project/interfaces/ibuildsystemmanager.h>
#include <kdevplatform/project/interfaces/iprojectfilemanager.h>
#include <kdevplatform/shell/core.h>
#include <kdevplatform/shell/documentcontroller.h>
#include <kdevplatform/veritas/test.h>
#include "qtestregister.h"
#include "qtestsettings.h"
K_PLUGIN_FACTORY(QTestViewPluginFactory, registerPlugin<QTestView>();)
K_EXPORT_PLUGIN( QTestViewPluginFactory("kdevqtest"))
......
......@@ -21,9 +21,10 @@
#ifndef QTEST_QTESTVIEW_H
#define QTEST_QTESTVIEW_H
#include <QVariantList>
#include <KUrl>
#include <testrunnertoolview.h>
#include <QVariantList>
#include <kdevplatform/veritas/testrunnertoolview.h>
class QTestViewFactory;
namespace Veritas { class ITest; }
......
......@@ -3,6 +3,7 @@ set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
include_directories(
${XtestPlugin_SOURCE_DIR}/qtest
${XtestPlugin_SOURCE_DIR} # for kasserts.h
${KDEVPLATFORM_INCLUDE_DIR}
${KDEVPLATFORM_INCLUDE_DIR}/veritas
${KDEVPLATFORM_INCLUDE_DIR}/veritas/interfaces)
......
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