Classified ads
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
NewProfileCommentDialog Class Reference

class for allowing posting of a comment about user profile More...

#include <newprofilecommentdialog.h>

Inheritance diagram for NewProfileCommentDialog:
Inheritance graph
[legend]
Collaboration diagram for NewProfileCommentDialog:
Collaboration graph
[legend]

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, const 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, const 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
 
ProfileCommentListingModeliCommentListingModel
 

Additional Inherited Members

- 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, const Profile &aSelectedProfile)
 
Hash publishBinaryAttachment (const QString &aFileName, bool aForceNoEncryption=false, const QList< Hash > *aBinaryRecipientList=NULL)
 
- Protected Attributes inherited from TextEdit
QTextEdit * textEdit
 
- Protected Attributes inherited from DialogBase
MControlleriController
 
const ProfileiSelectedProfile
 
QList< QString > iFilesAboutToBeAttached
 
QLabel * iAttachmentListLabel
 

Detailed Description

class for allowing posting of a comment about user profile

Constructor & Destructor Documentation

NewProfileCommentDialog::NewProfileCommentDialog ( QWidget *  aParent,
MController aController,
const QString &  aCommentedProfile,
const QString &  aSubject,
const Profile aSelectedProfile,
ProfileCommentListingModel aCommentListingModel,
const Hash aReferencesMsg = KNullHash,
const Hash aReferencesCa = KNullHash,
const Hash aRecipientsNode = KNullHash 
)

Constructor.

Parameters
aParentis owner-window of this dialog
aControllerapplication controller reference
aCommentedProfileis fingerprint of the profile that is about to be commented. If KNullHash, then dialog will open with empty recipient
aSubjectif comment is reply to another comment, this is subject of the original posting
aSelectedProfileprofile doing the sending
aReferencesMsgif msg is reply to another msg, this is article referenced. NULL if article is start of a new thread.
NewProfileCommentDialog::~NewProfileCommentDialog ( )

destructor

Member Function Documentation

void NewProfileCommentDialog::cancelButtonClicked ( )
privateslot
void NewProfileCommentDialog::error ( MController::CAErrorSituation  aError,
const QString &  aExplanation 
)
signal
void NewProfileCommentDialog::okButtonClicked ( )
privateslot
Hash NewProfileCommentDialog::tryFindRecipientNode ( const Hash aRecipientFingerPrint)
private

Member Data Documentation

ProfileCommentListingModel& NewProfileCommentDialog::iCommentListingModel
private
Hash NewProfileCommentDialog::iRecipientsNode
private
Hash NewProfileCommentDialog::iReferencesCa
private

if we're referencing ca, this is the FP

Hash NewProfileCommentDialog::iReferencesMsg
private

if we're referencing another msg, this is the FP

Ui_newProfileCommentDialog NewProfileCommentDialog::ui
private

The documentation for this class was generated from the following file: