Migrates flm handlers and objects to plain member access
This commit is contained in:
1 parent
e156fbb5e4
commit
3c058facd7
9 files changed
+217
-217
No files matched your search
@@ -32,10 +32,10 @@ public:
|
||||
Core::FunctionReplyObject setUsedBy(const FileContentSetUsedRequest &request);
|
||||
Core::FunctionReplyObject removeObject();
|
||||
|
||||
qint32 getId() const { return m_data.id(); }
|
||||
qint32 getFolderId() const { return m_data.folderId(); }
|
||||
qint32 getId() const { return m_data.id; }
|
||||
qint32 getFolderId() const { return m_data.folderId; }
|
||||
const FileContent &getData() const { return m_data; }
|
||||
QString getName() const { return QString::fromStdString(m_data.name()); }
|
||||
QString getName() const { return QString::fromStdString(m_data.name); }
|
||||
// const std::vector<uint8_t> &getContent() const { return m_content; }
|
||||
|
||||
bool isValid() const;
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
bool isHidden() const;
|
||||
|
||||
Core::FunctionReplyObject setUsed(bool isUsed);
|
||||
void setExportFileName(const std::string &fileName) { m_data.exportFileName().set(fileName); }
|
||||
void setExportFileName(const std::string &fileName) { m_data.exportFileName = fileName; }
|
||||
// void setContent(std::vector<uint8_t> &&content) { m_content = std::move(content); }
|
||||
|
||||
// convert methods
|
||||
|
||||
Reference in new issue
Block a user