forked from qt-creator/qt-creator
MacroExpander: Delay variable chooser population
Change-Id: I4bf81bcf8bb4f14bf6c31f613d79e79380b666e0 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -46,6 +46,7 @@ namespace Internal { class MacroExpanderPrivate; }
|
||||
class MacroExpander;
|
||||
typedef std::function<MacroExpander *()> MacroExpanderProvider;
|
||||
typedef QVector<MacroExpander *> MacroExpanders;
|
||||
typedef QVector<MacroExpanderProvider> MacroExpanderProviders;
|
||||
|
||||
class QTCREATOR_UTILS_EXPORT MacroExpander
|
||||
{
|
||||
@@ -89,7 +90,7 @@ public:
|
||||
QList<QByteArray> visibleVariables() const;
|
||||
QString variableDescription(const QByteArray &variable) const;
|
||||
|
||||
MacroExpanders subExpanders() const;
|
||||
MacroExpanderProviders subProviders() const;
|
||||
|
||||
QString displayName() const;
|
||||
void setDisplayName(const QString &displayName);
|
||||
|
||||
Reference in New Issue
Block a user