• 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
metacontactselectorwidget.h
Go to the documentation of this file.
1 /*
2  MetaContactSelectorWidget
3 
4  Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
5 
6  Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org>
7 
8  *************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  *************************************************************************
16 */
17 
18 #ifndef MetaContactSelectorWidget_H
19 #define MetaContactSelectorWidget_H
20 
21 #include <kdemacros.h>
22 #include <qwidget.h>
23 #include "kopetelistviewitem.h"
24 #include "kopete_export.h"
25 
26 namespace Kopete
27 {
28 class MetaContact;
29 
30 namespace UI
31 {
32 
38 class KOPETE_EXPORT MetaContactSelectorWidget : public QWidget
39 {
40  Q_OBJECT
41 public:
42  explicit MetaContactSelectorWidget( QWidget *parent = 0, const char *name = 0 );
43  ~MetaContactSelectorWidget();
44  Kopete::MetaContact* metaContact();
50  void setLabelMessage( const QString &msg );
54  void selectMetaContact( Kopete::MetaContact *mc );
59  void excludeMetaContact( Kopete::MetaContact *mc );
63  bool metaContactSelected();
64 protected slots:
68  void slotLoadMetaContacts();
69 signals:
70  void metaContactListClicked( Q3ListViewItem *mc );
71 private:
72  class Private;
73  Private * const d;
74 };
75 
80 class MetaContactSelectorWidgetLVI : public Kopete::UI::ListView::Item
81 {
82  Q_OBJECT
83 public:
84  MetaContactSelectorWidgetLVI(Kopete::MetaContact *mc, Q3ListView *parent, QObject *owner = 0 );
85  virtual ~MetaContactSelectorWidgetLVI();
86  Kopete::MetaContact* metaContact();
87  virtual QString text ( int column ) const;
88 protected slots:
89  void slotPhotoChanged();
90  void slotDisplayNameChanged();
91  void buildVisualComponents();
92  void slotUpdateContactBox();
93 private:
94  class Private;
95  Private * const d;
96 };
97 
98 } // namespace UI
99 } // namespace Kopete
100 
101 #endif
102 
103 // vim: set noet ts=4 sts=4 sw=4:
104 
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
Kopete::UI::MetaContactSelectorWidgetLVI::buildVisualComponents
void buildVisualComponents()
Definition: metacontactselectorwidget.cpp:140
QWidget
Kopete::UI::MetaContactSelectorWidgetLVI::slotUpdateContactBox
void slotUpdateContactBox()
Definition: metacontactselectorwidget.cpp:173
Q3ListViewItem
QObject
Kopete::UI::MetaContactSelectorWidgetLVI::slotPhotoChanged
void slotPhotoChanged()
Definition: metacontactselectorwidget.cpp:113
kopete_export.h
Kopete::UI::MetaContactSelectorWidgetLVI::metaContact
Kopete::MetaContact * metaContact()
Definition: metacontactselectorwidget.cpp:89
QString
Kopete::UI::MetaContactSelectorWidgetLVI::~MetaContactSelectorWidgetLVI
virtual ~MetaContactSelectorWidgetLVI()
Definition: metacontactselectorwidget.cpp:84
Kopete::UI::MetaContactSelectorWidget
Definition: metacontactselectorwidget.h:38
Kopete::UI::MetaContactSelectorWidgetLVI::MetaContactSelectorWidgetLVI
MetaContactSelectorWidgetLVI(Kopete::MetaContact *mc, Q3ListView *parent, QObject *owner=0)
Definition: metacontactselectorwidget.cpp:72
Kopete::UI::MetaContactSelectorWidgetLVI
Definition: metacontactselectorwidget.h:80
kopetelistviewitem.h
Kopete::UI::ListView::Item
List-view item composed of Component items.
Definition: kopetelistviewitem.h:396
Kopete::MetaContact
Definition: kopetemetacontact.h:54
Kopete::UI::MetaContactSelectorWidgetLVI::text
virtual QString text(int column) const
Definition: metacontactselectorwidget.cpp:108
Kopete::UI::MetaContactSelectorWidgetLVI::slotDisplayNameChanged
void slotDisplayNameChanged()
Definition: metacontactselectorwidget.cpp:94
QObject::parent
QObject * parent() const
Q3ListView
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