Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
aca291ff
Commit
aca291ff
authored
Apr 15, 2011
by
Tobias Hunger
Browse files
CVS: Remove useless virtual keywords and members
parent
c32f5aed
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/cvs/cvscontrol.cpp
View file @
aca291ff
...
...
@@ -39,7 +39,6 @@ using namespace CVS;
using
namespace
CVS
::
Internal
;
CVSControl
::
CVSControl
(
CVSPlugin
*
plugin
)
:
m_enabled
(
true
),
m_plugin
(
plugin
)
{
}
...
...
src/plugins/cvs/cvscontrol.h
View file @
aca291ff
...
...
@@ -46,29 +46,28 @@ class CVSControl : public Core::IVersionControl
Q_OBJECT
public:
explicit
CVSControl
(
CVSPlugin
*
plugin
);
virtual
QString
displayName
()
const
;
QString
displayName
()
const
;
virtual
bool
managesDirectory
(
const
QString
&
directory
,
QString
*
topLevel
=
0
)
const
;
bool
managesDirectory
(
const
QString
&
directory
,
QString
*
topLevel
=
0
)
const
;
virtual
bool
supportsOperation
(
Operation
operation
)
const
;
virtual
bool
vcsOpen
(
const
QString
&
fileName
);
virtual
bool
vcsAdd
(
const
QString
&
fileName
);
virtual
bool
vcsDelete
(
const
QString
&
filename
);
virtual
bool
vcsMove
(
const
QString
&
from
,
const
QString
&
to
);
virtual
bool
vcsCreateRepository
(
const
QString
&
directory
);
virtual
bool
vcsCheckout
(
const
QString
&
directory
,
const
QByteArray
&
url
);
virtual
QString
vcsGetRepositoryURL
(
const
QString
&
directory
);
virtual
QString
vcsCreateSnapshot
(
const
QString
&
topLevel
);
virtual
QStringList
vcsSnapshots
(
const
QString
&
topLevel
);
virtual
bool
vcsRestoreSnapshot
(
const
QString
&
topLevel
,
const
QString
&
name
);
virtual
bool
vcsRemoveSnapshot
(
const
QString
&
topLevel
,
const
QString
&
name
);
virtual
bool
vcsAnnotate
(
const
QString
&
file
,
int
line
);
bool
supportsOperation
(
Operation
operation
)
const
;
bool
vcsOpen
(
const
QString
&
fileName
);
bool
vcsAdd
(
const
QString
&
fileName
);
bool
vcsDelete
(
const
QString
&
filename
);
bool
vcsMove
(
const
QString
&
from
,
const
QString
&
to
);
bool
vcsCreateRepository
(
const
QString
&
directory
);
bool
vcsCheckout
(
const
QString
&
directory
,
const
QByteArray
&
url
);
QString
vcsGetRepositoryURL
(
const
QString
&
directory
);
QString
vcsCreateSnapshot
(
const
QString
&
topLevel
);
QStringList
vcsSnapshots
(
const
QString
&
topLevel
);
bool
vcsRestoreSnapshot
(
const
QString
&
topLevel
,
const
QString
&
name
);
bool
vcsRemoveSnapshot
(
const
QString
&
topLevel
,
const
QString
&
name
);
bool
vcsAnnotate
(
const
QString
&
file
,
int
line
);
void
emitRepositoryChanged
(
const
QString
&
s
);
void
emitFilesChanged
(
const
QStringList
&
l
);
private:
bool
m_enabled
;
CVSPlugin
*
m_plugin
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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