Files
qt-creator/src/plugins/qmljseditor/qmljsreuse.h

26 lines
624 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
2010-09-24 20:16:34 +02:00
#pragma once
2010-09-24 20:16:34 +02:00
#include <QtGlobal>
#include <QIcon>
2010-09-24 20:16:34 +02:00
QT_BEGIN_NAMESPACE
class QChar;
QT_END_NAMESPACE
2010-09-24 20:16:34 +02:00
namespace QmlJSEditor {
namespace Internal {
2010-09-24 20:16:34 +02:00
bool isIdentifierChar(const QChar &c, bool atStart = false, bool acceptDollar = true);
bool isValidFirstIdentifierChar(const QChar &c);
bool isValidIdentifierChar(const QChar &c);
bool isDelimiterChar(const QChar &c);
bool isActivationChar(const QChar &c);
2010-09-24 20:16:34 +02:00
QIcon iconForColor(const QColor &color);
2010-09-24 20:16:34 +02:00
} // Internal
} // QmlJSEditor