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

class for editing and publishing a new text document More...

#include <newtextdocument.h>

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

 NewTextDocument (QWidget *aParent, MController *aController, Profile &aSelectedProfile, BinaryFileListingModel &aProfileFileListingModel)
 
 ~NewTextDocument ()
 
- 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 Attributes

Ui_newTextDocumentDialog ui
 
BinaryFileListingModeliProfileFileListingModel
 

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
MControlleriController
 
ProfileiSelectedProfile
 
QList< MetadataQueryDialog::MetadataResultSetiFilesAboutToBeAttached
 
QLabel * iAttachmentListLabel
 

Detailed Description

class for editing and publishing a new text document

Constructor & Destructor Documentation

NewTextDocument::NewTextDocument ( QWidget *  aParent,
MController aController,
Profile aSelectedProfile,
BinaryFileListingModel aProfileFileListingModel 
)

Constructor.

Parameters
aParentis owner-window of this dialog
aControllerapplication controller reference
NewTextDocument::~NewTextDocument ( )

destructor

Member Function Documentation

void NewTextDocument::cancelButtonClicked ( )
privateslot
void NewTextDocument::error ( MController::CAErrorSituation  aError,
const QString &  aExplanation 
)
signal
void NewTextDocument::okButtonClicked ( )
privateslot

Member Data Documentation

BinaryFileListingModel& NewTextDocument::iProfileFileListingModel
private
Ui_newTextDocumentDialog NewTextDocument::ui
private

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