kopete/libkopete
metacontactselectorwidget.cpp
Go to the documentation of this file.
72 MetaContactSelectorWidgetLVI::MetaContactSelectorWidgetLVI(Kopete::MetaContact *mc, Q3ListView *parent, QObject *owner) : Kopete::UI::ListView::Item(parent, owner) , d( new Private() )
211 connect( Kopete::ContactList::self(), SIGNAL(metaContactAdded(Kopete::MetaContact*)), this, SLOT(slotLoadMetaContacts()) );
225 disconnect( Kopete::ContactList::self(), SIGNAL(metaContactAdded(Kopete::MetaContact*)), this, SLOT(slotLoadMetaContacts()) );
234 item = static_cast<MetaContactSelectorWidgetLVI *>( d->widget->metaContactListView->selectedItem() );
void selectMetaContact(Kopete::MetaContact *mc)
pre-selects a contact
Definition: metacontactselectorwidget.cpp:242
static ContactList * self()
The contact list is a singleton object.
Definition: kopetecontactlist.cpp:71
~MetaContactSelectorWidget()
Definition: metacontactselectorwidget.cpp:223
void buildVisualComponents()
Definition: metacontactselectorwidget.cpp:140
int width() const
const T & next()
void excludeMetaContact(Kopete::MetaContact *mc)
excludes a metacontact from being shown in the list if the metacontact is already excluded...
Definition: metacontactselectorwidget.cpp:262
void slotUpdateContactBox()
Definition: metacontactselectorwidget.cpp:173
This class represents a rectangular subsection of a ListItem.
Definition: kopetelistviewitem.h:103
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
QList< MetaContact * > metaContacts() const
return a list of all metacontact of the contact list Retrieve the list of all available meta contacts...
Definition: kopetecontactlist.cpp:112
bool isNull() const
void drawLine(const QLineF &line)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
DisplayNameComponent.
Definition: kopetelistviewitem.h:339
Q3ListViewItem * current() const
void setLabelMessage(const QString &msg)
sets the widget label message example: Please select a contact or, Choose a contact to delete ...
Definition: metacontactselectorwidget.cpp:296
MetaContactSelectorWidget(QWidget *parent=0, const char *name=0)
Definition: metacontactselectorwidget.cpp:192
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setPen(const QColor &color)
int width() const
void slotLoadMetaContacts()
Utility function, populates the metacontact list.
Definition: metacontactselectorwidget.cpp:277
void setObjectName(const QString &name)
void slotPhotoChanged()
Definition: metacontactselectorwidget.cpp:113
Kopete::MetaContact * metaContact()
Definition: metacontactselectorwidget.cpp:89
Component * component(uint n)
Definition: kopetelistviewitem.cpp:66
Definition: kopetecontact.h:58
virtual ~MetaContactSelectorWidgetLVI()
Definition: metacontactselectorwidget.cpp:84
int height() const
MetaContactSelectorWidgetLVI(Kopete::MetaContact *mc, Q3ListView *parent, QObject *owner=0)
Definition: metacontactselectorwidget.cpp:72
void metaContactListClicked(Q3ListViewItem *mc)
bool metaContactSelected()
Definition: metacontactselectorwidget.cpp:271
QWidget(QWidget *parent, QFlags< Qt::WindowType > f)
List-view item composed of Component items.
Definition: kopetelistviewitem.h:396
Definition: kopetemetacontact.h:54
int height() const
virtual QString text(int column) const
Definition: metacontactselectorwidget.cpp:108
void slotDisplayNameChanged()
Definition: metacontactselectorwidget.cpp:94
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Kopete::MetaContact * metaContact()
Definition: metacontactselectorwidget.cpp:231
QImage scaled(int width, int height, Qt::AspectRatioMode aspectRatioMode, Qt::TransformationMode transformMode) const
bool hasNext() const
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
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.