forked from qt-creator/qt-creator
Git: Remove last user of Core::Id::fromUniqueIdentifier
Change-Id: I049a89a17341205275f68b22fe18234c756dec78 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
|
||||
#include "gitsettings.h"
|
||||
|
||||
#include <coreplugin/id.h>
|
||||
|
||||
#include <vcsbase/vcsbaseplugin.h>
|
||||
|
||||
#include <QStringList>
|
||||
@@ -40,6 +42,8 @@
|
||||
#include <QKeySequence>
|
||||
#include <QVector>
|
||||
|
||||
#include <functional>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QFile;
|
||||
class QAction;
|
||||
@@ -108,7 +112,7 @@ private slots:
|
||||
void undoUnstagedFileChanges();
|
||||
void resetRepository();
|
||||
void startRebase();
|
||||
void startChangeRelatedAction();
|
||||
void startChangeRelatedAction(const Core::Id &id);
|
||||
void stageFile();
|
||||
void unstageFile();
|
||||
void gitkForCurrentFile();
|
||||
@@ -178,8 +182,13 @@ private:
|
||||
QAction *createRepositoryAction(Core::ActionContainer *ac,
|
||||
const QString &text, Core::Id id,
|
||||
const Core::Context &context,
|
||||
bool addToLocator, const char *pluginSlot,
|
||||
bool addToLocator, const std::function<void()> &callback,
|
||||
const QKeySequence &keys = QKeySequence());
|
||||
QAction *createChangeRelatedRepositoryAction(Core::ActionContainer *ac,
|
||||
const QString &text, Core::Id id,
|
||||
const Core::Context &context,
|
||||
bool addToLocator, const std::function<void(Core::Id)> &callback,
|
||||
const QKeySequence &keys = QKeySequence());
|
||||
QAction *createRepositoryAction(Core::ActionContainer *ac,
|
||||
const QString &text, Core::Id id,
|
||||
const Core::Context &context,
|
||||
|
||||
Reference in New Issue
Block a user