Classified ads
|
class for allowing posting of a message to named recipient More...
#include <newprivmsgdialog.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 | |
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 |
PrivateMessageSearchModel & | iSearchModel |
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 | |
MController * | iController |
const Profile & | iSelectedProfile |
QList< QString > | iFilesAboutToBeAttached |
QLabel * | iAttachmentListLabel |
class for allowing posting of a message to named recipient
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.
aParent | is owner-window of this dialog |
aController | application controller reference |
aRecipient | profile that will receive the message |
aSubject | if msg is reply to another msg, this is subject of the original posting |
aSelectedProfile | profile doing the sending |
aReferences | if msg is reply to another msg, this is article referenced. NULL if article is start of a new thread. |
NewPrivMessageDialog::~NewPrivMessageDialog | ( | ) |
destructor
|
privateslot |
|
signal |
|
privateslot |
|
private |
|
private |
if we're referencing ca, this is the FP
|
private |
if we're referencing another msg, this is the FP
|
private |
|
private |