• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kabc
 

kabc

  • kabc
  • vcardparser
vcardline.h
1 /*
2  This file is part of libkabc.
3  Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library 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 GNU
13  Library General Public License for more details.
14 
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
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef VCARDLINE_H
22 #define VCARDLINE_H
23 
24 #include <tqstringlist.h>
25 #include <tqvaluelist.h>
26 #include <tqvariant.h>
27 #include <tqmap.h>
28 #include <tqstring.h>
29 
30 namespace KABC {
31 
32 class VCardLine
33 {
34  public:
35  typedef TQValueList<VCardLine> List;
36  typedef TQMap<TQString, TQStringList> ParamMap;
37 
38  VCardLine();
39  VCardLine( const TQString &identifier );
40  VCardLine( const TQString &identifier, const TQVariant &value );
41  VCardLine( const VCardLine& );
42 
43  ~VCardLine();
44 
45  VCardLine& operator=( const VCardLine& );
46 
50  void setIdentifier( const TQString& identifier );
51 
55  TQString identifier() const;
56 
60  void setValue( const TQVariant& value );
61 
65  TQVariant value() const;
66 
70  void setGroup( const TQString& group );
71 
75  TQString group() const;
76 
80  bool hasGroup() const;
81 
85  TQStringList parameterList() const;
86 
90  void addParameter( const TQString& param, const TQString& value );
91 
96  TQStringList parameters( const TQString& param ) const;
97 
102  TQString parameter( const TQString& param ) const;
103 
104  private:
105  ParamMap mParamMap;
106  TQString mIdentifier;
107  TQVariant mValue;
108 
109  class VCardLinePrivate;
110  VCardLinePrivate *d;
111 };
112 
113 }
114 
115 #endif
KABC
static data, shared by ALL addressee objects
Definition: address.h:48

kabc

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

kabc

Skip menu "kabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kabc by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |