kmobiletools
KMobileTools::AddressbookEntry Class Reference
#include <addressbookentry.h>
Inheritance diagram for KMobileTools::AddressbookEntry:

Detailed Description
Definition at line 31 of file addressbookentry.h.
Public Types | |
| enum | MemorySlot { Phone = 0x01, Sim = 0x02, DataCard = 0x04, Unknown = 0x08 } |
Public Member Functions | |
| AddressbookEntry (AddressbookEntry::MemorySlot memorySlot=Unknown) | |
| AddressbookEntry::MemorySlot | memorySlot () const |
| void | setMemorySlot (AddressbookEntry::MemorySlot memorySlot) |
| virtual | ~AddressbookEntry () |
Member Enumeration Documentation
This enum type defines the type of phone book memory slots.
- Any: Any memory slot (generic)
- Sim : Sim card
- Phone : Phone
- DataCard : Data card
- Unknown: Unknown storage location
Definition at line 43 of file addressbookentry.h.
Constructor & Destructor Documentation
| KMobileTools::AddressbookEntry::AddressbookEntry | ( | AddressbookEntry::MemorySlot | memorySlot = Unknown |
) |
Constructs an empty address book entry for the given memorySlot.
- Parameters:
-
memorySlot the slot where the entry is located
Definition at line 24 of file addressbookentry.cpp.
| KMobileTools::AddressbookEntry::~AddressbookEntry | ( | ) | [virtual] |
Member Function Documentation
| AddressbookEntry::MemorySlot KMobileTools::AddressbookEntry::memorySlot | ( | ) | const |
Returns the memory slot the entry is located at.
- Returns:
- the memory slot
Definition at line 39 of file addressbookentry.cpp.
| void KMobileTools::AddressbookEntry::setMemorySlot | ( | AddressbookEntry::MemorySlot | memorySlot | ) |
Sets the memory slot the entry is located at.
- Parameters:
-
memorySlot the memory slot
Definition at line 35 of file addressbookentry.cpp.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference