• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kaddressbook

distributionlistpicker.h

Go to the documentation of this file.
00001 /*
00002     This file is part of KAddressBook.
00003     Copyright (c) 2007 Klaralvdalens Datakonsult AB <frank@kdab.net>
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program; if not, write to the Free Software
00017     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00018     As a special exception, permission is given to link this program
00019     with any edition of Qt, and distribute the resulting executable,
00020     without including the source code for Qt in the source distribution.
00021 */
00022 
00023 #ifndef KPIM_DISTRIBUTIONLISTPICKER_H
00024 #define KPIM_DISTRIBUTIONLISTPICKER_H
00025 
00026 #include <kdialog.h>
00027 
00028 #include <QtCore/QString>
00029 
00030 class QLabel;
00031 class QListWidget;
00032 
00033 namespace KABC {
00034     class AddressBook;
00035 }
00036 
00037 namespace KPIM {
00038 
00039 class DistributionListPickerDialog : public KDialog
00040 {
00041     Q_OBJECT
00042 public:
00043     explicit DistributionListPickerDialog( KABC::AddressBook* book, QWidget* parent = 0 );
00044     QString selectedDistributionList() const;
00045 
00046     void setLabelText( const QString& text );
00047 
00048 private Q_SLOTS:
00049 
00050     //override
00051     void slotOk();
00052 
00053     //override
00054     void slotCancel();
00055 
00056     //override
00057     void slotUser1();
00058 
00059     void entrySelected( const QString& name );
00060 
00061 private:
00062     KABC::AddressBook* m_book;
00063     QLabel* m_label;
00064     QListWidget* m_listWidget;
00065     QString m_selectedDistributionList;
00066 };
00067     
00068 } //namespace KPIM
00069 
00070 #endif // KPIM_DISTRIBUTIONLISTPICKER_H 

kaddressbook

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal