akonadi/contact
emailaddressselectionwidget.h
00001 /* 00002 This file is part of Akonadi Contact. 00003 00004 Copyright (c) 2010 KDAB 00005 Author: Tobias Koenig <tokoe@kde.org> 00006 00007 This library is free software; you can redistribute it and/or modify it 00008 under the terms of the GNU Library General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or (at your 00010 option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, but WITHOUT 00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00015 License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to the 00019 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00020 02110-1301, USA. 00021 */ 00022 00023 #ifndef AKONADI_EMAILADDRESSSELECTIONWIDGET_H 00024 #define AKONADI_EMAILADDRESSSELECTIONWIDGET_H 00025 00026 #include "akonadi-contact_export.h" 00027 00028 #include "emailaddressselection.h" 00029 00030 #include <akonadi/item.h> 00031 00032 #include <QtGui/QAbstractItemView> 00033 #include <QtGui/QWidget> 00034 00035 class KLineEdit; 00036 class QAbstractItemModel; 00037 class QTreeView; 00038 00039 namespace Akonadi { 00040 00066 class AKONADI_CONTACT_EXPORT EmailAddressSelectionWidget : public QWidget 00067 { 00068 Q_OBJECT 00069 00070 public: 00076 explicit EmailAddressSelectionWidget( QWidget *parent = 0 ); 00077 00084 explicit EmailAddressSelectionWidget( QAbstractItemModel *model, QWidget *parent = 0 ); 00085 00089 ~EmailAddressSelectionWidget(); 00090 00094 EmailAddressSelection::List selectedAddresses() const; 00095 00099 KLineEdit *searchLineEdit() const; 00100 00104 QTreeView *view() const; 00105 00106 private: 00107 //@cond PRIVATE 00108 class Private; 00109 Private * const d; 00110 //@endcond 00111 }; 00112 00113 } 00114 00115 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 05:01:48 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 05:01:48 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.