forked from qt-creator/qt-creator
Git: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I60dcd378419b92f96dc681921701c9231ef8ee57 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -63,15 +63,6 @@ public:
|
||||
public slots:
|
||||
void refresh(const QString &repository, bool force);
|
||||
|
||||
private slots:
|
||||
void deleteAll();
|
||||
void deleteSelection();
|
||||
void showCurrent();
|
||||
void restoreCurrent();
|
||||
void restoreCurrentInBranch();
|
||||
void enableButtons();
|
||||
void forceRefresh();
|
||||
|
||||
private:
|
||||
// Prompt dialog for modified repositories. Ask to undo or stash away.
|
||||
enum ModifiedRepositoryAction {
|
||||
@@ -80,6 +71,14 @@ private:
|
||||
ModifiedRepositoryDiscard
|
||||
};
|
||||
|
||||
void deleteAll();
|
||||
void deleteSelection();
|
||||
void showCurrent();
|
||||
void restoreCurrent();
|
||||
void restoreCurrentInBranch();
|
||||
void enableButtons();
|
||||
void forceRefresh();
|
||||
|
||||
ModifiedRepositoryAction promptModifiedRepository(const QString &stash);
|
||||
bool promptForRestore(QString *stash, QString *branch /* = 0 */, QString *errorMessage);
|
||||
bool ask(const QString &title, const QString &what, bool defaultButton = true);
|
||||
|
||||
Reference in New Issue
Block a user