diff options
author | kh <karsten.heimrich@theqtcompany.com> | 2014-11-27 14:10:15 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-12-02 13:28:59 +0100 |
commit | cd9782fd09420af12c5127468bdcb214efc633fe (patch) | |
tree | 1f6f6ca6295f4fdc1d00f9daffa7f167540c0c3c /src/libs/installer/remoteclient.h | |
parent | 2e05d089af226f798cbae3f44ff9d131bf682024 (diff) |
Remove occurrences of QHostAddress.
The overload of QAbstractSocket::connectToHost() did convert to
QHostAddress back to QString to call the other connect version.
Change-Id: Idd4089fd92cfd9b103786395a455d0a18abc2c4a
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/remoteclient.h')
-rw-r--r-- | src/libs/installer/remoteclient.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/libs/installer/remoteclient.h b/src/libs/installer/remoteclient.h index 8ba8a0649..f2c268626 100644 --- a/src/libs/installer/remoteclient.h +++ b/src/libs/installer/remoteclient.h @@ -40,11 +40,6 @@ #include <QScopedPointer> -QT_BEGIN_NAMESPACE -class QHostAddress; -class QStringList; -QT_END_NAMESPACE - namespace QInstaller { class RemoteClientPrivate; @@ -59,10 +54,10 @@ public: void init(quint16 port, const QString &key, Protocol::Mode mode, Protocol::StartAs startAs); void shutdown(); - void init(quint16 port, const QHostAddress &address, Protocol::Mode mode); + void init(quint16 port, const QString &address, Protocol::Mode mode); quint16 port() const; - QHostAddress address() const; + QString address() const; QString authorizationKey() const; bool isActive() const; |