class for allowing posting of new classified ad
More...
#include <newclassifiedaddialog.h>
|
| NewClassifiedAdDialog (QWidget *aParent, MController *aController, int aAboutComboxIndex, int aRegardingComboxIndex, int aWhereComboxIndex, const QString &aAboutComboText, const QString &aRegardingComboText, const QString &aWhereComboxText, const Profile &aSelectedProfile, CAListingModel &aCaListingModel, const Hash *aReferences=NULL, const QString *aSubject=NULL) |
|
| ~NewClassifiedAdDialog () |
|
| TextEdit (QWidget *aParent, MController *aController, const Profile &aSelectedProfile) |
|
| ~TextEdit () |
|
void | initializeTextEditor (QTextEdit *aTextEdit, QLayout *aLayOutForMenu, QLayout *aWidgetForActionsUpper, QLayout *aWidgetForActionsLower) |
|
class for allowing posting of new classified ad
Inherits DialogBase via TextEdit where most editing functionality comes from.
NewClassifiedAdDialog::NewClassifiedAdDialog |
( |
QWidget * |
aParent, |
|
|
MController * |
aController, |
|
|
int |
aAboutComboxIndex, |
|
|
int |
aRegardingComboxIndex, |
|
|
int |
aWhereComboxIndex, |
|
|
const QString & |
aAboutComboText, |
|
|
const QString & |
aRegardingComboText, |
|
|
const QString & |
aWhereComboxText, |
|
|
const Profile & |
aSelectedProfile, |
|
|
CAListingModel & |
aCaListingModel, |
|
|
const Hash * |
aReferences = NULL , |
|
|
const QString * |
aSubject = NULL |
|
) |
| |
Constructor.
- Parameters
-
aParent | is owner-window of this dialog |
aController | application controller reference |
aAboutComboxIndex | index of combobox of "about" in classification-selection |
aRegardingComboxIndex | index of combobox of "regarding" in classification-selection |
aWhereComboxIndex | index of combobox of "in" in classification-selection |
aAboutComboText | text of combobox in of "about" in classification-selection ; this may be text typed by user, in which case the index (aAboutComboxIndex) is ignored |
aRegardingComboText | text of combobox in of "regarding" in classification-selection |
aWhereComboxText | text of combobox in of "where" in classification-selection |
aSelectedProfile | profile doing the sending |
aReferences | if CA is reply to another CA, this is article referenced. NULL if article is start of a new thread. |
aSubject | if CA is reply to another CA, this is subject of the original posting |
NewClassifiedAdDialog::~NewClassifiedAdDialog |
( |
| ) |
|
void NewClassifiedAdDialog::cancelButtonClicked |
( |
| ) |
|
|
privateslot |
void NewClassifiedAdDialog::okButtonClicked |
( |
| ) |
|
|
privateslot |
Hash NewClassifiedAdDialog::iReferences |
|
private |
if we're referencing another CA, this is the FP
Ui_newCaDialog NewClassifiedAdDialog::ui |
|
private |
The documentation for this class was generated from the following file: