author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kabc/key.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | kabc/key.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,47 +15,47 @@ | |||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /* | 21 | /* |
22 | Enhanced Version of the file for platform independent KDE tools. | 22 | Enhanced Version of the file for platform independent KDE tools. |
23 | Copyright (c) 2004 Ulf Schenk | 23 | Copyright (c) 2004 Ulf Schenk |
24 | 24 | ||
25 | $Id$ | 25 | $Id$ |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #ifndef KABC_KEY_H | 28 | #ifndef KABC_KEY_H |
29 | #define KABC_KEY_H | 29 | #define KABC_KEY_H |
30 | 30 | ||
31 | #include <qvaluelist.h> | 31 | #include <q3valuelist.h> |
32 | 32 | ||
33 | namespace KABC { | 33 | namespace KABC { |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * @short A class to store an encryption key. | 36 | * @short A class to store an encryption key. |
37 | */ | 37 | */ |
38 | class Key | 38 | class Key |
39 | { | 39 | { |
40 | friend QDataStream &operator<<( QDataStream &, const Key & ); | 40 | friend QDataStream &operator<<( QDataStream &, const Key & ); |
41 | friend QDataStream &operator>>( QDataStream &, Key & ); | 41 | friend QDataStream &operator>>( QDataStream &, Key & ); |
42 | 42 | ||
43 | public: | 43 | public: |
44 | typedef QValueList<Key> List; | 44 | typedef Q3ValueList<Key> List; |
45 | typedef QValueList<int> TypeList; | 45 | typedef Q3ValueList<int> TypeList; |
46 | 46 | ||
47 | /** | 47 | /** |
48 | * Key types | 48 | * Key types |
49 | * | 49 | * |
50 | * @li X509 - X509 key | 50 | * @li X509 - X509 key |
51 | * @li PGP - Pretty Good Privacy key | 51 | * @li PGP - Pretty Good Privacy key |
52 | * @li Custom - Custom or IANA conform key | 52 | * @li Custom - Custom or IANA conform key |
53 | */ | 53 | */ |
54 | enum Types { | 54 | enum Types { |
55 | X509, | 55 | X509, |
56 | PGP, | 56 | PGP, |
57 | Custom | 57 | Custom |
58 | }; | 58 | }; |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * Constructor. | 61 | * Constructor. |