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

class for allowing edit of profile readers list More...

#include <profilereadersdialog.h>

Inheritance diagram for ProfileReadersDialog:
Inheritance graph
[legend]
Collaboration diagram for ProfileReadersDialog:
Collaboration graph
[legend]

Signals

void error (MController::CAErrorSituation aError, const QString &aExplanation)
 

Public Member Functions

 ProfileReadersDialog (QWidget *aParent, MController *aController, Profile &aProfile)
 
 ~ProfileReadersDialog ()
 

Protected Member Functions

void timerEvent (QTimerEvent *event)
 

Private Slots

void closeButtonClicked ()
 
void addButtonClicked ()
 
void removeButtonClicked ()
 
void viewProfileSelected ()
 

Private Attributes

Ui_profileReadersDialog ui
 
MControlleriController
 
ProfileSearchModeliSearchModel
 
int iTimerId
 
QString iPreviousSearchFieldContent
 
ProfileiProfile
 
ProfileReadersListingModeliListingModel
 
QAction * iViewProfileAction
 

Detailed Description

class for allowing edit of profile readers list

Constructor & Destructor Documentation

ProfileReadersDialog::ProfileReadersDialog ( QWidget *  aParent,
MController aController,
Profile aProfile 
)

Constructor.

Parameters
aParentis owner-window of this dialog
aControllerapplication controller reference
aProfileis profile whose readers are listed
ProfileReadersDialog::~ProfileReadersDialog ( )

destructor

Member Function Documentation

void ProfileReadersDialog::addButtonClicked ( )
privateslot
void ProfileReadersDialog::closeButtonClicked ( )
privateslot
void ProfileReadersDialog::error ( MController::CAErrorSituation  aError,
const QString &  aExplanation 
)
signal
void ProfileReadersDialog::removeButtonClicked ( )
privateslot
void ProfileReadersDialog::timerEvent ( QTimerEvent *  event)
protected

method used to check for changes in users search-field ; this way user can keep on typing and we can perform the search when field content changes ..

void ProfileReadersDialog::viewProfileSelected ( )
privateslot

Member Data Documentation

MController* ProfileReadersDialog::iController
private
ProfileReadersListingModel* ProfileReadersDialog::iListingModel
private

datamodel that lists names in nifty manner

QString ProfileReadersDialog::iPreviousSearchFieldContent
private
Profile& ProfileReadersDialog::iProfile
private
ProfileSearchModel* ProfileReadersDialog::iSearchModel
private

datamodel that does search

int ProfileReadersDialog::iTimerId
private
QAction* ProfileReadersDialog::iViewProfileAction
private
Ui_profileReadersDialog ProfileReadersDialog::ui
private

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