forked from qt-creator/qt-creator
more Id type fixes
Change-Id: I3720946ba5485696822976567d83b4d6cb1fb283 x Change-Id: Iab58bc34bc56371405d132315573b484a533b77c Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "texteditor_global.h"
|
||||
|
||||
#include <coreplugin/icontext.h>
|
||||
#include <coreplugin/id.h>
|
||||
|
||||
#include <QtCore/QObject>
|
||||
#include <QtCore/QPointer>
|
||||
@@ -80,15 +81,15 @@ public slots:
|
||||
|
||||
protected:
|
||||
const QPointer<BaseTextEditorWidget> ¤tEditor() const;
|
||||
QAction *registerNewAction(const QString &id, bool scriptable=false, const QString &title = QString());
|
||||
QAction *registerNewAction(const QString &id, QObject *receiver, const char *slot, bool scriptable = false,
|
||||
QAction *registerNewAction(const Core::Id &id, bool scriptable = false, const QString &title = QString());
|
||||
QAction *registerNewAction(const Core::Id &id, QObject *receiver, const char *slot, bool scriptable = false,
|
||||
const QString &title = QString());
|
||||
|
||||
enum UpdateMode { ReadOnlyMode, WriteMode };
|
||||
UpdateMode updateMode() const;
|
||||
|
||||
virtual void createActions();
|
||||
virtual bool supportsAction(const QString &id) const;
|
||||
virtual bool supportsAction(const Core::Id &id) const;
|
||||
virtual void updateActions(UpdateMode um);
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user