Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

CallContactModel Class Reference
[QtTelephonyModule]

The CallContactModel class provides underlying model for the call contact list view. More...

    #include <CallContactModel>

Inherits QAbstractListModel.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The CallContactModel class provides underlying model for the call contact list view.

This model is based on a QAbstractListModel and maintains CallContactItems. Together with CallContactListView, CallContactItem and CallContactDelegate it provides a model-view representation of call contact information.

This class is part of the Qt Extended server and cannot be used by other Qt Extended applications.


Member Function Documentation

CallContactModel::CallContactModel ( QCallList & callList, QObject * parent = 0 )

Creates a new CallContactModel based on the given callList. parent is the standard QObject parent parameter.

CallContactModel::~CallContactModel ()   [virtual]

Destroys the model.

QString CallContactModel::filter () const

Returns the currently applied filter for this model.

void CallContactModel::filtered ( const QString & filter )   [signal]

Emitted when the current filter changes. The new filter value is filter.

CallContactItem * CallContactModel::itemAt ( const QModelIndex & index ) const

Returns the CallContactItem at position index in the model.

void CallContactModel::refresh ()   [virtual]

Reinitializes the call items in the model.

void CallContactModel::resetModel ()

Resets the model to its original in any attached CallContactListView. All contact items will be removed in the process.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3