forked from qt-creator/qt-creator
Gerrit: Some more cleanup
* Remove qualification for types in Gerrit::Internal * Remove action/command pair. Action is stored in Command. Change-Id: I946bedd3909e217279e9d7a538e8460e0a61de0f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
5506919233
commit
d24e509662
@@ -52,8 +52,6 @@ class GerritChange;
|
||||
class GerritParameters;
|
||||
class GerritDialog;
|
||||
|
||||
typedef QPair<QAction *, Core::Command *> ActionCommandPair;
|
||||
|
||||
class GerritPlugin : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -84,12 +82,12 @@ private slots:
|
||||
|
||||
private:
|
||||
QString findLocalRepository(QString project, const QString &branch) const;
|
||||
void fetch(const QSharedPointer<Gerrit::Internal::GerritChange> &change, int mode);
|
||||
void fetch(const QSharedPointer<GerritChange> &change, int mode);
|
||||
|
||||
QSharedPointer<GerritParameters> m_parameters;
|
||||
QPointer<GerritDialog> m_dialog;
|
||||
Core::Command *m_gerritCommand;
|
||||
ActionCommandPair m_pushToGerritPair;
|
||||
Core::Command *m_pushToGerritCommand;
|
||||
QString m_reviewers;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user