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

Consistently use CamelCase includes for KF headers

parent 6aadf3d5
......@@ -34,8 +34,8 @@
#include <KLocalizedString>
#include <Kdelibs4ConfigMigrator>
#include <kaboutdata.h>
#include <kcrash.h>
#include <KAboutData>
#include <KCrash>
#include <QApplication>
#include <QElapsedTimer>
......
......@@ -28,7 +28,7 @@
#include <KLocalizedString>
#include <KTextEditor/Document>
#include <ktexteditor/movinginterface.h>
#include <KTextEditor/MovingInterface>
#include "../interfaces/icore.h"
#include "../interfaces/idebugcontroller.h"
......
......@@ -23,7 +23,7 @@
#include <QList>
#include <QUrl>
#include <ktexteditor/range.h>
#include <KTextEditor/Range>
#include "interfacesexport.h"
......
......@@ -19,10 +19,10 @@
#ifndef KDEVPLATFORM_IPARTCONTROLLER_H
#define KDEVPLATFORM_IPARTCONTROLLER_H
#include <kparts/partmanager.h>
#include "interfacesexport.h"
#include <KParts/PartManager>
class KPluginFactory;
namespace KTextEditor
......
......@@ -23,9 +23,10 @@ Boston, MA 02110-1301, USA.
*/
#include "iplugincontroller.h"
#include <kservicetypetrader.h>
#include "ipluginversion.h"
#include <KServiceTypeTrader>
namespace KDevelop
{
......
......@@ -20,10 +20,10 @@ Boston, MA 02110-1301, USA.
#ifndef KDEVPLATFORM_IRUNCONTROLLER_H
#define KDEVPLATFORM_IRUNCONTROLLER_H
#include <kjobtrackerinterface.h>
#include "interfacesexport.h"
#include <KJobTrackerInterface>
class KJob;
namespace KDevelop
......
......@@ -21,11 +21,12 @@ Boston, MA 02110-1301, USA.
#define KDEVPLATFORM_ISESSION_H
#include "interfacesexport.h"
#include <KSharedConfig>
#include <QObject>
#include <QUrl>
#include <ksharedconfig.h>
class QUuid;
class QString;
......
......@@ -34,7 +34,7 @@
#include <interfaces/ilanguagecontroller.h>
#include <interfaces/ilanguagesupport.h>
#include <ktexteditor/document.h>
#include <KTextEditor/Document>
#include <KLocalizedString>
......
......@@ -21,9 +21,6 @@
#include "documentchangetracker.h"
#include <ktexteditor/document.h>
#include <ktexteditor/movinginterface.h>
#include <util/foregroundlock.h>
#include <editor/modificationrevision.h>
#include <serialization/indexedstring.h>
......@@ -31,6 +28,10 @@
#include <interfaces/ilanguagecontroller.h>
#include "backgroundparser.h"
#include <debug.h>
#include <KTextEditor/Document>
#include <KTextEditor/MovingInterface>
#include <QApplication>
// Can be used to disable the 'clever' updating logic that ignores whitespace-only changes and such.
......
......@@ -26,10 +26,11 @@
#include <QExplicitlySharedDataPointer>
#include <QPointer>
#include <QPair>
#include <ktexteditor/movingrange.h>
#include <language/editor/rangeinrevision.h>
#include <serialization/indexedstring.h>
#include <KTextEditor/MovingRange>
namespace KTextEditor
{
class Document;
......
......@@ -29,7 +29,7 @@
#include <KLocalizedString>
#include <KFormat>
#include <ktexteditor/movinginterface.h>
#include <KTextEditor/MovingInterface>
#include "backgroundparser.h"
#include <debug.h>
......
......@@ -19,10 +19,11 @@
#ifndef KDEVPLATFORM_PARSEPROJECTJOB_H
#define KDEVPLATFORM_PARSEPROJECTJOB_H
#include <kjob.h>
#include <serialization/indexedstring.h>
#include <language/languageexport.h>
#include <KJob>
namespace KDevelop {
class ReferencedTopDUContext;
class IProject;
......
......@@ -21,11 +21,6 @@
#include "codecompletion.h"
#include <ktexteditor/view.h>
#include <ktexteditor/document.h>
#include <ktexteditor/codecompletionmodel.h>
#include <ktexteditor/codecompletioninterface.h>
#include <interfaces/icore.h>
#include <interfaces/ilanguagecontroller.h>
#include <interfaces/ilanguagesupport.h>
......@@ -36,6 +31,11 @@
#include "codecompletionmodel.h"
#include <interfaces/idocumentcontroller.h>
#include <KTextEditor/View>
#include <KTextEditor/Document>
#include <KTextEditor/CodeCompletionModel>
#include <KTextEditor/CodeCompletionInterface>
using namespace KTextEditor;
using namespace KDevelop;
......
......@@ -25,10 +25,10 @@
#include <KLocalizedString>
#include <ktexteditor/codecompletionmodel.h>
#include <ktexteditor/range.h>
#include <ktexteditor/view.h>
#include <ktexteditor/document.h>
#include <KTextEditor/CodeCompletionModel>
#include <KTextEditor/Range>
#include <KTextEditor/View>
#include <KTextEditor/Document>
#include <debug.h>
#include "../duchain/declaration.h"
......
......@@ -22,10 +22,10 @@
#ifndef KDEVPLATFORM_KDEV_CODECOMPLETIONITEM_H
#define KDEVPLATFORM_KDEV_CODECOMPLETIONITEM_H
#include <ktexteditor/codecompletionmodel.h>
#include "../duchain/duchainpointer.h"
#include <KTextEditor/CodeCompletionModel>
namespace KTextEditor {
class CodeCompletionModel;
class Range;
......
......@@ -23,8 +23,8 @@
#include "codecompletionmodel.h"
#include <QThread>
#include <ktexteditor/view.h>
#include <ktexteditor/document.h>
#include <KTextEditor/View>
#include <KTextEditor/Document>
#include "../duchain/declaration.h"
#include "../duchain/classfunctiondeclaration.h"
......
......@@ -33,8 +33,9 @@
#include <language/languageexport.h>
#include "codecompletioncontext.h"
#include "codecompletionitem.h"
#include <ktexteditor/codecompletionmodel.h>
#include <ktexteditor/codecompletionmodelcontrollerinterface.h>
#include <KTextEditor/CodeCompletionModel>
#include <KTextEditor/CodeCompletionModelControllerInterface>
class QMutex;
......
......@@ -22,8 +22,8 @@
#include "codecompletionworker.h"
#include <ktexteditor/view.h>
#include <ktexteditor/document.h>
#include <KTextEditor/View>
#include <KTextEditor/Document>
#include <KLocalizedString>
#include "../duchain/ducontext.h"
......
......@@ -19,7 +19,7 @@
#include "applychangeswidget.h"
#include <ktexteditor/document.h>
#include <KTextEditor/Document>
#include <KMimeTypeTrader>
......
......@@ -22,8 +22,8 @@
#include <language/languageexport.h>
#include <serialization/indexedstring.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/document.h>
#include <KTextEditor/ConfigInterface>
#include <KTextEditor/Document>
#include <memory>
......
......@@ -25,12 +25,12 @@
#include <QUrl>
#include <ktexteditor/codecompletionmodel.h>
#include <language/languageexport.h>
#include <language/duchain/problem.h>
#include <language/duchain/topducontext.h>
#include <KTextEditor/CodeCompletionModel>
class QIcon;
namespace KTextEditor {
......
......@@ -21,10 +21,10 @@
#include <QUrl>
#include <ktexteditor/cursor.h>
#include "../duchainpointer.h"
#include <KTextEditor/Cursor>
namespace KDevelop {
class AbstractNavigationContext;
......
......@@ -20,7 +20,7 @@
#include <language/languageexport.h>
#include <ktexteditor/cursor.h>
#include <KTextEditor/Cursor>
namespace KDevelop {
......
......@@ -22,7 +22,7 @@
#include <language/languageexport.h>
#include <serialization/indexedstring.h>
#include <ktexteditor/cursor.h>
#include <KTextEditor/Cursor>
namespace KDevelop
{
......
......@@ -21,11 +21,11 @@
#include <QString>
#include <QFileInfo>
#include <ktexteditor/document.h>
#include <serialization/indexedstring.h>
#include "modificationrevisionset.h"
#include <KTextEditor/Document>
/// @todo Listen to filesystem changes (together with the project manager)
/// and call fileModificationCache().clear(...) when a file has changed
......
......@@ -23,8 +23,8 @@
#include <language/languageexport.h>
#include <ktexteditor/attribute.h>
#include <ktexteditor/range.h>
#include <KTextEditor/Attribute>
#include <KTextEditor/Range>
#include <QExplicitlySharedDataPointer>
......
......@@ -21,9 +21,9 @@
#ifndef KDEVPLATFORM_PERSISTENTMOVINGRANGEPRIVATE_H
#define KDEVPLATFORM_PERSISTENTMOVINGRANGEPRIVATE_H
#include <QObject>
#include <ktexteditor/movingrange.h>
#include <backgroundparser/documentchangetracker.h>
#include <KTextEditor/MovingRange>
#include <QObject>
#include <QApplication>
namespace KDevelop {
......
......@@ -22,7 +22,7 @@
#include <language/languageexport.h>
#include "cursorinrevision.h"
#include <ktexteditor/range.h>
#include <KTextEditor/Range>
namespace KDevelop {
/**
......
......@@ -23,8 +23,6 @@
#include "codehighlighting.h"
#include <KTextEditor/Document>
#include "../../interfaces/icore.h"
#include "../../interfaces/ilanguagecontroller.h"
#include "../../interfaces/icompletionsettings.h"
......@@ -44,9 +42,11 @@
#include "configurablecolors.h"
#include <duchain/parsingenvironment.h>
#include <backgroundparser/backgroundparser.h>
#include <ktexteditor/movinginterface.h>
#include <backgroundparser/urlparselock.h>
#include <KTextEditor/Document>
#include <KTextEditor/MovingInterface>
using namespace KTextEditor;
static const float highlightingZDepth = -500;
......
......@@ -27,14 +27,14 @@
#include <QObject>
#include <QHash>
#include <ktexteditor/attribute.h>
#include <ktexteditor/movingrange.h>
#include <serialization/indexedstring.h>
#include <language/duchain/ducontext.h>
#include <language/interfaces/icodehighlighting.h>
#include <language/backgroundparser/documentchangetracker.h>
#include <KTextEditor/Attribute>
#include <KTextEditor/MovingRange>
namespace KDevelop
{
class DUContext;
......
......@@ -36,8 +36,8 @@ Boston, MA 02110-1301, USA.
#include <duchain/duchainutils.h>
#include <duchain/use.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <KTextEditor/Document>
#include <KTextEditor/View>
namespace KDevelop
{
......
......@@ -20,9 +20,10 @@ Boston, MA 02110-1301, USA.
*/
#include "editorcontext.h"
#include <ktexteditor/cursor.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <KTextEditor/Cursor>
#include <KTextEditor/Document>
#include <KTextEditor/View>
namespace KDevelop {
......
......@@ -24,7 +24,7 @@
#include "outputmodel.h"
#include "filtereditem.h"
#include <kcolorscheme.h>
#include <KColorScheme>
#include <QPainter>
......
......@@ -20,11 +20,11 @@ Boston, MA 02110-1301, USA.
#ifndef KDEVPLATFORM_OUTPUTJOB_H
#define KDEVPLATFORM_OUTPUTJOB_H
#include <kjob.h>
#include <outputview/ioutputview.h>
#include <outputview/outputviewexport.h>
#include <KJob>
class QIcon;
namespace KDevelop
......
......@@ -24,7 +24,7 @@
#include <QVariant>
#include <KLocalizedString>
#include <kconfiggroup.h>
#include <KConfigGroup>
#include <interfaces/icore.h>
#include <interfaces/iproject.h>
......
......@@ -22,7 +22,8 @@ Boston, MA 02110-1301, USA.
#define KDEVPLATFORM_PROJECTCONFIGSKELETON_H
#include "projectexport.h"
#include <kconfigskeleton.h>
#include <KConfigSkeleton>
namespace KDevelop
{
......
......@@ -21,10 +21,11 @@
#define KDEVPLATFORM_LAUNCHCONFIGURATION_H
#include <interfaces/ilaunchconfiguration.h>
#include <kconfiggroup.h>
#include "shellexport.h"
#include <KConfigGroup>
class QString;
namespace KDevelop
......
......@@ -20,17 +20,19 @@
#include "editstyledialog.h"
#include <interfaces/isourceformatter.h>
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <KTextEditor/Editor>
#include <KTextEditor/ConfigInterface>
#include <KLocalizedString>
#include <QPushButton>
#include <QVBoxLayout>
#include <QUrl>
#include <QDialogButtonBox>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <ktexteditor/editor.h>
#include <ktexteditor/configinterface.h>
#include <KLocalizedString>
#include <interfaces/isourceformatter.h>
using namespace KDevelop;
......
......@@ -21,11 +21,11 @@
#ifndef KDEVPLATFORM_SESSIONCONFIGSKELETON_H
#define KDEVPLATFORM_SESSIONCONFIGSKELETON_H
#include <kconfigskeleton.h>
#include "../core.h"
#include "../session.h"
#include <KConfigSkeleton>
namespace KDevelop
{
......
......@@ -28,7 +28,7 @@ Boston, MA 02110-1301, USA.
#include <QVector>
#include <QMimeType>
#include <kxmlguiclient.h>
#include <KXMLGUIClient>
#include <KConfigGroup>
#include "shellexport.h"
......
......@@ -23,10 +23,6 @@
#include <QTest>
#include <QDebug>
#include <kparts/mainwindow.h>
#include <ktexteditor/view.h>
#include <ktexteditor/document.h>
#include <sublime/area.h>
#include <sublime/view.h>
#include <sublime/mainwindow.h>
......@@ -42,6 +38,10 @@
#include "../documentcontroller.h"
#include "../uicontroller.h"
#include <KParts/MainWindow>
#include <KTextEditor/View>
#include <KTextEditor/Document>
// groups files like foo.l.txt and foo.r.txt such that l is left of r
class TestBuddyFinder : public KDevelop::IBuddyDocumentFinder
{
......
......@@ -21,13 +21,6 @@
#include <QTest>
#include <QAction>
#include <kactioncollection.h>
#include <kxmlguifactory.h>
#include <kparts/mainwindow.h>
#include <ktexteditor/view.h>
#include <ktexteditor/document.h>
#include <ktexteditor/movinginterface.h>
#include <sublime/area.h>
#include <sublime/view.h>
......@@ -37,6 +30,13 @@
#include "../documentcontroller.h"
#include "../uicontroller.h"
#include <KActionCollection>
#include <KXMLGUIFactory>
#include <KParts/MainWindow>
#include <KTextEditor/View>
#include <KTextEditor/Document>
#include <KTextEditor/MovingInterface>
using namespace KDevelop;
void TestShellDocumentOperation::initTestCase()
......
......@@ -43,7 +43,8 @@
#include "view.h"
#include "urldocument.h"
#include <ksqueezedtextlabel.h>
#include <KSqueezedTextLabel>
namespace Sublime {
......
......@@ -19,7 +19,7 @@
#ifndef KDEVPLATFORM_EXAMPLE1MAIN_H
#define KDEVPLATFORM_EXAMPLE1MAIN_H
#include <kxmlguiwindow.h>
#include <KXmlGuiWindow>
namespace Sublime {
class Area;
......
......@@ -23,7 +23,7 @@
#include <KTextEdit>
#include <KLocalizedString>
#include <kio/global.h>
#include <KIO/Global>
namespace Sublime {
......
......@@ -20,11 +20,13 @@
#include "commandexecutor.h"
#include "processlinemaker.h"
#include <KProcess>
#include <KShell>
#include <QMap>
#include <QStringList>
#include <QString>
#include <kprocess.h>
#include <kshell.h>
namespace KDevelop
{
......
......@@ -25,11 +25,12 @@
#include <QUrl>
#include <QFile>
#include <QList>
#include <KLocalizedString>
#include <KMessageBox>
#include <interfaces/icore.h>
#include <interfaces/iuicontroller.h>
#include <kparts/mainwindow.h>
#include <KLocalizedString>
#include <KMessageBox>
#include <KParts/MainWindow>
namespace KDevelop {
......
......@@ -21,10 +21,11 @@
#ifndef KDEVPLATFORM_VCSANNOTATIONMODEL_H
#define KDEVPLATFORM_VCSANNOTATIONMODEL_H