• 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
addressbookselectorwidget.h
Go to the documentation of this file.
1 /*
2  AddressBookSelectorWidget
3  Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
4 
5  Based on LinkAddressBookUI whose code was shamelessly stolen from
6  kopete's add new contact wizard, used in Konversation, and then
7  reappropriated by Kopete.
8 
9  LinkAddressBookUI:
10  Copyright (c) 2004 by John Tapsell <john@geola.co.uk>
11  Copyright (c) 2003-2005 by Will Stephenson <will@stevello.free-online.co.uk>
12  Copyright (c) 2002 by Nick Betcher <nbetcher@kde.org>
13  Copyright (c) 2002 by Duncan Mac-Vicar Prett <duncan@kde.org>
14 
15  Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
16 
17  *************************************************************************
18  * *
19  * This program is free software; you can redistribute it and/or modify *
20  * it under the terms of the GNU General Public License as published by *
21  * the Free Software Foundation; either version 2 of the License, or *
22  * (at your option) any later version. *
23  * *
24  *************************************************************************
25 */
26 
27 #ifndef AddressBookSelectorWidget_H
28 #define AddressBookSelectorWidget_H
29 
30 #include <kabc/addressbook.h>
31 
32 #include <kdemacros.h>
33 #include "kopete_export.h"
34 
35 #include "ui_addressbookselectorwidget_base.h"
36 
37 namespace KABC {
38  class AddressBook;
39  class Addressee;
40 }
41 
42 namespace Kopete
43 {
44 namespace UI
45 {
46 
47 class KOPETE_EXPORT AddressBookSelectorWidget : public QWidget, private Ui::AddressBookSelectorWidget_Base
48 {
49  Q_OBJECT
50 public:
51  explicit AddressBookSelectorWidget( QWidget *parent = 0, const char *name = 0 );
52  ~AddressBookSelectorWidget();
53  KABC::Addressee addressee();
59  void setLabelMessage( const QString &msg );
63  void selectAddressee( const QString &uid );
67  bool addresseeSelected();
68 
69 private:
70  KABC::AddressBook * m_addressBook;
71  KABC::Addressee m_addressee;
72 
73 protected slots:
74  void slotAddAddresseeClicked();
78  void slotLoadAddressees();
79 signals:
80  void addresseeListClicked( Q3ListViewItem *addressee );
81  void addAddresseeClicked();
82 };
83 
84 } // namespace UI
85 } // namespace Kopete
86 
87 #endif
88 
89 // vim: set noet ts=4 sts=4 sw=4:
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
QWidget
Q3ListViewItem
kopete_export.h
QString
Kopete::UI::AddressBookSelectorWidget
Definition: addressbookselectorwidget.h:47
name
const char * name
Definition: kopeteonlinestatus.cpp:104
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