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

tdeabc

  • tdeabc
distributionlistdialog.h
1/*
2 This file is part of libtdeabc.
3 Copyright (c) 2001 Cornelius Schumacher <schumacher@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 KABC_DISTRIBUTIONLISTDIALOG_H
22#define KABC_DISTRIBUTIONLISTDIALOG_H
23
24#include <tqwidget.h>
25
26#include <kdialogbase.h>
27
28class TQListView;
29class TQComboBox;
30class TQButtonGroup;
31
32namespace TDEABC {
33
34class AddressBook;
35class DistributionListEditorWidget;
36class DistributionListManager;
37
55class KABC_EXPORT DistributionListDialog : public KDialogBase
56{
57 TQ_OBJECT
58
59 public:
66 DistributionListDialog( AddressBook *ab, TQWidget *parent );
67
71 virtual ~DistributionListDialog();
72
73 private:
74 DistributionListEditorWidget *mEditor;
75
76 struct Data;
77 Data *d;
78};
79
83class KABC_EXPORT EmailSelector : public KDialogBase
84{
85 public:
86 EmailSelector( const TQStringList &emails, const TQString &current,
87 TQWidget *parent );
88
89 TQString selected();
90
91 static TQString getEmail( const TQStringList &emails, const TQString &current,
92 TQWidget *parent );
93
94 private:
95 TQButtonGroup *mButtonGroup;
96};
97
101class KABC_EXPORT DistributionListEditorWidget : public TQWidget
102{
103 TQ_OBJECT
104
105 public:
106 DistributionListEditorWidget( AddressBook *, TQWidget *parent );
107 virtual ~DistributionListEditorWidget();
108
109 private slots:
110 void newList();
111 void editList();
112 void removeList();
113 void addEntry();
114 void removeEntry();
115 void changeEmail();
116 void updateEntryView();
117 void updateAddresseeView();
118 void updateNameCombo();
119 void slotSelectionEntryViewChanged();
120 void slotSelectionAddresseeViewChanged();
121 void save();
122
123 private:
124 TQComboBox *mNameCombo;
125 TQLabel *mListLabel;
126 TQListView *mEntryView;
127 TQListView *mAddresseeView;
128
129 AddressBook *mAddressBook;
130 DistributionListManager *mManager;
131 TQPushButton *mNewButton, *mEditButton, *mRemoveButton;
132 TQPushButton *mChangeEmailButton, *mRemoveEntryButton, *mAddEntryButton;
133
134 struct Data;
135 Data *d;
136};
137
138}
139#endif
KDialogBase
TDEABC::AddressBook
Address Book.
Definition: addressbook.h:44
TDEABC::DistributionListDialog
Frontend to create distribution lists.
Definition: distributionlistdialog.h:56
TDEABC::DistributionListEditorWidget
Helper class.
Definition: distributionlistdialog.h:102
TDEABC::DistributionListManager
Manager of distribution lists.
Definition: distributionlist.h:123
TDEABC::EmailSelector
Helper class.
Definition: distributionlistdialog.h:84
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.