4#ifndef QSOCKETNOTIFIER_H
5#define QSOCKETNOTIFIER_H
7#include <QtCore/qobject.h>
30 bool isEnabled()
const;
33 void setEnabled(
bool);
50#if defined(Q_MOC_RUN) || defined(BUILDING_QSOCKETNOTIFIER) || defined(Q_QDOC)
64#if defined(Q_OS_WIN) || defined(Q_QDOC)
66#define Q_DECL_CONSTEXPR_NOT_WIN
69#define Q_DECL_CONSTEXPR_NOT_WIN Q_DECL_CONSTEXPR
77#if defined(Q_OS_WIN) || defined(Q_QDOC)
90 return lhs.sockfd == rhs.sockfd;
92#if defined(Q_OS_WIN) || defined(Q_QDOC)
98#undef Q_DECL_CONSTEXPR_NOT_WIN
Q_DECL_CONSTEXPR_NOT_WIN bool isValid() const noexcept
Q_DECL_CONSTEXPR_NOT_WIN Q_IMPLICIT QSocketDescriptor(DescriptorType descriptor=DescriptorType(-1)) noexcept
friend Q_DECL_CONSTEXPR_NOT_WIN bool comparesEqual(const QSocketDescriptor &lhs, const QSocketDescriptor &rhs) noexcept
void activated(QSocketDescriptor socket, QSocketNotifier::Type activationEvent, QPrivateSignal)
Type
This enum describes the various types of events that a socket notifier can recognize.
Combined button and popup list for selecting options.
#define Q_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE(...)
#define Q_DECLARE_EQUALITY_COMPARABLE(...)
#define Q_DECL_CONSTEXPR_NOT_WIN