#include <QtNetwork/qftp.h>
#ifndef QFTP_H
#ifndef QT_NO_FTP
class QFtp: public QObject{
   /* Some contents are skipped to improve readability */
   public: enum Error{
      NoError = 0,
      UnknownError = 1,
      HostNotFound = 2,
      ConnectionRefused = 3,
      NotConnected = 4,
   };
   /* ... */
};
#endif // QT_NO_FTP
#endif // QFTP_H