#include <QtCore/qstring.h> #ifndef QSTRING_H class QString{ /* Some contents are skipped to improve readability */ public: bool operator ==(class QString const & s) const /* ... */ }; #endif // QSTRING_H