~ubuntu-branches/ubuntu/vivid/kdepim/vivid

« back to all changes in this revision

Viewing changes to mailcommon/aclutils_p.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Jonathan Riddell, Rohan Garg, Scott Kitterman
  • Date: 2012-11-21 13:12:36 UTC
  • mfrom: (0.2.33)
  • Revision ID: package-import@ubuntu.com-20121121131236-32ijw9a2txrar80k
Tags: 4:4.9.80-0ubuntu1
[ Jonathan Riddell ]
* New upstream beta release

[ Rohan Garg ]
* Add nepomuk-core-dev to build-deps

[ Scott Kitterman ]
* Add new package, libpimcommon4
  - Add libpimcommon4.install
  - Add to debian/control, including kdepim-dbg and kdepim-dev depends
  - Add to kdepim-dev.install
* Remove usr/bin/backupmail and related files from kmail.install as they are
  not provided by upstream anymore
* Add usr/bin/pimsettingexporter and related files to kmail.install
* Add libnepomukwidgets-dev to build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (c) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
3
 
 * Copyright (c) 2010 Tobias Koenig <tokoe@kdab.com>
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or modify
6
 
 * it under the terms of the GNU General Public License as published by
7
 
 * the Free Software Foundation; either version 2 of the License, or
8
 
 * (at your option) any later version.
9
 
 *
10
 
 * This program is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 * GNU General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU General Public License
16
 
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
 
 */
19
 
 
20
 
#ifndef MAILCOMMON_ACLUTILS_P_H
21
 
#define MAILCOMMON_ACLUTILS_P_H
22
 
 
23
 
#include <KIMAP/Acl>
24
 
 
25
 
namespace MailCommon {
26
 
 
27
 
namespace AclUtils {
28
 
 
29
 
/**
30
 
 * Returns the number of standard permissions available.
31
 
 */
32
 
uint standardPermissionsCount();
33
 
 
34
 
/**
35
 
 * Returns the standard permissions at the given @p index.
36
 
 */
37
 
KIMAP::Acl::Rights permissionsForIndex( uint index );
38
 
 
39
 
/**
40
 
 * Returns the index of the given standard @p permissions.
41
 
 *
42
 
 * If there are no matching permissions, @c -1 is returned.
43
 
 */
44
 
int indexForPermissions( KIMAP::Acl::Rights permissions );
45
 
 
46
 
/**
47
 
 * Returns the i18n'd representation of the given @p permissions.
48
 
 */
49
 
QString permissionsToUserString( KIMAP::Acl::Rights permissions );
50
 
 
51
 
}
52
 
 
53
 
}
54
 
 
55
 
#endif