Carrier-class for classified ad.
More...
#include <ca.h>
Carrier-class for classified ad.
Instances of this class are stored and retrieved using ClassifiedAdsModel.
◆ CA()
◆ ~CA()
◆ asJSon()
QByteArray CA::asJSon |
( |
const MController & |
aController | ) |
const |
returns ad data as JSon stream
◆ displayName()
QString CA::displayName |
( |
| ) |
const |
method for string that is shown to user about the ad.
- Returns
- string to display to user
◆ fromJSon()
bool CA::fromJSon |
( |
const QByteArray & |
aJSonBytes, |
|
|
const MController & |
aController |
|
) |
| |
◆ iAboutComboBoxIndex
int CA::iAboutComboBoxIndex |
◆ iAboutComboBoxText
QString CA::iAboutComboBoxText |
◆ iAttachedFiles
QList<Hash> CA::iAttachedFiles |
file attachements ; they're published as normal binary blobs and then just listed here
◆ iConcernsComboBoxIndex
int CA::iConcernsComboBoxIndex |
◆ iConcernsComboBoxText
QString CA::iConcernsComboBoxText |
◆ iFingerPrint
hash of the message text .. more specifically hash of the ad when it is serialized into json
◆ iGroup
about-concerning-where -string - a bit like usenet newsgroup
◆ iInComboBoxIndex
◆ iInComboBoxText
QString CA::iInComboBoxText |
◆ iMessageText
◆ iProfileKey
QByteArray CA::iProfileKey |
in case of private profile, include only key
◆ iReplyTo
Possible reference to another post that this is reply to
◆ iSenderHash
profile fingerprint of the sender
◆ iSenderName
nickname/display-name of sender ; may empty if private profile
◆ iSubject
◆ iTimeOfPublish
quint32 CA::iTimeOfPublish |
The documentation for this class was generated from the following file: