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