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:
hjk
2014-11-27 17:45:49 +01:00
parent 5c6f982636
commit 99e2c9dbd4
3 changed files with 18 additions and 25 deletions

View File

@@ -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);