forked from qt-creator/qt-creator
Snippets: Add groupId getter/setter to SnippetAssistCollector
Handle unusual groupId settings more gracefully now that they are more easy to change. Change-Id: I80e46d62e8db9c866e7d68b3e601ce6841da53ab Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -40,6 +40,9 @@ class TEXTEDITOR_EXPORT SnippetAssistCollector
|
||||
public:
|
||||
SnippetAssistCollector(const QString &groupId, const QIcon &icon, int order = 0);
|
||||
|
||||
void setGroupId(const QString &gid);
|
||||
QString groupId() const;
|
||||
|
||||
QList<AssistProposalItemInterface *> collect() const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user