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

kabc

  • kabc
addresseehelper.h
1 /*
2  This file is part of the KDE libraries
3  Copyright (C) 2003 Carsten Pfeiffer <pfeiffer@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, version 2.
8 
9  This library 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 GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef KABC_ADDRESSEEHELPER_H
21 #define KABC_ADDRESSEEHELPER_H
22 
23 #include <tqobject.h>
24 #include <tqstringlist.h>
25 
26 #include <dcopobject.h>
27 
28 #include <set>
29 
34 namespace KABC {
35 
36 class KABC_EXPORT AddresseeHelper : public TQObject, public DCOPObject
37 {
38  K_DCOP
39 
40  public:
41  static AddresseeHelper *self();
42 
43  bool containsTitle( const TQString& title ) const;
44  bool containsPrefix( const TQString& prefix ) const;
45  bool containsSuffix( const TQString& suffix ) const;
46  bool tradeAsFamilyName() const;
47 
48  k_dcop:
49  ASYNC initSettings();
50 
51  private:
52  AddresseeHelper();
53 
54  static void addToSet( const TQStringList& list,
55  std::set<TQString>& container );
56  std::set<TQString> mTitles;
57  std::set<TQString> mPrefixes;
58  std::set<TQString> mSuffixes;
59  bool mTradeAsFamilyName;
60 
61  static AddresseeHelper *s_self;
62 };
63 
64 }
65 
66 #endif

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.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |