forked from qt-creator/qt-creator
Git: remote dialog improvements
* Add shortcuts * Add refresh button Change-Id: Idfe5c86459d654ea75fb90542eaa4d9cc1405d33 Reviewed-on: http://codereview.qt.nokia.com/220 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -47,8 +47,8 @@ class RemoteModel : public QAbstractTableModel {
|
||||
public:
|
||||
explicit RemoteModel(GitClient *client, QObject *parent = 0);
|
||||
|
||||
virtual void clear();
|
||||
virtual bool refresh(const QString &workingDirectory, QString *errorMessage);
|
||||
void clear();
|
||||
bool refresh(const QString &workingDirectory, QString *errorMessage);
|
||||
|
||||
QString remoteName(int row) const;
|
||||
QString remoteUrl(int row) const;
|
||||
@@ -80,10 +80,6 @@ protected:
|
||||
};
|
||||
typedef QList<Remote> RemoteList;
|
||||
|
||||
/* Parse git output and populate m_branches. */
|
||||
bool refreshRemotes(const QString &workingDirectory, QString *errorMessage);
|
||||
bool runGitRemoteCommand(const QString &workingDirectory, const QStringList &additionalArgs, QString *output, QString *errorMessage);
|
||||
|
||||
private:
|
||||
const Qt::ItemFlags m_flags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user