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