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

kopete/libkopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • libkopete
  • ui
addressbookselectordialog.h
Go to the documentation of this file.
1 /*
2  AddressBookSelectorDialog
3  Nice Dialog to select a KDE AddressBook contact
4 
5  Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
6 
7  Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org>
8 
9  *************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  *************************************************************************
17 */
18 
19 #ifndef ADDRESSBOOKSELECTORDIALOG_H
20 #define ADDRESSBOOKSELECTORDIALOG_H
21 
22 #include <kdemacros.h>
23 #include "kopete_export.h"
24 #include <kdialog.h>
25 
26 #include <Qt3Support/Q3ListView>
27 
28 namespace KABC
29 {
30  class AddressBook;
31  class Addressee;
32 }
33 
34 namespace Kopete
35 {
36 namespace UI
37 {
38 
39 class AddressBookSelectorWidget;
40 
49 class KOPETE_EXPORT AddressBookSelectorDialog : public KDialog
50 {
51  Q_OBJECT
52 public:
56  AddressBookSelectorDialog( const QString &title, const QString &message,
57  const QString &preSelectUid, QWidget *parent = 0L
58  );
62  ~AddressBookSelectorDialog();
63 
68  AddressBookSelectorWidget *addressBookSelectorWidget() const
69  { return m_addressBookSelectorWidget; }
70 
78  static KABC::Addressee getAddressee( const QString &title, const QString &message, const QString &preSelectUid, QWidget *parent = 0L );
79 
80 protected slots:
81  virtual void accept();
82  virtual void reject();
83  void slotWidgetAddresseeListClicked( Q3ListViewItem *addressee );
84 protected:
85  AddressBookSelectorWidget *m_addressBookSelectorWidget;
86 };
87 
88 } // namespace UI
89 } // namespace Kopete
90 
91 #endif
92 
93 // vim: set noet ts=4 sts=4 sw=4:
94 
Kopete::UI::AddressBookSelectorDialog::m_addressBookSelectorWidget
AddressBookSelectorWidget * m_addressBookSelectorWidget
Definition: addressbookselectordialog.h:85
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
QWidget
Kopete::UI::AddressBookSelectorDialog::addressBookSelectorWidget
AddressBookSelectorWidget * addressBookSelectorWidget() const
Definition: addressbookselectordialog.h:68
KDialog
Q3ListViewItem
kopete_export.h
QString
Kopete::UI::AddressBookSelectorDialog
A dialog that uses AddressBookSelectorWidget to allow the user to select a KDE addressbook contact...
Definition: addressbookselectordialog.h:49
Kopete::UI::AddressBookSelectorWidget
Definition: addressbookselectorwidget.h:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal