Source Code (Use browser search to find items of interest.)
Class Index
kab'KABBasicLook (./kdeutils/kab/look_basic.h:44)
class KABBasicLook : public QWidget
{
Q_OBJECT
public:
/** The constructor. */
KABBasicLook(KabAPI* database, QWidget* parent=0, const char* name=0);
/** Set the entry. It will be displayed automatically. */
virtual void setEntry(const AddressBook::Entry&);
/** Get the current entry. */
virtual void getEntry(AddressBook::Entry& entry);
signals:
/** This isgnal is emitted when the user changed the entry. */
void entryChanged();
/** The user acticated the email address displayed. This may happen
by, for example, clicking on the displayed mailto-URL. */
void sendEmail(const QString& address);
/** The user activated one of the displayed HTTP URLs. For example
by clicking on the displayed homepage address. */
void browse(const QString& url);
protected:
/** The displayed entry. */
AddressBook::Entry current;
/** Pointer to the database object. */
KabAPI *db;
};
kab'KABBasicLook::KABBasicLook() (./kdeutils/kab/look_basic.cc:29)
KABBasicLook::KABBasicLook(KabAPI* api, QWidget* parent, const char* name)
: QWidget(parent, name)
{
db=api;
}
void
kab'KABBasicLook::setEntry() (./kdeutils/kab/look_basic.cc:36)
KABBasicLook::setEntry(const AddressBook::Entry& e)
{
current=e;
repaint(false); // ??? avoid flickering?
}
void
kab'KABBasicLook::getEntry() (./kdeutils/kab/look_basic.cc:43)
KABBasicLook::getEntry(AddressBook::Entry& entry)
{
entry=current;
}