QHostInfo: add a Qt 7 note

Change-Id: I45ee4eba1f7ded358acaccf678e4e12a006b91b6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Giuseppe D'Angelo 2023-09-04 20:10:45 +02:00
parent d5eed2c5f5
commit dd50d58af2
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ static int nextId()
\sa abortHostLookup(), addresses(), error(), fromName()
*/
int QHostInfo::lookupHost(const QString &name, QObject *receiver, const char *member)
int QHostInfo::lookupHost(const QString &name, QT7_ONLY(const) QObject *receiver, const char *member)
{
return QHostInfo::lookupHostImpl(name, receiver, nullptr, member);
}

View File

@ -48,7 +48,7 @@ public:
void setLookupId(int id);
int lookupId() const;
static int lookupHost(const QString &name, QObject *receiver, const char *member);
static int lookupHost(const QString &name, QT7_ONLY(const) QObject *receiver, const char *member);
static void abortHostLookup(int lookupId);
static QHostInfo fromName(const QString &name);