~ubuntu-branches/ubuntu/oneiric/kdepim/oneiric-updates

« back to all changes in this revision

Viewing changes to calendarsupport/identitymanager.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-06-28 19:33:24 UTC
  • mfrom: (0.2.13) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20110628193324-8yvjs8sdv9rdoo6c
Tags: 4:4.7.0-0ubuntu1
* New upstream release
  - update install files
  - add missing kdepim-doc package to control file
  - Fix Vcs lines
  - kontact breaks/replaces korganizer << 4:4.6.80
  - tighten the dependency of kdepim-dev on libkdepim4 to fix lintian error

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (c) 2004 David Faure <faure@kde.org>
 
3
 
 
4
  This program is free software; you can redistribute it and/or modify
 
5
  it under the terms of the GNU General Public License as published by
 
6
  the Free Software Foundation; either version 2 of the License, or
 
7
  (at your option) any later version.
 
8
 
 
9
  This program is distributed in the hope that it will be useful,
 
10
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
12
  GNU General Public License for more details.
 
13
 
 
14
  You should have received a copy of the GNU General Public License along
 
15
  with this program; if not, write to the Free Software Foundation, Inc.,
 
16
  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17
 
 
18
  As a special exception, permission is given to link this program
 
19
  with any edition of Qt, and distribute the resulting executable,
 
20
  without including the source code for Qt in the source distribution.
 
21
*/
 
22
 
 
23
#ifndef CALENDARSUPPORT_IDENTITYMANAGER_H
 
24
#define CALENDARSUPPORT_IDENTITYMANAGER_H
 
25
 
 
26
#include "calendarsupport_export.h"
 
27
#include <KPIMIdentities/IdentityManager>
 
28
 
 
29
namespace CalendarSupport {
 
30
 
 
31
class CALENDARSUPPORT_EXPORT IdentityManager : public KPIMIdentities::IdentityManager
 
32
{
 
33
  public:
 
34
    explicit IdentityManager( QObject *parent=0, const char *name=0 )
 
35
      : KPIMIdentities::IdentityManager( true/*readonly*/, parent, name ) {}
 
36
 
 
37
  protected:
 
38
    virtual void createDefaultIdentity( QString &fullName, QString &emailAddress );
 
39
};
 
40
 
 
41
KPIMIdentities::IdentityManager *identityManager();
 
42
 
 
43
}
 
44
 
 
45
#endif
 
46