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

kopete/libkopete

addressbooklinkwidget.h

Go to the documentation of this file.
00001 /*
00002     AddressBookLinkWidget
00003 
00004     A compact widget for showing and changing which address book item a
00005     particular Kopete::MetaContact is related to.
00006 
00007     Comprises a label showing the contact's name, a Clear button, and a Change
00008     button that usually invokes the AddressBookSelectorWidget.
00009 
00010     Copyright (c) 2006 by Will Stephenson <wstephenson@kde.org>
00011 
00012     Kopete    (c) 2002-2004 by the Kopete developers  <kopete-devel@kde.org>
00013 
00014     *************************************************************************
00015     *                                                                       *
00016     * This program is free software; you can redistribute it and/or modify  *
00017     * it under the terms of the GNU General Public License as published by  *
00018     * the Free Software Foundation; either version 2 of the License, or     *
00019     * (at your option) any later version.                                   *
00020     *                                                                       *
00021     *************************************************************************
00022 */
00023 
00024 #ifndef ADDRESSBOOKLINKWIDGET_H
00025 #define ADDRESSBOOKLINKWIDGET_H
00026 
00027 #include <kabc/addressee.h>
00028 #include <kopete_export.h>
00029 
00030 #include "ui_addressbooklinkwidget_base.h"
00031 
00032 namespace Kopete {
00033 class MetaContact;
00034 
00035 namespace UI {
00036 
00044 class KOPETE_EXPORT AddressBookLinkWidget : public QWidget, private Ui::AddressBookLinkWidgetBase
00045 {
00046 Q_OBJECT
00047 public:
00048     explicit AddressBookLinkWidget( QWidget * parent = 0, const char * name = 0 );
00049     ~AddressBookLinkWidget() {}
00053     void setAddressee( const KABC::Addressee& addr );
00057     void setMetaContact( const Kopete::MetaContact * );
00061     QString uid() const;
00062 signals:
00066     void addresseeChanged( const KABC::Addressee& addr );
00067     
00072     void selectAddresseeClicked();
00073 protected slots:
00074     void slotClearAddressee();
00075     void slotSelectAddressee();
00076 private:
00077     const Kopete::MetaContact * mMetaContact;
00078     QString mSelectedUid;
00079 };
00080 } // end namespace UI
00081 } // end namespace Kopete
00082 #endif

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