forked from qt-creator/qt-creator
Core: Return context help id by callback
...to support asynchronous providers. Change-Id: I483489c74e7886d5bc2bf00b65540c3d2c7afee0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -129,7 +129,7 @@ public:
|
||||
bool restoreState(const QByteArray &state) override;
|
||||
QWidget *toolBar() override;
|
||||
|
||||
QString contextHelpId() const override; // from IContext
|
||||
void contextHelpId(const HelpIdCallback &callback) const override; // from IContext
|
||||
void setContextHelpId(const QString &id) override;
|
||||
|
||||
int currentLine() const override;
|
||||
@@ -533,7 +533,7 @@ public:
|
||||
QChar characterAt(int pos) const;
|
||||
QString textAt(int from, int to) const;
|
||||
|
||||
QString contextHelpId();
|
||||
void contextHelpId(const Core::IContext::HelpIdCallback &callback);
|
||||
void setContextHelpId(const QString &id);
|
||||
|
||||
static TextEditorWidget *currentTextEditorWidget();
|
||||
|
||||
Reference in New Issue
Block a user