• 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
identity_widget.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_IDENTITY_WIDGET_H
24 #define KNODE_IDENTITY_WIDGET_H
25 
26 #include "ui_identity_widget.h"
27 
28 class KNGroup;
29 class KNNntpAccount;
30 namespace KNode {
31  class SettingsContainerInterface;
32 }
33 
34 namespace KNode {
35 
39 class KNODE_EXPORT IdentityWidget : public KCModule, private Ui::IdentityWidget
40 {
41  Q_OBJECT
42 
43  public:
47  explicit IdentityWidget( SettingsContainerInterface *settingsContainer, const KComponentData &inst, QWidget *parent = 0 );
48 
49  ~IdentityWidget();
50 
51  public slots:
55  virtual void load();
59  virtual void save();
60 
61  private:
65  void loadFromIdentity( const KPIMIdentities::Identity &identity );
66 
72  void setup( const KPIMIdentities::Identity &identity );
73 
74  private slots:
79  void identitySelected( uint uoid );
80 
85  void useSpecificIdentity( bool useSpecific );
86 
90  void modifyIdentities();
91 
92  private:
96  SettingsContainerInterface *mConfigurationContainer;
97 };
98 
99 } // namespace KNode
100 
101 
102 #endif // KNODE_IDENTITY_WIDGET_H
KNNntpAccount
Represents an account on a news server.
Definition: knnntpaccount.h:56
KNode::IdentityWidget
Configuration widget for an identity.
Definition: identity_widget.h:39
QWidget
KNGroup
Representation of a news group.
Definition: kngroup.h:41
KNode::SettingsContainerInterface
Interface for object (global settings, account and group) that contains common settings (like identit...
Definition: settings_container_interface.h:40
KNODE_EXPORT
#define KNODE_EXPORT
Definition: knode_export.h:35
KCModule
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