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

class for allowing posting of a message to named recipient More...

#include <newprivmsgdialog.h>

Inheritance diagram for NewPrivMessageDialog:
Inheritance graph
[legend]
Collaboration diagram for NewPrivMessageDialog:
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

 NewPrivMessageDialog (QWidget *aParent, MController *aController, const QString &aRecipient, const QString &aSubject, const Profile &aSelectedProfile, PrivateMessageSearchModel &aSearchModel, const Hash &aReferencesMsg=KNullHash, const Hash &aReferencesCa=KNullHash, const Hash &aRecipientsNode=KNullHash)
 
 ~NewPrivMessageDialog ()
 
- 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_newPrivMsgDialog ui
 
Hash iReferencesMsg
 
Hash iReferencesCa
 
PrivateMessageSearchModeliSearchModel
 
Hash iRecipientsNode
 

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 message to named recipient

Constructor & Destructor Documentation

NewPrivMessageDialog::NewPrivMessageDialog ( QWidget *  aParent,
MController aController,
const QString &  aRecipient,
const QString &  aSubject,
const Profile aSelectedProfile,
PrivateMessageSearchModel aSearchModel,
const Hash aReferencesMsg = KNullHash,
const Hash aReferencesCa = KNullHash,
const Hash aRecipientsNode = KNullHash 
)

Constructor.

Parameters
aParentis owner-window of this dialog
aControllerapplication controller reference
aRecipientprofile that will receive the message
aSubjectif msg is reply to another msg, this is subject of the original posting
aSelectedProfileprofile doing the sending
aReferencesif msg is reply to another msg, this is article referenced. NULL if article is start of a new thread.
NewPrivMessageDialog::~NewPrivMessageDialog ( )

destructor

Member Function Documentation

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

Member Data Documentation

Hash NewPrivMessageDialog::iRecipientsNode
private
Hash NewPrivMessageDialog::iReferencesCa
private

if we're referencing ca, this is the FP

Hash NewPrivMessageDialog::iReferencesMsg
private

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

PrivateMessageSearchModel& NewPrivMessageDialog::iSearchModel
private
Ui_newPrivMsgDialog NewPrivMessageDialog::ui
private

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