kaddressbook
#include <modelcolumnmanager.h>
Public Member Functions | |
ModelColumnManager (Akonadi::ContactsTreeModel *model, QObject *parent=0) | |
void | load () |
void | setWidget (QWidget *view) |
void | store () |
Protected Member Functions | |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
Detailed Description
A manager for the contacts model columns.
This class manages which columns shall be provided by the contacts model. It keeps track of the configuration file and the user configuration.
Definition at line 39 of file modelcolumnmanager.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new model column manager.
- Parameters
-
model The model that shall be managed. parent The parent object.
Definition at line 35 of file modelcolumnmanager.cpp.
Member Function Documentation
|
protectedvirtual |
Definition at line 70 of file modelcolumnmanager.cpp.
void ModelColumnManager::load | ( | ) |
Loads the user configuration and applies it to the model.
Definition at line 40 of file modelcolumnmanager.cpp.
void ModelColumnManager::setWidget | ( | QWidget * | view | ) |
Sets the widget that shall provide a RMB menu to configure the columns to be shown.
Definition at line 64 of file modelcolumnmanager.cpp.
void ModelColumnManager::store | ( | ) |
Stores the user configuration.
Definition at line 52 of file modelcolumnmanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.