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

QPhoneBookLimits Class Reference
[QtTelephonyModule]

The QPhoneBookLimits class specifies the limits of a phone book's storage capacity. More...

    #include <QPhoneBookLimits>

Public Functions


Detailed Description

The QPhoneBookLimits class specifies the limits of a phone book's storage capacity.

The limits of a phone book may be retrieved using QPhoneBook::requestLimits().

See also QPhoneBook.


Member Function Documentation

QPhoneBookLimits::QPhoneBookLimits ()

Construct a default limits structure and set all fields to zero.

QPhoneBookLimits::QPhoneBookLimits ( const QPhoneBookLimits & other )

Construct a copy of other.

QPhoneBookLimits::~QPhoneBookLimits ()

Destroy this limits structure.

uint QPhoneBookLimits::firstIndex () const

Returns the first index position that can store entries within the phone book.

See also setFirstIndex().

bool QPhoneBookLimits::isNull () const

Returns true if all fields within this limits structure are zero; otherwise returns false.

uint QPhoneBookLimits::lastIndex () const

Returns the last index position that can store entries within the phone book.

See also setLastIndex().

uint QPhoneBookLimits::numberLength () const

Returns the maximum length for phone numbers within the phone book.

See also setNumberLength().

void QPhoneBookLimits::setFirstIndex ( uint value )

Sets the first index position that can store entries within the phone book to value.

See also firstIndex().

void QPhoneBookLimits::setLastIndex ( uint value )

Sets the last index position that can store entries within the phone book to value.

See also lastIndex().

void QPhoneBookLimits::setNumberLength ( uint value )

Sets the maximum length for phone numbers within the phone book to value.

See also numberLength().

void QPhoneBookLimits::setTextLength ( uint value )

Sets the maximum length for text names within the phone book to value.

See also textLength().

void QPhoneBookLimits::setUsed ( uint value )

Sets the number of entries in the phone book that are currently in use to value.

See also used().

uint QPhoneBookLimits::textLength () const

Returns the maximum length for text names within the phone book.

See also setTextLength().

uint QPhoneBookLimits::used () const

Returns the number of entries in the phone book that are currently in use. The total number of entries, including used and free, is equal to lastIndex() - firstIndex() + 1.

See also setUsed().

QPhoneBookLimits & QPhoneBookLimits::operator= ( const QPhoneBookLimits & other )

Copy the contents of other into this object.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3