Commit 8c3a777a authored by Christoph Cullmann's avatar Christoph Cullmann

GIT_SILENT: application of coding style

parent fbcb8d37
......@@ -21,9 +21,9 @@
#include "btbrowsertest.h"
#include "btparser.h"
#include <QtTestWidgets>
#include <QTemporaryFile>
#include <QFileInfo>
#include <QTemporaryFile>
#include <QtTestWidgets>
QTEST_MAIN(KateBtBrowserTest)
......
......@@ -18,10 +18,10 @@
#include "btdatabase.h"
#include <QFile>
#include <QDataStream>
#include <QDir>
#include <QDebug>
#include <QDir>
#include <QFile>
void KateBtDatabase::loadFromFile(const QString &url)
{
......
......@@ -19,10 +19,10 @@
#ifndef BTDATABASE_H
#define BTDATABASE_H
#include <QString>
#include <QStringList>
#include <QHash>
#include <QMutex>
#include <QString>
#include <QStringList>
class KateBtDatabase
{
......
......@@ -19,8 +19,8 @@
#include "btfileindexer.h"
#include "btdatabase.h"
#include <QDir>
#include <QDebug>
#include <QDir>
BtFileIndexer::BtFileIndexer(KateBtDatabase *database)
: QThread()
......
......@@ -19,9 +19,9 @@
#ifndef BTFILEINDEXER_H
#define BTFILEINDEXER_H
#include <QThread>
#include <QString>
#include <QStringList>
#include <QThread>
class KateBtDatabase;
......
......@@ -18,8 +18,8 @@
#include "btparser.h"
#include <QStringList>
#include <QDebug>
#include <QStringList>
static QString eolDelimiter(const QString &str)
{
......
......@@ -19,29 +19,29 @@
// BEGIN Includes
#include "katebacktracebrowser.h"
#include "btparser.h"
#include "btfileindexer.h"
#include "btparser.h"
#include <KConfigGroup>
#include <KLineEdit>
#include <kaboutdata.h>
#include <klocalizedstring.h> // i18n
#include <kpluginfactory.h>
#include <kpluginloader.h>
#include <kaboutdata.h>
#include <ktexteditor/view.h>
#include <ksharedconfig.h>
#include <KConfigGroup>
#include <KLineEdit>
#include <ktexteditor/view.h>
#include <QClipboard>
#include <QDataStream>
#include <QDialogButtonBox>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QFileDialog>
#include <QDataStream>
#include <QFileInfo>
#include <QStandardPaths>
#include <QTimer>
#include <QClipboard>
#include <QDialogButtonBox>
#include <QUrl>
#include <QTreeWidget>
#include <QUrl>
// END Includes
K_PLUGIN_FACTORY_WITH_JSON(KateBtBrowserFactory, "katebacktracebrowserplugin.json", registerPlugin<KateBtBrowserPlugin>();)
......
......@@ -20,17 +20,17 @@
#define KATE_BACKTRACEBROWSER_H
#include <KTextEditor/Plugin>
#include <ktexteditor/mainwindow.h>
#include <ktexteditor/configpage.h>
#include <ktexteditor/mainwindow.h>
#include "ui_btbrowserwidget.h"
#include "ui_btconfigwidget.h"
#include "btdatabase.h"
#include "btfileindexer.h"
#include "ui_btbrowserwidget.h"
#include "ui_btconfigwidget.h"
#include <QDialog>
#include <QString>
#include <QTimer>
#include <QDialog>
class KateBtConfigWidget;
class KateBtBrowserWidget;
......
......@@ -27,13 +27,13 @@
// Standard includes
#include <KConfig>
#include <KLocalizedString> /// \todo Where is \c i18n() defined?
#include <KConfigGroup>
#include <KIconLoader>
#include <KLocalizedString> /// \todo Where is \c i18n() defined?
#include <KSharedConfig>
#include <KConfigGroup>
#include <QBoxLayout>
#include <QLabel>
#include <QHeaderView>
#include <QLabel>
#include <QPushButton>
#include <cassert>
......
......@@ -28,15 +28,15 @@
// Project specific includes
// Standard includes
#include <QDialog>
#include "ui_close_confirm_dialog.h"
#include <KTextEditor/Document>
#include <KToggleAction>
#include <kwindowconfig.h>
#include <QCheckBox>
#include <QDialog>
#include <QList>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <QCheckBox>
#include "ui_close_confirm_dialog.h"
#include <kwindowconfig.h>
namespace kate
{
......
......@@ -27,18 +27,18 @@
#include "close_confirm_dialog.h"
// Standard includes
#include <KLocalizedString>
#include <KTextEditor/Application>
#include <KTextEditor/MainWindow>
#include <KTextEditor/Editor>
#include <KAboutData>
#include <KActionCollection>
#include <KLocalizedString>
#include <KPluginFactory>
#include <KPluginLoader>
#include <KTextEditor/Application>
#include <KTextEditor/Editor>
#include <KTextEditor/MainWindow>
#include <KXMLGUIFactory>
#include <QFileInfo>
#include <QUrl>
#include <kio/global.h>
#include <KXMLGUIFactory>
K_PLUGIN_FACTORY_WITH_JSON(CloseExceptPluginFactory, "katecloseexceptplugin.json", registerPlugin<kate::CloseExceptPlugin>();)
......
......@@ -28,17 +28,17 @@
// Project specific includes
// Standard includes
#include <KTextEditor/Editor>
#include <KTextEditor/Plugin>
#include <ktexteditor/sessionconfiginterface.h>
#include <KActionMenu>
#include <KConfigGroup>
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <KTextEditor/Editor>
#include <KTextEditor/Message>
#include <KTextEditor/Plugin>
#include <KTextEditor/View>
#include <KToggleAction>
#include <KConfigGroup>
#include <QPointer>
#include <cassert>
#include <ktexteditor/sessionconfiginterface.h>
#include <set>
namespace kate
......
......@@ -22,8 +22,8 @@
#include "../kateexternaltool.h"
#include "../katetoolrunner.h"
#include <QtTest>
#include <QString>
#include <QtTest>
#include <KConfig>
#include <KConfigGroup>
......
......@@ -19,17 +19,17 @@
*/
#include "externaltoolsplugin.h"
#include "kateexternaltoolsview.h"
#include "kateexternaltool.h"
#include "kateexternaltoolscommand.h"
#include "katetoolrunner.h"
#include "kateexternaltoolsconfigwidget.h"
#include "kateexternaltoolsview.h"
#include "katetoolrunner.h"
#include <KTextEditor/Editor>
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <KActionCollection>
#include <KLocalizedString>
#include <KTextEditor/Document>
#include <KTextEditor/Editor>
#include <KTextEditor/View>
#include <QAction>
#include <kparts/part.h>
......@@ -40,8 +40,8 @@
#include <KPluginFactory>
#include <KXMLGUIFactory>
#include <QGuiApplication>
#include <QClipboard>
#include <QGuiApplication>
static QVector<KateExternalTool> readDefaultTools()
{
......
......@@ -20,8 +20,8 @@
#ifndef KTEXTEDITOR_EXTERNALTOOLS_PLUGIN_H
#define KTEXTEDITOR_EXTERNALTOOLS_PLUGIN_H
#include <QVector>
#include <KTextEditor/Plugin>
#include <QVector>
namespace KTextEditor
{
......
......@@ -22,10 +22,10 @@
#include "kateexternaltool.h"
#include "katetoolrunner.h"
#include <KLineEdit>
#include <KTextEditor/Document>
#include <KTextEditor/Editor>
#include <KTextEditor/View>
#include <KLineEdit>
#include <KConfig>
#include <KConfigGroup>
......
......@@ -29,8 +29,8 @@
#include <KTextEditor/Plugin>
#include <QDialog>
#include <QStandardItemModel>
#include <QPixmap>
#include <QStandardItemModel>
class KConfig;
class KateExternalToolsPlugin;
......
......@@ -22,24 +22,24 @@
#include "kateexternaltool.h"
#include "ui_toolview.h"
#include <KTextEditor/MainWindow>
#include <KTextEditor/Document>
#include <KTextEditor/MainWindow>
#include <KTextEditor/View>
#include <KActionCollection>
#include <KAuthorized>
#include <KConfig>
#include <KConfigGroup>
#include <KLocalizedString>
#include <KSharedConfig>
#include <QStandardPaths>
#include <QMenu>
#include <KXMLGUIFactory>
#include <KLocalizedString>
#include <QMenu>
#include <QStandardPaths>
#include <QToolButton>
#include <QKeyEvent>
#include <QFontDatabase>
#include <QKeyEvent>
#include <QTextDocument>
#include <QToolButton>
#include <map>
#include <vector>
......
......@@ -22,9 +22,9 @@
#include "kateexternaltool.h"
#include <KLocalizedString>
#include <KShell>
#include <KTextEditor/View>
#include <KLocalizedString>
KateToolRunner::KateToolRunner(std::unique_ptr<KateExternalTool> tool, KTextEditor::View *view, QObject *parent)
: QObject(parent)
......
......@@ -23,9 +23,9 @@
#include <QByteArray>
#include <QObject>
#include <QPointer>
#include <QProcess>
#include <QString>
#include <QPointer>
#include <memory>
......
......@@ -24,8 +24,8 @@
#include <kdiroperator.h>
#include <QStandardPaths>
#include <QMenu>
#include <QStandardPaths>
KateBookmarkHandler::KateBookmarkHandler(KateFileBrowser *parent, QMenu *kpopupmenu)
: QObject(parent)
......
......@@ -22,14 +22,14 @@
// BEGIN Includes
#include "katefilebrowserplugin.h"
#include "katefilebrowserconfig.h"
#include "katefilebrowser.h"
#include "katefilebrowserconfig.h"
#include <KLocalizedString>
#include <KPluginFactory>
#include <QKeyEvent>
#include <QIcon>
#include <QKeyEvent>
// END Includes
K_PLUGIN_FACTORY_WITH_JSON(KateFileBrowserPluginFactory, "katefilebrowserplugin.json", registerPlugin<KateFileBrowserPlugin>();)
......
......@@ -23,11 +23,11 @@
#ifndef KATE_FILEBROWSER_PLUGIN_H
#define KATE_FILEBROWSER_PLUGIN_H
#include <KTextEditor/SessionConfigInterface>
#include <ktexteditor/configpage.h>
#include <ktexteditor/document.h>
#include <ktexteditor/plugin.h>
#include <ktexteditor/mainwindow.h>
#include <ktexteditor/configpage.h>
#include <KTextEditor/SessionConfigInterface>
#include <ktexteditor/plugin.h>
class KateFileBrowser;
class KateFileBrowserPluginView;
......
......@@ -21,32 +21,32 @@
// BEGIN Includes
#include "katefiletree.h"
#include "katefiletreedebug.h"
#include "katefiletreemodel.h"
#include "katefiletreeproxymodel.h"
#include "katefiletreedebug.h"
#include <ktexteditor/application.h>
#include <ktexteditor/document.h>
#include <ktexteditor/editor.h>
#include <ktexteditor/application.h>
#include <KIO/CopyJob>
#include <KIO/DeleteJob>
#include <KIO/OpenFileManagerWindowJob>
#include <KLocalizedString>
#include <KMessageBox>
#include <KMimeTypeTrader>
#include <KOpenWithDialog>
#include <KRun>
#include <KMessageBox>
#include <KLocalizedString>
#include <KStandardAction>
#include <KIO/DeleteJob>
#include <KIO/CopyJob>
#include <KIO/OpenFileManagerWindowJob>
#include <QMimeDatabase>
#include <QApplication>
#include <QClipboard>
#include <QContextMenuEvent>
#include <QApplication>
#include <QMenu>
#include <QDir>
#include <QInputDialog>
#include <QLineEdit>
#include <QDir>
#include <QMenu>
#include <QMimeDatabase>
// END Includes
// BEGIN KateFileTree
......
......@@ -20,9 +20,9 @@
#ifndef KATE_FILETREE_H
#define KATE_FILETREE_H
#include <QUrl>
#include <QIcon>
#include <QTreeView>
#include <QUrl>
namespace KTextEditor
{
......
......@@ -35,18 +35,18 @@ view needs to pull default settings from the main plugin config
*/
#include "katefiletreeconfigpage.h"
#include "katefiletreeplugin.h"
#include "katefiletreedebug.h"
#include "katefiletreemodel.h"
#include "katefiletreeplugin.h"
#include "katefiletreeproxymodel.h"
#include <QGroupBox>
#include <KColorButton>
#include <QLabel>
#include <KComboBox>
#include <QVBoxLayout>
#include <QCheckBox>
#include <KLocalizedString>
#include <QCheckBox>
#include <QGroupBox>
#include <QLabel>
#include <QVBoxLayout>
KateFileTreeConfigPage::KateFileTreeConfigPage(QWidget *parent, KateFileTreePlugin *fl)
: KTextEditor::ConfigPage(parent)
......
......@@ -21,20 +21,20 @@
#include <QDir>
#include <QFileInfo>
#include <QIcon>
#include <QList>
#include <QMimeData>
#include <QMimeDatabase>
#include <QIcon>
#include <QStack>
#include <KColorScheme>
#include <KColorUtils>
#include <KLocalizedString>
#include <KIconUtils>
#include <KLocalizedString>
#include <ktexteditor/application.h>
#include <ktexteditor/document.h>
#include <ktexteditor/editor.h>
#include <ktexteditor/application.h>
#include "katefiletreedebug.h"
......
......@@ -21,21 +21,21 @@
#include "katefiletreeplugin.h"
#include "katefiletree.h"
#include "katefiletreeconfigpage.h"
#include "katefiletreemodel.h"
#include "katefiletreeproxymodel.h"
#include "katefiletreeconfigpage.h"
#include <ktexteditor/view.h>
#include <ktexteditor/application.h>
#include <ktexteditor/view.h>
#include <KAboutData>
#include <KPluginFactory>
#include <KActionCollection>
#include <KLocalizedString>
#include <KConfigGroup>
#include <KLocalizedString>
#include <KPluginFactory>
#include <KToolBar>
#include <KXMLGUIFactory>
#include <KXmlGuiWindow>
#include <KToolBar>
#include <QAction>
#include <QApplication>
......
......@@ -23,9 +23,9 @@
#include <QIcon>
#include <KTextEditor/Command>
#include <KTextEditor/Plugin>
#include <ktexteditor/document.h>
#include <ktexteditor/editor.h>
#include <KTextEditor/Plugin>
#include <ktexteditor/mainwindow.h>
#include <ktexteditor/sessionconfiginterface.h>
......
......@@ -18,9 +18,9 @@
*/
#include "katefiletreepluginsettings.h"
#include "katefiletreedebug.h"
#include <KColorScheme>
#include <KColorUtils>
#include "katefiletreedebug.h"
KateFileTreePluginSettings::KateFileTreePluginSettings()
: m_group(KSharedConfig::openConfig(), "filetree")
......
......@@ -18,8 +18,8 @@
*/
#include "katefiletreeproxymodel.h"
#include "katefiletreemodel.h"
#include "katefiletreedebug.h"
#include "katefiletreemodel.h"
#include <QCollator>
#include <ktexteditor/document.h>
......
......@@ -21,8 +21,8 @@
#define ADVANCED_SETTINGS_H
#include "ui_advanced_settings.h"
#include <QStringList>
#include <QDialog>
#include <QStringList>
class AdvancedGDBSettings : public QDialog, public Ui::AdvancedGDBSettings
{
......
......@@ -25,13 +25,13 @@
#include <QCompleter>
#include <QDirModel>
#include <QFileDialog>
#include <QLayout>
#include <QTimer>
#include <QPushButton>
#include <QFileDialog>
#include <QTimer>
#include <KTextEditor/View>
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <klocalizedstring.h>
#include <kmessagebox.h>
......
......@@ -26,20 +26,20 @@
#include "advanced_settings.h"
#include <QWidget>
#include <QBoxLayout>
#include <QCheckBox>
#include <QComboBox>
#include <QLabel>
#include <QLineEdit>
#include <QToolButton>
#include <QComboBox>
#include <QCheckBox>
#include <QBoxLayout>
#include <QResizeEvent>
#include <QToolButton>
#include <QWidget>
#include <QList>
#include <KTextEditor/MainWindow>
#include <kconfiggroup.h>
#include <kactioncollection.h>
#include <kconfiggroup.h>
#include <kselectaction.h>
struct GDBTargetConf {
......
......@@ -23,13 +23,13 @@
#include "debugview.h"
#include <QRegExp>
#include <QFile>
#include <QRegExp>
#include <QTimer>
#include <klocalizedstring.h>
#include <kmessagebox.h>
#include <kurlrequester.h>
#include <klocalizedstring.h>
#include <signal.h>
#include <stdlib.h>
......
......@@ -22,22 +22,22 @@
#include "ioview.h"
#include <QVBoxLayout>
#include <QFile>
#include <QDir>
#include <QTextEdit>
#include <QFile>
#include <QFontDatabase>
#include <QLineEdit>
#include <QScrollBar>
#include <QSocketNotifier>
#include <QString>
#include <QFontDatabase>
#include <QTextEdit>
#include <QVBoxLayout>
#include <kcolorscheme.h>
#include <krandom.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>