QBtRemoteFileInfo.h 726 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef QBTREMOTEFILEINFO_H
  2. #define QBTREMOTEFILEINFO_H
  3. #include <QString>
  4. #include <QObject>
  5. #include <QBtGlobal.h>
  6. #include <QDate>
  7. QBT_NAMESPACE_BEGIN
  8. class DLL_EXPORT QBtRemoteFileInfo : public QObject{
  9. Q_OBJECT
  10. public:
  11. QBtRemoteFileInfo(QObject* parent=0);
  12. QBtRemoteFileInfo(const QBtRemoteFileInfo& fileInfo);
  13. QString toString();
  14. QBtRemoteFileInfo& operator=(const QBtRemoteFileInfo& fileInfo);
  15. public:
  16. QString absolutePath;
  17. QString fileName;
  18. QString path;
  19. bool isDir;
  20. int type;
  21. int size;
  22. QDate creationTime;
  23. QDate lastAccessTime;
  24. QDate lastWriteTime;
  25. };
  26. QBT_NAMESPACE_END
  27. Q_DECLARE_METATYPE(QBT_PREPEND_NAMESPACE(QBtRemoteFileInfo))
  28. #endif // QBTREMOTEFILEINFO_H