• 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.12
  • kdenetwork
  • kopete
  • libkopete
  • ui
addressbooklinkwidget.h
Go to the documentation of this file.
1 /*
2  AddressBookLinkWidget
3 
4  A compact widget for showing and changing which address book item a
5  particular Kopete::MetaContact is related to.
6 
7  Comprises a label showing the contact's name, a Clear button, and a Change
8  button that usually invokes the AddressBookSelectorWidget.
9 
10  Copyright (c) 2006 by Will Stephenson <wstephenson@kde.org>
11 
12  Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
13 
14  *************************************************************************
15  * *
16  * This program is free software; you can redistribute it and/or modify *
17  * it under the terms of the GNU General Public License as published by *
18  * the Free Software Foundation; either version 2 of the License, or *
19  * (at your option) any later version. *
20  * *
21  *************************************************************************
22 */
23 
24 #ifndef ADDRESSBOOKLINKWIDGET_H
25 #define ADDRESSBOOKLINKWIDGET_H
26 
27 #include <kabc/addressee.h>
28 #include <kopete_export.h>
29 
30 #include "ui_addressbooklinkwidget_base.h"
31 
32 namespace Kopete {
33 class MetaContact;
34 
35 namespace UI {
36 
44 class KOPETE_EXPORT AddressBookLinkWidget : public QWidget, private Ui::AddressBookLinkWidgetBase
45 {
46 Q_OBJECT
47 public:
48  explicit AddressBookLinkWidget( QWidget * parent = 0, const char * name = 0 );
49  ~AddressBookLinkWidget() {}
53  void setAddressee( const KABC::Addressee& addr );
57  void setMetaContact( const Kopete::MetaContact * );
61  QString uid() const;
62 signals:
66  void addresseeChanged( const KABC::Addressee& addr );
67 
72  void selectAddresseeClicked();
73 protected slots:
74  void slotClearAddressee();
75  void slotSelectAddressee();
76 private:
77  const Kopete::MetaContact * mMetaContact;
78  QString mSelectedUid;
79 };
80 } // end namespace UI
81 } // end namespace Kopete
82 #endif
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
QWidget
kopete_export.h
Kopete::UI::AddressBookLinkWidget
A compact widget for showing and changing which address book item a particular Kopete::MetaContact is...
Definition: addressbooklinkwidget.h:44
Kopete::UI::AddressBookLinkWidget::~AddressBookLinkWidget
~AddressBookLinkWidget()
Definition: addressbooklinkwidget.h:49
Kopete::MetaContact
Definition: kopetemetacontact.h:54
name
const char * name
Definition: kopeteonlinestatus.cpp:104
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:50 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