6#include <QtQml/qqmlinfo.h>
67 , m_initialized(
false)
82 return m_defaultLogLevel;
87 return m_category.get();
98 qmlWarning(
this) <<
QLatin1String(
"Declaring the name of a LoggingCategory is mandatory and cannot be changed later");
111 qmlWarning(
this) <<
QLatin1String(
"The defaultLogLevel of a LoggingCategory cannot be changed after the component is completed");
122 if (m_name == newName)
126 qmlWarning(
this) <<
QLatin1String(
"The name of a LoggingCategory cannot be changed after the component is completed");
133#include "moc_qqmlloggingcategory_p.cpp"
const char * constData() const noexcept
Returns a pointer to the const data stored in the byte array.
bool isNull() const noexcept
Returns true if this byte array is null; otherwise returns false.
void setDefaultLogLevel(DefaultLogLevel defaultLogLevel)
void setName(const QString &name)
QLoggingCategory * category() const
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
QQmlLoggingCategory(QObject *parent=nullptr)
\qmltype LoggingCategory\inqmlmodule QtQml
DefaultLogLevel defaultLogLevel
void classBegin() override
Invoked after class creation, but before any properties have been set.
virtual ~QQmlLoggingCategory()
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Q_QML_EXPORT QQmlInfo qmlWarning(const QObject *me)
QLatin1StringView QLatin1String
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent