forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -48,6 +48,7 @@ extern void qt_set_sequence_auto_mnemonic(bool enable);
|
||||
QT_END_NAMESPACE
|
||||
|
||||
using namespace Core;
|
||||
using namespace Utils;
|
||||
|
||||
namespace {
|
||||
QString plainSelectedText(const QTextCursor &cursor)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
#include <coreplugin/id.h>
|
||||
#include <utils/id.h>
|
||||
|
||||
#include <QTextCursor>
|
||||
|
||||
@@ -88,7 +88,7 @@ private:
|
||||
void scrollHalfDown(); // C-v
|
||||
void scrollHalfUp(); // M-v
|
||||
|
||||
QAction *registerAction(Core::Id id, void (EmacsKeysPlugin::*callback)(),
|
||||
QAction *registerAction(Utils::Id id, void (EmacsKeysPlugin::*callback)(),
|
||||
const QString &title);
|
||||
void genericGoto(QTextCursor::MoveOperation op, bool abortAssist = true);
|
||||
void genericVScroll(int direction);
|
||||
|
||||
Reference in New Issue
Block a user