Commit 4b490344 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Clean up styling and follow code guidelines

parent 6de07c6f
......@@ -6,8 +6,8 @@
*/
#include "branchesdialogmodel.h"
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <QIcon>
......
......@@ -17,7 +17,12 @@ class BranchesDialogModel : public QAbstractTableModel
{
Q_OBJECT
public:
enum Role { Score = Qt::UserRole + 1, DisplayName, CheckoutName, RefType };
enum Role {
Score = Qt::UserRole + 1,
DisplayName,
CheckoutName,
RefType,
};
explicit BranchesDialogModel(QObject *parent = nullptr);
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent) const override;
......
......@@ -11,8 +11,8 @@
#include "kateprojectfiltermodel.h"
#include "kateprojectpluginview.h"
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <KActionCollection>
#include <KLineEdit>
......
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