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::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::~ProfileReadersDialog ( )

destructor

Member Function Documentation

◆ addButtonClicked

void ProfileReadersDialog::addButtonClicked ( )
privateslot

◆ closeButtonClicked

void ProfileReadersDialog::closeButtonClicked ( )
privateslot

◆ error

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

◆ removeButtonClicked

void ProfileReadersDialog::removeButtonClicked ( )
privateslot

◆ timerEvent()

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 ..

◆ viewProfileSelected

void ProfileReadersDialog::viewProfileSelected ( )
privateslot

Member Data Documentation

◆ iController

MController* ProfileReadersDialog::iController
private

◆ iListingModel

ProfileReadersListingModel* ProfileReadersDialog::iListingModel
private

datamodel that lists names in nifty manner

◆ iPreviousSearchFieldContent

QString ProfileReadersDialog::iPreviousSearchFieldContent
private

◆ iProfile

Profile& ProfileReadersDialog::iProfile
private

◆ iSearchModel

ProfileSearchModel* ProfileReadersDialog::iSearchModel
private

datamodel that does search

◆ iTimerId

int ProfileReadersDialog::iTimerId
private

◆ iViewProfileAction

QAction* ProfileReadersDialog::iViewProfileAction
private

◆ ui

Ui_profileReadersDialog ProfileReadersDialog::ui
private

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