#include <QtCore/qstring.h> #ifndef QSTRING_H class QCharRef{ /* Some contents are skipped to improve readability */ private: inline QCharRef(class QString& str, int idx); /* ... */ }; #endif // QSTRING_H