Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class WFolder: public QObject
- {
- Q_OBJECT
- Q_PROPERTY(QString name READ name WRITE setName)
- Q_PROPERTY(QString pkey READ pkey WRITE setPkey)
- Q_PROPERTY(QString id READ id WRITE setId)
- Q_PROPERTY(QString folder_id READ folder_id WRITE setFolderId)
- Q_PROPERTY(QString remote_id READ remote_id WRITE setRemoteId)
- Q_PROPERTY(QString version READ version WRITE setVersion)
- Q_PROPERTY(QString time_create READ time_create WRITE setTimeCreate)
- Q_PROPERTY(QString time_modify READ time_modify WRITE setTimeModify)
- Q_PROPERTY(QString status READ status WRITE setStatus)
- Q_PROPERTY(QString sync_status READ sync_status WRITE setSyncStatus)
- Q_PROPERTY(QString sync_error READ sync_error WRITE setSyncError)
- public:
- QString name () const { return name_; }
- QString pkey () const { return pkey_; }
- QString id () const { return id_; }
- QString folder_id () const { return folder_id_; }
- QString remote_id () const { return remote_id_; }
- QString version () const { return version_; }
- QString time_create() const { return time_create_; }
- QString time_modify() const { return time_modify_; }
- QString status () const { return status_; }
- QString sync_status() const { return sync_status_; }
- QString sync_error () const { return sync_error_; }
- public slots:
- void setName (QString value) { name_ = value; }
- void setPkey (QString value) { pkey_ = value; }
- void setId (QString value) { id_ = value; }
- void setFolderId (QString value) { folder_id_ = value; }
- void setRemoteId (QString value) { remote_id_ = value; }
- void setVersion (QString value) { version_ = value; }
- void setTimeCreate(QString value) { time_create_ = value; }
- void setTimeModify(QString value) { time_modify_ = value; }
- void setStatus (QString value) { status_ = value; }
- void setSyncStatus(QString value) { sync_status_ = value; }
- void setSyncError (QString value) { sync_error_ = value; }
- private:
- QString name_;
- QString pkey_;
- QString id_;
- QString folder_id_;
- QString remote_id_;
- QString version_;
- QString time_create_;
- QString time_modify_;
- QString status_;
- QString sync_status_;
- QString sync_error_;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement