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

tdeabc

  • tdeabc
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
34namespace TDEABC {
35
36class 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
TDEABC
static data, shared by ALL addressee objects
Definition: address.h:48

tdeabc

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

tdeabc

Skip menu "tdeabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeabc by doxygen 1.9.4
This website is maintained by Timothy Pearson.