AddressWidget Class Reference

[kab Index] [kab Hierarchy] [Headers]


#tokenize partens the given string "text" into its tokens at every occurence of the designator "des" and delivers the result in the list reference More...

#include <kab.h>

Inherits: QWidget (qt), AddressBook

Public Members

Public Slots

Protected Members

Signals


Detailed Description

#tokenize partens the given string "text" into its tokens at every occurence of the designator "des" and delivers the result in the list reference. If "strict" is true, the last token is only added if there are characters


AddressWidget(QWidget* parent=0, const char* name=0, bool readonly=false) [public]

* HTML equivalents. *\n * the last designator end the string end. *\n

bool emailAddress(const string& key, string& address, bool select=true) [public]

This method returns an email address. It is rather the first address or a user selection, if select is true. The method returns false if there is no entry with the given key or the entry has no email address. In the latter case, "address" is not modified. If select is true, the method may also return false if the user rejected the dialog.

void currentChanged() [public]

currentChanged() will be called by AddressBook-objects if the currently selected entry has been changed.

bool updateDB() [public]

updateDB() is called at the program startup. It has to do adifficult task: if the database file the user has used before has been created by an earlier version of kab, it might possibly use some fields that have changed its meaning or are no more supported. updateDB() will update the data in the database to the new format. It will use the version tag in the configuration section for this.

bool sendEmail(const string& address, const string& subject="") [public]

sendEmail sends an email to the address given.

void updateSelector() [public]

Synchronize selector combobox and addressbook contents.


Documentation generated by root@darkstar.lst.de on Wed Sep 8 17:39:05 CEST 1999
Kdoc