Classified ads
|
class for search dialog More...
#include <searchdisplay.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 | |
SearchDisplay (QWidget *aParent, MController *aController, SearchModel *aSearchModel, const Profile &aSelectedProfile) | |
~SearchDisplay () | |
Private Slots | |
void | closeButtonClicked () |
void | searchButtonClicked () |
void | openButtonClicked () |
void | resultListDoubleClicked (const QModelIndex &aIndex) |
void | currentItemChanged (const QModelIndex ¤t, const QModelIndex &previous) |
void | openSelectedContent () |
Private Attributes | |
Ui_searchDisplay | ui |
SearchModel * | iSearchModel |
Hash | iHashOfFocusedResult |
ProtocolItemType | iTypeOfFocusedResult |
Hash | iNodeOfFocusedResult |
QAction * | iOpenAction |
Additional Inherited Members | |
Protected Slots inherited from DialogBase | |
void | attachButtonClicked () |
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 DialogBase | |
MController * | iController |
const Profile & | iSelectedProfile |
QList< QString > | iFilesAboutToBeAttached |
QLabel * | iAttachmentListLabel |
class for search dialog
SearchDisplay::SearchDisplay | ( | QWidget * | aParent, |
MController * | aController, | ||
SearchModel * | aSearchModel, | ||
const Profile & | aSelectedProfile | ||
) |
Constructor.
aParent | is owner-window of this dialog |
aController | application controller reference |
aSearchModel | where the content comes from. ownership is not claimed e.g. this dialog does not delete the model. |
aSelectedProfile | profile of operator currently searching |
SearchDisplay::~SearchDisplay | ( | ) |
destructor
|
privateslot |
|
privateslot |
|
signal |
|
privateslot |
opens selected item from results-list
|
privateslot |
|
privateslot |
|
privateslot |
performs search
|
private |
|
private |
|
private |
context-menu action for open
|
private |
|
private |
|
private |