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
Marco Bubke
flatpak-qt-creator
Commits
fb205f2e
Commit
fb205f2e
authored
Apr 12, 2011
by
hjk
Browse files
itexteditor: remove a few unneeded empty destructors
parent
880813a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/itexteditor.h
View file @
fb205f2e
...
@@ -61,7 +61,6 @@ class TEXTEDITOR_EXPORT ITextMark : public QObject
...
@@ -61,7 +61,6 @@ class TEXTEDITOR_EXPORT ITextMark : public QObject
Q_OBJECT
Q_OBJECT
public:
public:
ITextMark
(
QObject
*
parent
=
0
)
:
QObject
(
parent
)
{}
ITextMark
(
QObject
*
parent
=
0
)
:
QObject
(
parent
)
{}
virtual
~
ITextMark
()
{}
// determine order on markers on the same line.
// determine order on markers on the same line.
enum
Priority
enum
Priority
...
@@ -94,9 +93,8 @@ class TEXTEDITOR_EXPORT ITextMarkable : public QObject
...
@@ -94,9 +93,8 @@ class TEXTEDITOR_EXPORT ITextMarkable : public QObject
Q_OBJECT
Q_OBJECT
public:
public:
ITextMarkable
(
QObject
*
parent
=
0
)
:
QObject
(
parent
)
{}
ITextMarkable
(
QObject
*
parent
=
0
)
:
QObject
(
parent
)
{}
virtual
~
ITextMarkable
()
{}
virtual
bool
addMark
(
ITextMark
*
mark
,
int
line
)
=
0
;
virtual
bool
addMark
(
ITextMark
*
mark
,
int
line
)
=
0
;
virtual
TextMarks
marksAt
(
int
line
)
const
=
0
;
virtual
TextMarks
marksAt
(
int
line
)
const
=
0
;
virtual
void
removeMark
(
ITextMark
*
mark
)
=
0
;
virtual
void
removeMark
(
ITextMark
*
mark
)
=
0
;
virtual
bool
hasMark
(
ITextMark
*
mark
)
const
=
0
;
virtual
bool
hasMark
(
ITextMark
*
mark
)
const
=
0
;
...
@@ -116,10 +114,8 @@ public:
...
@@ -116,10 +114,8 @@ public:
};
};
ITextEditor
()
{}
ITextEditor
()
{}
virtual
~
ITextEditor
()
{}
virtual
int
find
(
const
QString
&
string
)
const
=
0
;
virtual
int
find
(
const
QString
&
string
)
const
=
0
;
virtual
int
position
(
PositionOperation
posOp
=
Current
,
int
at
=
-
1
)
const
=
0
;
virtual
int
position
(
PositionOperation
posOp
=
Current
,
int
at
=
-
1
)
const
=
0
;
virtual
void
convertPosition
(
int
pos
,
int
*
line
,
int
*
column
)
const
=
0
;
virtual
void
convertPosition
(
int
pos
,
int
*
line
,
int
*
column
)
const
=
0
;
virtual
QRect
cursorRect
(
int
pos
=
-
1
)
const
=
0
;
virtual
QRect
cursorRect
(
int
pos
=
-
1
)
const
=
0
;
...
...
Write
Preview
Markdown
is supported
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