Classified ads
|
class for allowing posting of a comment about user profile More...
#include <newprofilecommentdialog.h>
Signals | |
void | error (MController::CAErrorSituation aError, const QString &aExplanation) |
Signals inherited from DialogBase | |
void | error (MController::CAErrorSituation aError, const QString &aExplanation) |
Public Member Functions | |
NewProfileCommentDialog (QWidget *aParent, MController *aController, const QString &aCommentedProfile, const QString &aSubject, Profile &aSelectedProfile, ProfileCommentListingModel &aCommentListingModel, const Hash &aReferencesMsg=KNullHash, const Hash &aReferencesCa=KNullHash, const Hash &aRecipientsNode=KNullHash) | |
~NewProfileCommentDialog () | |
Public Member Functions inherited from TextEdit | |
TextEdit (QWidget *aParent, MController *aController, Profile &aSelectedProfile) | |
~TextEdit () | |
void | initializeTextEditor (QTextEdit *aTextEdit, QLayout *aLayOutForMenu, QLayout *aWidgetForActionsUpper, QLayout *aWidgetForActionsLower) |
Private Slots | |
void | okButtonClicked () |
void | cancelButtonClicked () |
Private Member Functions | |
Hash | tryFindRecipientNode (const Hash &aRecipientFingerPrint) |
Private Attributes | |
Ui_newProfileCommentDialog | ui |
Hash | iReferencesMsg |
Hash | iReferencesCa |
Hash | iRecipientsNode |
ProfileCommentListingModel & | iCommentListingModel |
Additional Inherited Members | |
Public Slots inherited from TextEdit | |
virtual void | linkReady (const QString &aLinkAddress, const QString &aLinkLabel) |
Protected Slots inherited from DialogBase | |
void | attachButtonClicked () |
Protected Member Functions inherited from TextEdit | |
virtual void | closeEvent (QCloseEvent *e) |
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 TextEdit | |
QTextEdit * | textEdit |
Protected Attributes inherited from DialogBase | |
MController * | iController |
Profile & | iSelectedProfile |
QList< MetadataQueryDialog::MetadataResultSet > | iFilesAboutToBeAttached |
QLabel * | iAttachmentListLabel |
class for allowing posting of a comment about user profile
NewProfileCommentDialog::NewProfileCommentDialog | ( | QWidget * | aParent, |
MController * | aController, | ||
const QString & | aCommentedProfile, | ||
const QString & | aSubject, | ||
Profile & | aSelectedProfile, | ||
ProfileCommentListingModel & | aCommentListingModel, | ||
const Hash & | aReferencesMsg = KNullHash , |
||
const Hash & | aReferencesCa = KNullHash , |
||
const Hash & | aRecipientsNode = KNullHash |
||
) |
Constructor.
aParent | is owner-window of this dialog |
aController | application controller reference |
aCommentedProfile | is fingerprint of the profile that is about to be commented. If KNullHash, then dialog will open with empty recipient |
aSubject | if comment is reply to another comment, this is subject of the original posting |
aSelectedProfile | profile doing the sending |
aReferencesMsg | if msg is reply to another msg, this is article referenced. NULL if article is start of a new thread. |
NewProfileCommentDialog::~NewProfileCommentDialog | ( | ) |
destructor
|
privateslot |
|
signal |
|
privateslot |
|
private |
|
private |
|
private |
if we're referencing ca, this is the FP
|
private |
if we're referencing another msg, this is the FP
|
private |