ViewManager Class Reference
The view manager manages the views and everything related to them. More...
#include <viewmanager.h>
Inheritance diagram for ViewManager:

Public Slots | |
void | setSelected (const QString &uid=QString::null, bool selected=true) |
void | refreshView (const QString &uid=QString::null) |
void | editView () |
void | deleteView () |
void | addView () |
Signals | |
void | selected (const QString &uid) |
void | executed (const QString &uid) |
void | modified () |
void | urlDropped (const KURL &) |
void | sortFieldChanged () |
Public Methods | |
ViewManager (KAB::Core *core, QWidget *parent, const char *name=0) | |
~ViewManager () | |
void | restoreSettings () |
void | saveSettings () |
void | unloadViews () |
QStringList | selectedUids () const |
QStringList | selectedEmails () const |
KABC::Addressee::List | selectedAddressees () const |
void | setFilterSelectionWidget (FilterSelectionWidget *wdg) |
KABC::Field * | currentSortField () const |
Protected Slots | |
void | dropped (QDropEvent *) |
void | startDrag () |
Detailed Description
The view manager manages the views and everything related to them.The manager will load the views at startup and display a view when told to make one active.
The view manager will also create and manage all dialogs directly related to views (ie: AddView, ConfigureView, DeleteView, etc).
Definition at line 50 of file viewmanager.h.
Member Function Documentation
|
Called whenever the user drops something in the active view. This method will try to decode what was dropped, and if it was a valid addressee, add it to the addressbook. Definition at line 384 of file viewmanager.cpp. References modified(), KAddressBookView::refresh(), and urlDropped(). |
|
Called whenever the user attempts to start a drag in the view. This method will convert all the selected addressees into text (vcard) and create a drag object. Definition at line 419 of file viewmanager.cpp. References AddresseeUtil::addresseesToEmails(). |
|
Emitted whenever the user selects an entry in the view.
|
|
Emitted whenever the user activates an entry in the view.
|
|
Emitted whenever the address book is modified in some way.
Referenced by dropped(). |
|
Emitted whenever a url is dragged on a view.
Referenced by dropped(). |
|
Emitted whenever the sort field of a view has changed.
|
The documentation for this class was generated from the following files: