4#ifndef QQMLPROFILEREVENTLOCATION_P_H
5#define QQMLPROFILEREVENTLOCATION_P_H
7#include <QtCore/qstring.h>
8#include <QtCore/qhash.h>
9#include <QtCore/qdatastream.h>
10#include <QtCore/private/qglobal_p.h>
30 m_filename(
file), m_line(lineNumber), m_column(columnNumber)
36 m_line = m_column = -1;
45 int line()
const {
return m_line; }
46 int column()
const {
return m_column; }
68 return !(location1 == location2);
75 | ((
location.column() << 16) & 0xff0000));
\inmodule QtCore\reentrant
QQmlProfilerEventLocation()
friend QDataStream & operator<<(QDataStream &stream, const QQmlProfilerEventLocation &location)
QQmlProfilerEventLocation(const QString &file, int lineNumber, int columnNumber)
friend QDataStream & operator>>(QDataStream &stream, QQmlProfilerEventLocation &location)
\macro QT_RESTRICTED_CAST_FROM_ASCII
void clear()
Clears the contents of the string and makes it null.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Combined button and popup list for selecting options.
size_t qHash(const QQmlProfilerEventLocation &location)
QDataStream & operator<<(QDataStream &stream, const QQmlProfilerEventLocation &location)
bool operator!=(const QQmlProfilerEventLocation &location1, const QQmlProfilerEventLocation &location2)
bool operator==(const QQmlProfilerEventLocation &location1, const QQmlProfilerEventLocation &location2)
QDataStream & operator>>(QDataStream &stream, QQmlProfilerEventLocation &location)
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)