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

tdeabc

  • tdeabc
  • plugins
  • ldaptdeio
resourceldaptdeioconfig.h
1 /*
2  This file is part of libtdeabc.
3  Copyright (c) 2002 - 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 RESOURCELDAPCONFIG_H
22 #define RESOURCELDAPCONFIG_H
23 
24 #include <tqmap.h>
25 #include <tqradiobutton.h>
26 #include <tqcombobox.h>
27 #include <tqdict.h>
28 
29 #include <kdialogbase.h>
30 #include <tderesources/configwidget.h>
31 #include <tdeabc/ldif.h>
32 #include <tdeabc/ldapconfigwidget.h>
33 
34 
35 class TQCheckBox;
36 class TQPushButton;
37 class TQSpinBox;
38 class TQString;
39 
40 class KComboBox;
41 class KLineEdit;
42 
43 namespace TDEABC {
44 
45 class KABC_EXPORT ResourceLDAPTDEIOConfig : public KRES::ConfigWidget
46 {
47  TQ_OBJECT
48 
49  public:
50  ResourceLDAPTDEIOConfig( TQWidget* parent = 0, const char* name = 0 );
51 
52  public slots:
53  void loadSettings( KRES::Resource* );
54  void saveSettings( KRES::Resource* );
55 
56  private slots:
57  void editAttributes();
58  void editCache();
59  private:
60  TQPushButton *mEditButton, *mCacheButton;
61  LdapConfigWidget *cfg;
62  TQCheckBox *mSubTree;
63  TQMap<TQString, TQString> mAttributes;
64  int mRDNPrefix, mCachePolicy;
65  bool mAutoCache;
66  TQString mCacheDst;
67 };
68 
69 class AttributesDialog : public KDialogBase
70 {
71  TQ_OBJECT
72 
73  public:
74  AttributesDialog( const TQMap<TQString, TQString> &attributes, int rdnprefix,
75  TQWidget *parent, const char *name = 0 );
76  ~AttributesDialog();
77 
78  TQMap<TQString, TQString> attributes() const;
79  int rdnprefix() const;
80 
81  private slots:
82  void mapChanged( int pos );
83 
84  private:
85  enum { UserMap, KolabMap, NetscapeMap, EvolutionMap, OutlookMap };
86 
87  KComboBox *mMapCombo, *mRDNCombo;
88  TQValueList< TQMap<TQString, TQString> > mMapList;
89  TQMap<TQString, TQString> mDefaultMap;
90  TQDict<KLineEdit> mLineEditDict;
91  TQDict<TQString> mNameDict;
92 };
93 
94 class OfflineDialog : public KDialogBase
95 {
96  TQ_OBJECT
97 
98  public:
99  OfflineDialog( bool autoCache, int cachePolicy, const KURL &src,
100  const TQString &dst, TQWidget *parent, const char *name = 0 );
101  ~OfflineDialog();
102 
103  int cachePolicy() const;
104  bool autoCache() const;
105 
106  private slots:
107  void loadCache();
108 
109  private:
110  KURL mSrc;
111  TQString mDst;
112  TQButtonGroup *mCacheGroup;
113  TQCheckBox *mAutoCache;
114 };
115 
116 }
117 
118 #endif
KComboBox
KDialogBase
KLineEdit
KURL
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.1
This website is maintained by Timothy Pearson.