• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kaddressbook

Public Member Functions | Protected Member Functions | List of all members
ModelColumnManager Class Reference

#include <modelcolumnmanager.h>

Inheritance diagram for ModelColumnManager:
Inheritance graph
[legend]

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.

Author
Tobias Koenig tokoe.nosp@m.@kde.nosp@m..org

Definition at line 39 of file modelcolumnmanager.h.

Constructor & Destructor Documentation

ModelColumnManager::ModelColumnManager ( Akonadi::ContactsTreeModel *  model,
QObject *  parent = 0 
)
explicit

Creates a new model column manager.

Parameters
modelThe model that shall be managed.
parentThe parent object.

Definition at line 35 of file modelcolumnmanager.cpp.

Member Function Documentation

bool ModelColumnManager::eventFilter ( QObject *  watched,
QEvent *  event 
)
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:
  • modelcolumnmanager.h
  • modelcolumnmanager.cpp
This file is part of the KDE documentation.
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.

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal