Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
4b490344
Commit
4b490344
authored
Feb 08, 2021
by
Waqar Ahmed
Browse files
Clean up styling and follow code guidelines
parent
6de07c6f
Changes
3
Hide whitespace changes
Inline
Side-by-side
addons/project/branchesdialogmodel.cpp
View file @
4b490344
...
...
@@ -6,8 +6,8 @@
*/
#include "branchesdialogmodel.h"
#include <
kt
ext
e
ditor/
d
ocument
.h
>
#include <
kt
ext
e
ditor/
v
iew
.h
>
#include <
KT
ext
E
ditor/
D
ocument>
#include <
KT
ext
E
ditor/
V
iew>
#include <QIcon>
...
...
addons/project/branchesdialogmodel.h
View file @
4b490344
...
...
@@ -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
;
...
...
addons/project/kateprojectview.cpp
View file @
4b490344
...
...
@@ -11,8 +11,8 @@
#include "kateprojectfiltermodel.h"
#include "kateprojectpluginview.h"
#include <
kt
ext
e
ditor/
d
ocument
.h
>
#include <
kt
ext
e
ditor/
v
iew
.h
>
#include <
KT
ext
E
ditor/
D
ocument>
#include <
KT
ext
E
ditor/
V
iew>
#include <KActionCollection>
#include <KLineEdit>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment