ViewManager Class Reference
The view manager manages the views and everything related to them. More...
#include <viewmanager.h>
Inherits QWidget.
Public Slots
- void setSelected (const QString &uid=QString::null, bool selected=true)
- void setFirstSelected (bool selected=true)
- void refreshView (const QString &uid=QString::null)
- void editView ()
- void deleteView ()
- void addView ()
- void scrollUp ()
- void scrollDown ()
Signals
- void selected (const QString &uid)
- void executed (const QString &uid)
- void modified ()
- void urlDropped (const KURL &)
- void sortFieldChanged ()
- void viewFieldsChanged ()
Public Member Functions
- ViewManager (KAB::Core *core, QWidget *parent, const char *name=0)
- 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
- KABC::Field::List viewFields () const
Protected Slots
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).
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. |
|
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. |
|
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.
|
|
Emitted whenever a url is dragged on a view.
|
|
Emitted whenever the sort field of a view has changed.
|
|
Emitted whenever the view fields changed.
|
The documentation for this class was generated from the following files:
- viewmanager.h
- viewmanager.cpp