QHostInfo: add a Qt 7 note
Change-Id: I45ee4eba1f7ded358acaccf678e4e12a006b91b6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d5eed2c5f5
commit
dd50d58af2
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user