Home · All Classes · Grouped Classes · Annotated · Functions

QSpeedDialList Class Reference

The QSpeedDialList class provides a list widget for editing Speed Dial entries. More...

    #include <QSpeedDialList>

Inherits QListView.

Properties

Public Functions

Public Slots

Signals

Additional Inherited Members


Detailed Description

The QSpeedDialList class provides a list widget for editing Speed Dial entries.

If you need a dialog that allows the user to select a spot to insert an already selected action (for example, adding a QContact's phone number to Speed Dial list), use QSpeedDial::addWithDialog().

Use editItem() to edit selected entry. This will open QtopiaServiceSelector which provides a list of predefined services.

Use clearItem() to remove the entry.

"Editing Speed Dial Entries"

See also QSpeedDial and QtopiaServiceSelector.


Property Documentation

count : const int

This property holds the number of rows in the list.

Access functions:

currentInput : const QString

This property holds the input required for the currently selected Speed Dial entry if exists; otherwise returns an empty string.

Access functions:

currentRow : int

This property holds the currently selected row number.

Access functions:


Member Function Documentation

QSpeedDialList::QSpeedDialList ( QWidget * parent = 0 )

Constructs a QSpeedDialList object with the given parent.

QSpeedDialList::~QSpeedDialList ()

Destroys the QSpeedDialList object.

void QSpeedDialList::clearItem ( int row )   [slot]

Removes the Speed Dial entry in the list at row.

void QSpeedDialList::clearItem ()   [slot]

This is an overloaded member function, provided for convenience.

Removes the Speed Dial entry at the currently selected row.

void QSpeedDialList::currentRowChanged ( int row )   [signal]

This signal is emitted whenever the user selects a different row (either with the keypad or the mouse).

void QSpeedDialList::editItem ( int row )   [slot]

Edits the Speed Dial entry at row.

Presents the a QtopiaServiceSelector for the user to select an service performed when the input at row is triggered.

See also QtopiaServiceSelector.

void QSpeedDialList::editItem ()   [slot]

This is an overloaded member function, provided for convenience.

Edits the Speed Dial entry at the currently selected row.

bool QSpeedDialList::isBlankSetEnabled () const

Returns true if blank items have a "Set..." option, even if setActionChooserEnabled() has been called.

See also setBlankSetEnabled().

void QSpeedDialList::itemSelected ( QString input )   [signal]

This signal is emitted whenever the user selects the item with the specified input string.

void QSpeedDialList::reload ( const QString & input )   [slot]

Forces the entry for Speed Dial at input to be refreshed from the source.

void QSpeedDialList::rowClicked ( int row )   [signal]

This signal is emitted whenever the user either clicks on a different row with the mouse, or presses the keypad Select key while a row is selected.

QString QSpeedDialList::rowInput ( int row ) const

Returns the input required to trigger the Speed Dial entry at row.

void QSpeedDialList::setBlankSetEnabled ( bool on )

If on, makes blank items have a "Set..." option, even if setActionChooserEnabled() has been called with the inverse of on as its parameter.

See also isBlankSetEnabled().

void QSpeedDialList::setCurrentInput ( const QString & input )

Selects the row from the list that corresponds to the Speed Dial input.

See also currentInput().


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3