Classified ads
|
class for display of single classified ad More...
#include <profilecommentdisplay.h>
Public Member Functions | |
ProfileCommentDisplay (QWidget *aParent, MController *aController, ProfileCommentListingModel *aListingModel, ProfileCommentModel &aCommentModel, const Hash &aFirstCommentToDisplay, const Hash &aViewedProfile, Profile &aSelectedProfile) | |
~ProfileCommentDisplay () | |
Private Slots | |
void | closeButtonClicked () |
void | newCommentButtonClicked () |
void | exportSharedFile () |
void | currentItemChanged (const QModelIndex ¤t, const QModelIndex &previous) |
Additional Inherited Members | |
Signals inherited from DialogBase | |
void | error (MController::CAErrorSituation aError, const QString &aExplanation) |
Protected Slots inherited from DialogBase | |
void | attachButtonClicked () |
Protected Member Functions inherited from DialogBase | |
DialogBase (QWidget *aParent, MController *aController, Profile &aSelectedProfile) | |
Hash | publishBinaryAttachment (const MetadataQueryDialog::MetadataResultSet &aFileMetadata, bool aForceNoEncryption=false, const QList< Hash > *aBinaryRecipientList=NULL) |
Protected Attributes inherited from DialogBase | |
MController * | iController |
Profile & | iSelectedProfile |
QList< MetadataQueryDialog::MetadataResultSet > | iFilesAboutToBeAttached |
QLabel * | iAttachmentListLabel |
class for display of single classified ad
ProfileCommentDisplay::ProfileCommentDisplay | ( | QWidget * | aParent, |
MController * | aController, | ||
ProfileCommentListingModel * | aListingModel, | ||
ProfileCommentModel & | aCommentModel, | ||
const Hash & | aFirstCommentToDisplay, | ||
const Hash & | aViewedProfile, | ||
Profile & | aSelectedProfile | ||
) |
Constructor.
aParent | is owner-window of this dialog |
aController | application controller reference |
aListingModel | where the content comes from |
aCommentModel | needed when posting new comments |
aFirstCommentToDisplay | where dialog should scroll initialy |
aViewedProfile | profile whose comments are displayed |
ProfileCommentDisplay::~ProfileCommentDisplay | ( | ) |
destructor
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
method for handling "add comment"-button
|
private |
|
private |
|
private |
context-menu action for saving to filesystem a shared file
|
private |
|
private |
|
private |
|
private |
|
private |