forked from qt-creator/qt-creator
qmlproject: add convenience method to QmlMultiLanguageAspect
Change-Id: I88799aa1c5caa5c967b7c680ef9ddcbdd4b01bf5 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -45,6 +45,10 @@ public:
|
||||
void toMap(QVariantMap &map) const final;
|
||||
void fromMap(const QVariantMap &map) final;
|
||||
|
||||
static QmlMultiLanguageAspect *current();
|
||||
static QmlMultiLanguageAspect *current(ProjectExplorer::Project *project);
|
||||
static QmlMultiLanguageAspect *current(ProjectExplorer::Target *target);
|
||||
|
||||
public slots:
|
||||
void setLastUsedLanguage(const QString &language);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user