Renamed some setters for consistency.
[qwerkisync] / EventTypes / SMS.h
index 696003a..ce79556 100644 (file)
@@ -50,23 +50,25 @@ namespace EventTypes
                virtual const uint HashCode() const;
 
                const float Version() const { return m_Version; }
-               void setVersion(const float version) { m_Version = version; }
+               void Version(const float version) { m_Version = version; }
 
                const bool IsRead() const { return m_Read; }
-               void setIsRead(const bool isRead) { m_Read = isRead; }
+               void IsRead(const bool isRead) { m_Read = isRead; }
 
                const eDestination Destination() const { return m_Destination; }
-               void setDestination(const eDestination destination) { m_Destination = destination; }
+               void Destination(const eDestination destination) { m_Destination = destination; }
 
                virtual const QDateTime Timestamp() const { return m_Timestamp; }
-               void setTimestamp(const QDateTime timestamp) { m_Timestamp = timestamp; }
+               void Timestamp(const QDateTime timestamp) { m_Timestamp = timestamp; }
 
                const QString Tel() const { return m_Tel; }
-               void setTel(const QString tel) { m_Tel = tel; }
+               void Tel(const QString tel) { m_Tel = tel; }
 
                QString Contents() const { return m_Contents; }
-               void setContents(const QString contents) { m_Contents = contents; }
+               void Contents(const QString contents) { m_Contents = contents; }
 
+               bool Pending() const { return m_Pending; }
+               void Pending(const bool pending) { m_Pending = pending; }
                virtual const AttachmentCollection & Attachments() const { return m_Attachments; }
                virtual AttachmentCollection & Attachments() { return m_Attachments; }
 
@@ -87,6 +89,7 @@ namespace EventTypes
                QString m_Tel;
                QString m_Contents;
                AttachmentCollection m_Attachments;
+               bool m_Pending;
        };
 }