|
| CDiff () |
|
virtual bool | canInterpret (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) override |
|
virtual Interaction::CommandResult * | execute (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) override |
|
virtual QList< Interaction::CommandSuggestion * > | suggest (Visualization::Item *source, Visualization::Item *target, const QString &textSoFar, const std::unique_ptr< Visualization::Cursor > &cursor) override |
|
Public Member Functions inherited from Interaction::Command |
| Command (QString name, bool appearsInMenus=false) |
|
virtual | ~Command () |
|
bool | appearsInMenus () const |
|
virtual bool | canInterpret (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor) |
|
virtual CommandResult * | execute (Visualization::Item *source, Visualization::Item *target, const QStringList &commandTokens, const std::unique_ptr< Visualization::Cursor > &cursor)=0 |
|
const QString | name () const |
|
virtual QList< CommandSuggestion * > | suggest (Visualization::Item *source, Visualization::Item *target, const QString &textSoFar, const std::unique_ptr< Visualization::Cursor > &cursor) |
|
|
static QList< QPair< QString, QString > > | commitsWithDescriptionsStartingWith (QString partialCommitId, QString managerName, QHash< QString, QString > &unambigousPrefixPerRevision) |
| Returns the unambigous prefixes of commits and their description that start with partialCommitId. More...
|
|
static QStringList | computeUnambiguousShortestPrefixesPerString (const QStringList &strings, const int minPrefixLength, QHash< QString, QString > &unambigousPrefixPerRevision) |
| Returns for each entry in strings the corresponding unambigous prefix with minimum length minPrefixLength. More...
|
|
static QString | descriptionForCommits (QString token, const QList< QPair< QString, QString >> &commits) |
|
static QList< Interaction::CommandSuggestion * > | parseVersions (QStringList tokens, QString commandName, QString managerName, QHash< QString, QString > &unambigousPrefixPerRevision) |
|