#include <QtCore/qsocketnotifier.h>
#ifndef QSOCKETNOTIFIER_H
class QSocketNotifier: public QObject{
   /* Some contents are skipped to improve readability */
   public: enum Type{
      Read = 0,
      Write = 1,
      Exception = 2,
   };
   /* ... */
};
#endif // QSOCKETNOTIFIER_H