#include <QtNetwork/qftp.h>
#ifndef QFTP_H
#ifndef QT_NO_FTP
class QFtp: public QObject{
   /* Some contents are skipped to improve readability */
   public: enum TransferType{
      Binary = 0,
      Ascii = 1,
   };
   /* ... */
};
#endif // QT_NO_FTP
#endif // QFTP_H