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

knode

  • sources
  • kde-4.12
  • kdepim
  • knode
  • configuration
settings_container_interface.h
Go to the documentation of this file.
1 /*
2  Copyright 2009 Olivier Trichet <nive@nivalis.org>
3 
4  Permission to use, copy, modify, and distribute this software
5  and its documentation for any purpose and without fee is hereby
6  granted, provided that the above copyright notice appear in all
7  copies and that both that the copyright notice and this
8  permission notice and warranty disclaimer appear in supporting
9  documentation, and that the name of the author not be used in
10  advertising or publicity pertaining to distribution of the
11  software without specific, written prior permission.
12 
13  The author disclaim all warranties with regard to this
14  software, including all implied warranties of merchantability
15  and fitness. In no event shall the author be liable for any
16  special, indirect or consequential damages or any damages
17  whatsoever resulting from loss of use, data or profits, whether
18  in an action of contract, negligence or other tortious action,
19  arising out of or in connection with the use or performance of
20  this software.
21 */
22 
23 #ifndef KNODE_SETTINGS_CONTAINER_INTERFACE_H
24 #define KNODE_SETTINGS_CONTAINER_INTERFACE_H
25 
26 namespace KPIMIdentities {
27  class Identity;
28 }
29 
30 namespace KNode {
31 
40 class SettingsContainerInterface
41 {
42  public:
43  virtual ~SettingsContainerInterface() {}
44 
50  virtual const KPIMIdentities::Identity & identity() const = 0;
55  virtual void setIdentity( const KPIMIdentities::Identity &identity ) = 0;
56 
60  virtual void writeConfig() = 0;
61 
62  protected:
63  explicit SettingsContainerInterface() {}
64 };
65 
66 }
67 
68 #endif //KNODE_SETTINGS_CONTAINER_INTERFACE_H
KNode::SettingsContainerInterface::~SettingsContainerInterface
virtual ~SettingsContainerInterface()
Definition: settings_container_interface.h:43
KNode::SettingsContainerInterface
Interface for object (global settings, account and group) that contains common settings (like identit...
Definition: settings_container_interface.h:40
KNode::SettingsContainerInterface::SettingsContainerInterface
SettingsContainerInterface()
Definition: settings_container_interface.h:63
KNode::SettingsContainerInterface::identity
virtual const KPIMIdentities::Identity & identity() const =0
Returns the identity configured for this container.
KNode::SettingsContainerInterface::setIdentity
virtual void setIdentity(const KPIMIdentities::Identity &identity)=0
Sets the identity for this group.
KNode::SettingsContainerInterface::writeConfig
virtual void writeConfig()=0
Save the configuration to disk.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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