|
template<class T > |
using | ArgumentType = typename Argument< T >::Type |
|
template<class T , class MapFunctor > |
using | MapResultType = typename MapResult< T, MapFunctor >::Type |
|
template<class Callable , class Sequence > |
using | isInvocable = std::is_invocable< Callable, typename std::decay_t< Sequence >::value_type > |
|
using | CompareUnderlyingType = qint8 |
|
template<typename T > |
using | if_volatile = std::enable_if_t< std::is_volatile_v< T >, bool > |
|
template<typename T > |
using | qRemovePointerLike_t = typename qRemovePointerLike< T >::type |
|
template<typename Func > |
using | FunctionStorage = typename std::conditional_t< std::conjunction_v< std::is_empty< Func >, std::negation< std::is_final< Func > > >, FunctionStorageEmptyBaseClassOptimization< Func >, FunctionStorageByValue< Func > > |
|
template<class T > |
using | InvokeGenSeq = typename T::Type |
|
template<int N, class S1 , class S2 > |
using | ConcatSeq = InvokeGenSeq< ConcatSeqImpl< N, S1, S2 > > |
|
template<int N> |
using | makeIndexSequence = InvokeGenSeq< GenSeq< N > > |
|
template<typename Func > |
using | QSlotObjectWithNoArgs = QSlotObject< Func, QtPrivate::List<>, typename QtPrivate::FunctionPointer< Func >::ReturnType > |
|
template<typename Func , typename R > |
using | QFunctorSlotObjectWithNoArgs = QFunctorSlotObject< Func, 0, QtPrivate::List<>, R > |
|
template<typename Func > |
using | QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs< Func, typename QtPrivate::FunctionPointer< Func >::ReturnType > |
|
using | QPropertyObserverCallback = void(*)(QUntypedPropertyData *) |
|
using | QPropertyBindingWrapper = bool(*)(QMetaType, QUntypedPropertyData *dataPtr, QPropertyBindingFunction) |
|
template<typename Char > |
using | IsCompatibleChar8TypeHelper = std::disjunction< std::is_same< Char, char >, std::is_same< Char, uchar >, std::is_same< Char, signed char > > |
|
template<typename Char > |
using | IsCompatibleChar8Type = IsCompatibleChar8TypeHelper< std::remove_cv_t< std::remove_reference_t< Char > >> |
|
template<typename Pointer > |
using | IsCompatiblePointer8 = IsCompatiblePointer8Helper< std::remove_cv_t< std::remove_reference_t< Pointer > >> |
|
template<class T > |
using | EnableForVoid = std::enable_if_t< std::is_same_v< T, void > > |
|
template<class T > |
using | EnableForNonVoid = std::enable_if_t<!std::is_same_v< T, void > > |
|
template<class Arg , class... Args> |
using | FilterLastPrivateSignalArg = std::conditional_t<(sizeof...(Args) > 0), std::invoke_result_t< decltype(createTuple< Arg, Args... >), Arg, Args... >, std::conditional_t< IsPrivateSignalArg< Arg >, void, Arg > > |
|
template<class Class , class Callable > |
using | EnableIfInvocable = std::enable_if_t< QtPrivate::ArgResolver< Callable >::template CanInvokeWithArgs< Class, Callable > > |
|
template<class T > |
using | isQFuture = std::bool_constant< isQFutureV< T > > |
|
template<class... Args> |
using | NotEmpty = std::bool_constant<(sizeof...(Args) > 0)> |
|
template<class Sequence > |
using | IsRandomAccessible = std::is_convertible< typename std::iterator_traits< std::decay_t< decltype(std::begin(std::declval< Sequence >()))> >::iterator_category, std::random_access_iterator_tag > |
|
template<class Iterator > |
using | IsForwardIterable = std::is_convertible< typename std::iterator_traits< Iterator >::iterator_category, std::forward_iterator_tag > |
|
template<class T , class U > |
using | EnableIfSameOrConvertible = std::enable_if_t< std::is_convertible_v< T, U > > |
|
template<typename Iterator > |
using | IfIsInputIterator = typename std::enable_if< std::is_convertible< typename std::iterator_traits< Iterator >::iterator_category, std::input_iterator_tag >::value, bool >::type |
|
template<typename Iterator > |
using | IfIsForwardIterator = typename std::enable_if< std::is_convertible< typename std::iterator_traits< Iterator >::iterator_category, std::forward_iterator_tag >::value, bool >::type |
|
template<typename Iterator > |
using | IfIsNotForwardIterator = typename std::enable_if< !std::is_convertible< typename std::iterator_traits< Iterator >::iterator_category, std::forward_iterator_tag >::value, bool >::type |
|
template<typename Iterator > |
using | IfAssociativeIteratorHasKeyAndValue = typename std::enable_if< AssociativeIteratorHasKeyAndValue< Iterator >::value, bool >::type |
|
template<typename Iterator > |
using | IfAssociativeIteratorHasFirstAndSecond = typename std::enable_if< AssociativeIteratorHasFirstAndSecond< Iterator >::value, bool >::type |
|
template<typename T , typename U > |
using | IfIsNotSame = typename std::enable_if<!std::is_same< T, U >::value, bool >::type |
|
template<typename T , typename U > |
using | IfIsNotConvertible = typename std::enable_if<!std::is_convertible< T, U >::value, bool >::type |
|
template<typename... T> |
using | QHashMultiReturnType = decltype(std::declval< std::enable_if_t<(sizeof...(T) > 0)> >(),(qHash(std::declval< const T & >()),...), size_t{}) |
|
template<typename ManualType , typename... Types> |
using | ArrayType = std::array< typename ArrayTypeHelper< ManualType, Types... >::type, sizeof...(Types)> |
|
|
bool | shouldLogToStderr () |
|
template<typename T , QtPrivate::if_volatile< T > = true> |
auto | volatilePreIncrement (T &x) |
|
template<typename T , QtPrivate::if_volatile< T > = true> |
auto | volatilePreDecrement (T &x) |
|
template<typename SequentialContainer > |
QDebug | printSequentialContainer (QDebug debug, const char *which, const SequentialContainer &c) |
|
template<typename AssociativeContainer > |
QDebug | printAssociativeContainer (QDebug debug, const char *which, const AssociativeContainer &c) |
|
template<typename T > |
T | legacyEnumValueFromModelData (const QVariant &data) |
|
template<typename T > |
T | legacyFlagValueFromModelData (const QVariant &data) |
|
| Q_LOGGING_CATEGORY (lcEventDispatcher, "qt.eventdispatcher") |
|
| Q_LOGGING_CATEGORY (lcEventDispatcherTimers, "qt.eventdispatcher.timers") |
|
Q_CORE_EXPORT | Q_DECLARE_LOGGING_CATEGORY (lcEventDispatcher) |
|
constexpr quint32 | qConstexprNextPowerOfTwo (quint32 v) |
|
constexpr quint64 | qConstexprNextPowerOfTwo (quint64 v) |
|
constexpr quint32 | qConstexprNextPowerOfTwo (qint32 v) |
|
constexpr quint64 | qConstexprNextPowerOfTwo (qint64 v) |
|
template<typename T > |
constexpr const QMetaTypeInterface * | qMetaTypeInterfaceForType () |
|
Q_CORE_EXPORT bool | isBuiltinType (const QByteArray &type) |
|
template<typename From , typename To > |
To | convertImplicit (const From &from) |
|
template<typename T > |
char | qt_getEnumMetaObject (const T &) |
|
constexpr int | qNormalizeType (const char *begin, const char *end, char *output) |
|
template<typename T > |
constexpr auto | typenameHelper () |
|
QT_WARNING_PUSH | QT_WARNING_DISABLE_GCC ("-Wattributes") QT_WARNING_POP template< typename T > const expr const QMetaTypeInterface *qMetaTypeInterfaceForType() |
|
template<typename Unique , typename TypeCompletePair > |
constexpr const QMetaTypeInterface * | qTryMetaTypeInterfaceForType () |
|
QObject & | deref_for_methodcall (QObject &o) |
|
QObject & | deref_for_methodcall (QObject *o) |
|
template<typename ObjPrivate > |
void | assertObjectType (QObjectPrivate *d) |
|
template<typename T , typename U > |
void | operator, (T &&value, const ApplyReturnValue< U > &container) |
|
template<typename T > |
void | operator, (T, const ApplyReturnValue< void > &) |
|
template<typename Obj > |
void | assertObjectType (QObject *o) |
|
void | initBindingStatusThreadId () |
|
BindingEvaluationState * | suspendCurrentBindingStatus () |
|
void | restoreBindingStatus (BindingEvaluationState *status) |
|
bool | isAnyBindingEvaluating () |
|
bool | isPropertyInBindingWrapper (const QUntypedPropertyData *property) |
|
template<typename Container > |
QDataStream & | readArrayBasedContainer (QDataStream &s, Container &c) |
|
template<typename Container > |
QDataStream & | readListBasedContainer (QDataStream &s, Container &c) |
|
template<typename Container > |
QDataStream & | readAssociativeContainer (QDataStream &s, Container &c) |
|
template<typename Container > |
QDataStream & | writeSequentialContainer (QDataStream &s, const Container &c) |
|
template<typename Container > |
QDataStream & | writeAssociativeContainer (QDataStream &s, const Container &c) |
|
template<typename Container > |
QDataStream & | writeAssociativeMultiContainer (QDataStream &s, const Container &c) |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | startsWith (QByteArrayView haystack, QByteArrayView needle) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | endsWith (QByteArrayView haystack, QByteArrayView needle) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | findByteArray (QByteArrayView haystack, qsizetype from, QByteArrayView needle) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | lastIndexOf (QByteArrayView haystack, qsizetype from, QByteArrayView needle) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | count (QByteArrayView haystack, QByteArrayView needle) noexcept |
|
Q_CORE_EXPORT int | compareMemory (QByteArrayView lhs, QByteArrayView rhs) |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QByteArrayView | trimmed (QByteArrayView s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | isValidUtf8 (QByteArrayView s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< double > | toDouble (QByteArrayView a) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< float > | toFloat (QByteArrayView a) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< qlonglong > | toSignedInteger (QByteArrayView data, int base) |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< qulonglong > | toUnsignedInteger (QByteArrayView data, int base) |
|
QByteArray Q_CORE_EXPORT | QByteArrayList_join (const QByteArrayList *that, const char *sep, qsizetype len) |
|
const QString & | asString (const QString &s) |
|
QString && | asString (QString &&s) |
|
Q_CORE_EXPORT QString | argToQString (QStringView pattern, size_t n, const ArgBase **args) |
|
Q_CORE_EXPORT QString | argToQString (QLatin1String pattern, size_t n, const ArgBase **args) |
|
template<typename StringView , typename... Args> |
Q_ALWAYS_INLINE QString | argToQStringDispatch (StringView pattern, const Args &...args) |
|
QStringViewArg | qStringLikeToArg (const QString &s) noexcept |
|
constexpr QStringViewArg | qStringLikeToArg (QStringView s) noexcept |
|
QStringViewArg | qStringLikeToArg (const QChar &c) noexcept |
|
constexpr QLatin1StringArg | qStringLikeToArg (QLatin1String s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | qustrlen (const char16_t *str) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const char16_t * | qustrchr (QStringView str, char16_t ch) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QStringView lhs, QBasicUtf8StringView< false > rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QLatin1String lhs, QBasicUtf8StringView< false > rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QBasicUtf8StringView< false > lhs, QStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QBasicUtf8StringView< false > lhs, QLatin1String rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int | compareStrings (QBasicUtf8StringView< false > lhs, QBasicUtf8StringView< false > rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QStringView lhs, QStringView rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QStringView lhs, QLatin1String rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QStringView lhs, QBasicUtf8StringView< false > rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QLatin1String lhs, QStringView rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QLatin1String lhs, QLatin1String rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QLatin1String lhs, QBasicUtf8StringView< false > rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QBasicUtf8StringView< false > lhs, QStringView rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QBasicUtf8StringView< false > lhs, QLatin1String rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | equalStrings (QBasicUtf8StringView< false > lhs, QBasicUtf8StringView< false > rhs) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | startsWith (QStringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | startsWith (QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | startsWith (QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | startsWith (QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | endsWith (QStringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | endsWith (QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | endsWith (QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | endsWith (QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | findString (QStringView haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | findString (QStringView haystack, qsizetype from, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | findString (QLatin1String haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | findString (QLatin1String haystack, qsizetype from, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | lastIndexOf (QStringView haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | lastIndexOf (QStringView haystack, qsizetype from, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | lastIndexOf (QLatin1String haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | lastIndexOf (QLatin1String haystack, qsizetype from, QLatin1String needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView | trimmed (QStringView s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String | trimmed (QLatin1String s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | count (QStringView haystack, QChar needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype | count (QStringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
|
Q_CORE_EXPORT QString | convertToQString (QAnyStringView s) |
|
Q_CORE_EXPORT QByteArray | convertToLatin1 (QStringView str) |
|
Q_CORE_EXPORT QByteArray | convertToUtf8 (QStringView str) |
|
Q_CORE_EXPORT QByteArray | convertToLocal8Bit (QStringView str) |
|
Q_CORE_EXPORT QList< uint > | convertToUcs4 (QStringView str) |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | isRightToLeft (QStringView string) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | isAscii (QLatin1String s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | isAscii (QStringView s) noexcept |
|
constexpr bool | isLatin1 (QLatin1String s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | isLatin1 (QStringView s) noexcept |
|
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool | isValidUtf16 (QStringView s) noexcept |
|
void Q_CORE_EXPORT | QStringList_sort (QStringList *that, Qt::CaseSensitivity cs) |
|
qsizetype Q_CORE_EXPORT | QStringList_removeDuplicates (QStringList *that) |
|
QString Q_CORE_EXPORT | QStringList_join (const QStringList *that, QStringView sep) |
|
QString Q_CORE_EXPORT | QStringList_join (const QStringList *that, const QChar *sep, qsizetype seplen) |
|
Q_CORE_EXPORT QString | QStringList_join (const QStringList &list, QLatin1String sep) |
|
QStringList Q_CORE_EXPORT | QStringList_filter (const QStringList *that, QStringView str, Qt::CaseSensitivity cs) |
|
bool Q_CORE_EXPORT | QStringList_contains (const QStringList *that, QStringView str, Qt::CaseSensitivity cs) |
|
bool Q_CORE_EXPORT | QStringList_contains (const QStringList *that, QLatin1String str, Qt::CaseSensitivity cs) |
|
void Q_CORE_EXPORT | QStringList_replaceInStrings (QStringList *that, QStringView before, QStringView after, Qt::CaseSensitivity cs) |
|
template<class Tuple , std::size_t... I> |
auto | cutTuple (Tuple &&t, std::index_sequence< I... >) |
|
template<class Arg , class... Args> |
auto | createTuple (Arg &&arg, Args &&... args) |
|
template<class T > |
void | fulfillPromise (QPromise< T > &promise, QFuture< T > &future) |
|
template<class T , class Function > |
void | fulfillPromise (QPromise< T > &promise, Function &&handler) |
|
template<qsizetype Index, typename ContextType , typename... Ts> |
void | addCompletionHandlersImpl (const QSharedPointer< ContextType > &context, const std::tuple< Ts... > &t) |
|
template<typename ContextType , typename... Ts> |
void | addCompletionHandlers (const QSharedPointer< ContextType > &context, const std::tuple< Ts... > &t) |
|
template<typename OutputSequence , typename InputIt , typename ValueType > |
QFuture< OutputSequence > | whenAllImpl (InputIt first, InputIt last) |
|
template<typename OutputSequence , typename... Futures> |
QFuture< OutputSequence > | whenAllImpl (Futures &&... futures) |
|
template<typename InputIt , typename ValueType > |
QFuture< QtFuture::WhenAnyResult< typename Future< ValueType >::type > > | whenAnyImpl (InputIt first, InputIt last) |
|
template<typename... Futures> |
QFuture< std::variant< std::decay_t< Futures >... > > | whenAnyImpl (Futures &&... futures) |
|
constexpr uint | qConstexprCountTrailingZeroBits (quint32 v) noexcept |
|
constexpr uint | qConstexprCountTrailingZeroBits (quint64 v) noexcept |
|
constexpr uint | qConstexprCountTrailingZeroBits (quint8 v) noexcept |
|
constexpr uint | qConstexprCountTrailingZeroBits (quint16 v) noexcept |
|
constexpr uint | qConstexprCountTrailingZeroBits (unsigned long v) noexcept |
|
template<typename T , typename N > |
void | q_uninitialized_move_if_noexcept_n (T *first, N n, T *out) |
|
template<typename T , typename N > |
void | q_uninitialized_relocate_n (T *first, N n, T *out) |
|
template<typename iterator , typename N > |
void | q_relocate_overlap_n_left_move (iterator first, N n, iterator d_first) |
|
template<typename T , typename N > |
void | q_relocate_overlap_n (T *first, N n, T *d_first) |
|
template<typename Container , typename InputIterator , IfIsNotForwardIterator< InputIterator > = true> |
void | reserveIfForwardIterator (Container *, InputIterator, InputIterator) |
|
template<typename Container , typename ForwardIterator , IfIsForwardIterator< ForwardIterator > = true> |
void | reserveIfForwardIterator (Container *c, ForwardIterator f, ForwardIterator l) |
|
template<typename Container , typename Predicate > |
auto | sequential_erase_if (Container &c, Predicate &pred) |
|
template<typename Container , typename T > |
auto | sequential_erase (Container &c, const T &t) |
|
template<typename Container , typename T > |
auto | sequential_erase_with_copy (Container &c, const T &t) |
|
template<typename Container , typename T > |
auto | sequential_erase_one (Container &c, const T &t) |
|
template<typename T , typename Predicate > |
qsizetype | qset_erase_if (QSet< T > &set, Predicate &pred) |
|
template<typename Container , typename Predicate > |
auto | associative_erase_if (Container &c, Predicate &pred) |
|
template<typename V , typename U > |
qsizetype | indexOf (const QList< V > &list, const U &u, qsizetype from) noexcept |
|
template<typename V , typename U > |
qsizetype | lastIndexOf (const QList< V > &list, const U &u, qsizetype from) noexcept |
|
template<typename T , typename U > |
qsizetype | indexOf (const QList< T > &vector, const U &u, qsizetype from) noexcept |
|
template<typename T , typename U > |
qsizetype | lastIndexOf (const QList< T > &vector, const U &u, qsizetype from) noexcept |
|
template<typename T > |
constexpr T && | Forward (typename std::remove_reference< T >::type &t) noexcept |
|
template<typename T > |
constexpr T && | Forward (typename std::remove_reference< T >::type &&t) noexcept |
|
template<typename ... Right, typename ... Left> |
constexpr QuickSortData< Right..., Left... > | quickSortConcat (QuickSortData< Right... >, QuickSortData< Left... >) noexcept |
|
template<typename ... Right, typename Middle , typename ... Left> |
constexpr QuickSortData< Right..., Middle, Left... > | quickSortConcat (QuickSortData< Right... >, QuickSortData< Middle >, QuickSortData< Left... >) noexcept |
|
template<size_t Highest> |
constexpr auto | minifyValue () |
|
template<size_t StringLength, typename Extractor , typename... T> |
constexpr auto | makeStaticString (Extractor extract, const T &... entries) |
|
template<typename StringExtractor , typename... T> |
constexpr auto | qOffsetStringArray (StringExtractor extractString, const T &... entries) |
|
template<typename T > |
constexpr void | swap (QExplicitlySharedDataPointerV2< T > &lhs, QExplicitlySharedDataPointerV2< T > &rhs) noexcept |
|
constexpr quint8 | nextByteSize (quint8 bits) |
|
QPixelFormat | QPixelFormat_createYUV (QPixelFormat::YUVLayout yuvLayout, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder) |
|
template<> |
void | assertObjectType< EmitToDestroyedClass::Derived > (QObject *o) |
|
\macro QT_REQUIRE_VERSION(int argc, char **argv, const char *version) >
This macro can be used to ensure that the application is run with a recent enough version of Qt. This is especially useful if your application depends on a specific bug fix introduced in a bug-fix release (for example, 6.1.2).
The argc and argv parameters are the main()
function's argc
and argv
parameters. The version parameter is a string literal that specifies which version of Qt the application requires (for example, "6.1.2").
Example:
\macro Q_DECL_EXPORT >
This macro marks a symbol for shared library export (see \l{sharedlibrary.html}{Creating Shared Libraries}).
- See also
- Q_DECL_IMPORT
\macro Q_DECL_IMPORT >
This macro declares a symbol to be an import from a shared library (see \l{sharedlibrary.html}{Creating Shared Libraries}).
- See also
- Q_DECL_EXPORT
\macro Q_DECL_CONSTEXPR >
This macro can be used to declare variable that should be constructed at compile-time, or an inline function that can be computed at compile-time.
It expands to "constexpr" if your compiler supports that C++11 keyword, or to nothing otherwise.
- See also
- Q_DECL_RELAXED_CONSTEXPR
\macro Q_DECL_RELAXED_CONSTEXPR >
This macro can be used to declare an inline function that can be computed at compile-time according to the relaxed rules from C++14.
It expands to "constexpr" if your compiler supports C++14 relaxed constant expressions, or to nothing otherwise.
- See also
- Q_DECL_CONSTEXPR
\macro qDebug(const char *message, ...) > \threadsafe
Calls the message handler with the debug message message. If no message handler has been installed, the message is printed to stderr. Under Windows the message is sent to the console, if it is a console application; otherwise, it is sent to the debugger. On QNX, the message is sent to slogger2. This function does nothing if QT_NO_DEBUG_OUTPUT
was defined during compilation.
If you pass the function a format string and a list of arguments, it works in similar way to the C printf() function. The format should be a Latin-1 string.
Example:
If you include
<QtDebug>, a more convenient syntax is also available:
With this syntax, the function returns a QDebug object that is configured to use the QtDebugMsg message type. It automatically puts a single space between each item, and outputs a newline at the end. It supports many C++ and Qt types.
To suppress the output at runtime, install your own message handler with qInstallMessageHandler().
- See also
- qInfo(), qWarning(), qCritical(), qFatal(), qInstallMessageHandler(), {Debugging Techniques}
\macro qInfo(const char *message, ...) > \threadsafe
- Since
- 5.5
Calls the message handler with the informational message message. If no message handler has been installed, the message is printed to stderr. Under Windows, the message is sent to the console, if it is a console application; otherwise, it is sent to the debugger. On QNX the message is sent to slogger2. This function does nothing if QT_NO_INFO_OUTPUT
was defined during compilation.
If you pass the function a format string and a list of arguments, it works in similar way to the C printf() function. The format should be a Latin-1 string.
Example:
If you include
<QtDebug>, a more convenient syntax is also available:
With this syntax, the function returns a QDebug object that is configured to use the QtInfoMsg message type. It automatically puts a single space between each item, and outputs a newline at the end. It supports many C++ and Qt types.
To suppress the output at runtime, install your own message handler using qInstallMessageHandler().
- See also
- qDebug(), qWarning(), qCritical(), qFatal(), qInstallMessageHandler(), {Debugging Techniques}
\macro qWarning(const char *message, ...) > \threadsafe
Calls the message handler with the warning message message. If no message handler has been installed, the message is printed to stderr. Under Windows, the message is sent to the debugger. On QNX the message is sent to slogger2. This function does nothing if QT_NO_WARNING_OUTPUT
was defined during compilation; it exits if at the nth warning corresponding to the counter in environment variable QT_FATAL_WARNINGS
. That is, if the environment variable contains the value 1, it will exit on the 1st message; if it contains the value 10, it will exit on the 10th message. Any non-numeric value is equivalent to 1.
This function takes a format string and a list of arguments, similar to the C printf() function. The format should be a Latin-1 string.
Example:
If you include <QtDebug>, a more convenient syntax is also available:
This syntax inserts a space between each item, and appends a newline at the end.
To suppress the output at runtime, install your own message handler with qInstallMessageHandler().
- See also
- qDebug(), qInfo(), qCritical(), qFatal(), qInstallMessageHandler(), {Debugging Techniques}
\macro qCritical(const char *message, ...) > \threadsafe
Calls the message handler with the critical message message. If no message handler has been installed, the message is printed to stderr. Under Windows, the message is sent to the debugger. On QNX the message is sent to slogger2.
It exits if the environment variable QT_FATAL_CRITICALS is not empty.
This function takes a format string and a list of arguments, similar to the C printf() function. The format should be a Latin-1 string.
Example:
If you include <QtDebug>, a more convenient syntax is also available:
A space is inserted between the items, and a newline is appended at the end.
To suppress the output at runtime, install your own message handler with qInstallMessageHandler().
- See also
- qDebug(), qInfo(), qWarning(), qFatal(), qInstallMessageHandler(), {Debugging Techniques}
\macro qFatal(const char *message, ...) >
Calls the message handler with the fatal message message. If no message handler has been installed, the message is printed to stderr. Under Windows, the message is sent to the debugger. On QNX the message is sent to slogger2.
If you are using the {default message handler} this function will abort to create a core dump. On Windows, for debug builds, this function will report a _CRT_ERROR enabling you to connect a debugger to the application.
This function takes a format string and a list of arguments, similar to the C printf() function.
Example:
To suppress the output at runtime, install your own message handler with qInstallMessageHandler().
- See also
- qDebug(), qInfo(), qWarning(), qCritical(), qInstallMessageHandler(), {Debugging Techniques}
\macro qMove(x) >
- Deprecated:
Use std::move
instead.
It expands to "std::move".
qMove takes an rvalue reference to its parameter x, and converts it to an xvalue.
\macro Q_DECL_NOTHROW >
- Since
- 5.0
This macro marks a function as never throwing, under no circumstances. If the function does nevertheless throw, the behaviour is undefined.
The macro expands to either "throw()", if that has some benefit on the compiler, or to C++11 noexcept, if available, or to nothing otherwise.
If you need C++11 noexcept semantics, don't use this macro, use Q_DECL_NOEXCEPT/Q_DECL_NOEXCEPT_EXPR instead.
- See also
- Q_DECL_NOEXCEPT, Q_DECL_NOEXCEPT_EXPR()
\macro QT_TERMINATE_ON_EXCEPTION(expr) >
\macro Q_DECL_NOEXCEPT >
- Since
- 5.0
This macro marks a function as never throwing. If the function does nevertheless throw, the behaviour is defined: std::terminate() is called.
The macro expands to C++11 noexcept, if available, or to nothing otherwise.
If you need the operator version of C++11 noexcept, use Q_DECL_NOEXCEPT_EXPR(x).
If you don't need C++11 noexcept semantics, e.g. because your function can't possibly throw, don't use this macro, use Q_DECL_NOTHROW instead.
- See also
- Q_DECL_NOTHROW, Q_DECL_NOEXCEPT_EXPR()
\macro Q_DECL_NOEXCEPT_EXPR(x) >
- Since
- 5.0
This macro marks a function as non-throwing if x is true
. If the function does nevertheless throw, the behaviour is defined: std::terminate() is called.
The macro expands to C++11 noexcept(x), if available, or to nothing otherwise.
If you need the always-true version of C++11 noexcept, use Q_DECL_NOEXCEPT.
If you don't need C++11 noexcept semantics, e.g. because your function can't possibly throw, don't use this macro, use Q_DECL_NOTHROW instead.
- See also
- Q_DECL_NOTHROW, Q_DECL_NOEXCEPT
\macro Q_DECL_OVERRIDE
- Since
- 5.0
- Deprecated:
- >
This macro can be used to declare an overriding virtual function. Use of this markup will allow the compiler to generate an error if the overriding virtual function does not in fact override anything.
It expands to "override".
The macro goes at the end of the function, usually after the
{const}, if any:
- See also
- Q_DECL_FINAL
\macro Q_DECL_FINAL
- Since
- 5.0
- Deprecated:
- >
This macro can be used to declare an overriding virtual or a class as "final", with Java semantics. Further-derived classes can then no longer override this virtual function, or inherit from this class, respectively.
It expands to "final".
The macro goes at the end of the function, usually after the
{const}, if any:
For classes, it goes in front of the
{:} in the class definition, if any:
- See also
- Q_DECL_OVERRIDE
\macro Q_FORWARD_DECLARE_OBJC_CLASS(classname)
- Since
- 5.2 >
Forward-declares an Objective-C classname in a manner such that it can be compiled as either Objective-C or C++.
This is primarily intended for use in header files that may be included by both Objective-C and C++ source files.
\macro Q_FORWARD_DECLARE_CF_TYPE(type)
- Since
- 5.2 >
Forward-declares a Core Foundation type. This includes the actual type and the ref type. For example, Q_FORWARD_DECLARE_CF_TYPE(CFString) declares __CFString and CFStringRef.
\macro Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
- Since
- 5.2 >
Forward-declares a mutable Core Foundation type. This includes the actual type and the ref type. For example, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) declares __CFMutableString and CFMutableStringRef.