#include <QtNetwork/qhostaddress.h> #ifndef QHOSTADDRESS_H class QIPv6Address{ /* Some contents are skipped to improve readability */ public: inline quint8 operator [](int index) const /* ... */ }; #endif // QHOSTADDRESS_H