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

kopete/libkopete

addressbookselectordialog.h

Go to the documentation of this file.
00001 /*
00002     AddressBookSelectorDialog
00003     Nice Dialog to select a KDE AddressBook contact
00004 
00005     Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
00006 
00007     Kopete    (c) 2002-2005 by the Kopete developers  <kopete-devel@kde.org>
00008 
00009     *************************************************************************
00010     *                                                                       *
00011     * This program is free software; you can redistribute it and/or modify  *
00012     * it under the terms of the GNU General Public License as published by  *
00013     * the Free Software Foundation; either version 2 of the License, or     *
00014     * (at your option) any later version.                                   *
00015     *                                                                       *
00016     *************************************************************************
00017 */
00018 
00019 #ifndef ADDRESSBOOKSELECTORDIALOG_H
00020 #define ADDRESSBOOKSELECTORDIALOG_H
00021 
00022 #include <kdemacros.h>
00023 #include "kopete_export.h"
00024 #include <kdialog.h>
00025 
00026 #include <Qt3Support/Q3ListView>
00027 
00028 namespace KABC
00029 {
00030     class AddressBook;
00031     class Addressee;
00032 }
00033 
00034 namespace Kopete
00035 {
00036 namespace UI
00037 {
00038 
00039 class AddressBookSelectorWidget;
00040 
00049 class KOPETE_EXPORT AddressBookSelectorDialog : public KDialog
00050 {
00051     Q_OBJECT
00052 public:
00056     AddressBookSelectorDialog( const QString &title, const QString &message,
00057                                const QString &preSelectUid, QWidget *parent = 0L
00058                               );
00062     ~AddressBookSelectorDialog();
00063 
00068     AddressBookSelectorWidget *addressBookSelectorWidget() const
00069     { return m_addressBookSelectorWidget; }
00070 
00078     static KABC::Addressee getAddressee( const QString &title, const QString &message, const QString &preSelectUid, QWidget *parent = 0L );
00079 
00080 protected slots:
00081     virtual void accept();
00082     virtual void reject();
00083     void slotWidgetAddresseeListClicked( Q3ListViewItem *addressee );
00084 protected:
00085      AddressBookSelectorWidget *m_addressBookSelectorWidget;
00086 };
00087 
00088 } // namespace UI
00089 } // namespace Kopete
00090 
00091 #endif
00092 
00093 // vim: set noet ts=4 sts=4 sw=4:
00094 

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork 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