#include <QtCore/qstring.h> #ifndef QSTRING_H class QCharRef{ /* Some contents are skipped to improve readability */ private: class QString& s; /* ... */ }; #endif // QSTRING_H