Home · All Classes · Grouped Classes · Annotated · Functions

QPhoneBookEntry Class Reference

The QPhoneBookEntry class specifies the contents of a single entry in a device's phone book. More...

    #include <QPhoneBookEntry>

Public Functions


Detailed Description

The QPhoneBookEntry class specifies the contents of a single entry in a device's phone book.

Phone book entries are retrieved by a call to QPhoneBook::getEntries().

See also QPhoneBook.


Member Function Documentation

QPhoneBookEntry::QPhoneBookEntry ()

Constructs an empty phone book entry.

QPhoneBookEntry::QPhoneBookEntry ( const QPhoneBookEntry & other )

Constructs a copy of other.

QPhoneBookEntry::~QPhoneBookEntry ()

Destructs a phone book entry.

uint QPhoneBookEntry::index () const

Returns the index associated with this phone book entry.

See also setIndex().

QString QPhoneBookEntry::number () const

Returns the phone number associated with this phone book entry.

See also setNumber().

void QPhoneBookEntry::setIndex ( uint value )

Sets the index associated with this phone book entry to value.

See also index().

void QPhoneBookEntry::setNumber ( const QString & value )

Sets the phone number associated with this phone book entry to value.

See also number().

void QPhoneBookEntry::setText ( const QString & value )

Sets the textual name associated with this phone book entry to value.

See also text().

QString QPhoneBookEntry::text () const

Returns the textual name associated with this phone book entry.

See also setText().

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

Copies other into this phone book entry object.

bool QPhoneBookEntry::operator== ( const QPhoneBookEntry & other )

Returns true if this phone book entry has the same index as other; otherwise returns false.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3