forked from qt-creator/qt-creator
Mercurial: Move plugin pimpl to .cpp
And remove a couple of singleton accesses and indirections. Change-Id: Ib54a0e5c580b5354d2b700de02034cce506d8017 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -32,11 +32,13 @@
|
||||
namespace Mercurial {
|
||||
namespace Internal {
|
||||
|
||||
class MercurialClient;
|
||||
|
||||
class MercurialEditorWidget : public VcsBase::VcsBaseEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MercurialEditorWidget();
|
||||
explicit MercurialEditorWidget(MercurialClient *client);
|
||||
|
||||
private:
|
||||
QSet<QString> annotationChanges() const override;
|
||||
@@ -50,6 +52,8 @@ private:
|
||||
mutable QRegExp exactIdentifier40;
|
||||
mutable QRegExp changesetIdentifier12;
|
||||
const QRegExp changesetIdentifier40;
|
||||
|
||||
MercurialClient *m_client;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user