kopete/kopete
contactlistproxymodel.cpp
Go to the documentation of this file.
41 connect ( Kopete::AppearanceSettings::self(), SIGNAL(configChanged()), this, SLOT(slotConfigChanged()) );
84 QObject* groupObjectLeft = qVariantValue<QObject*>( sourceModel()->data( left, Kopete::Items::ObjectRole ) );
85 QObject* groupObjectRight = qVariantValue<QObject*>( sourceModel()->data( right, Kopete::Items::ObjectRole ) );
126 bool ContactListProxyModel::filterAcceptsRow ( int sourceRow, const QModelIndex & sourceParent ) const
135 QObject* groupObject = qVariantValue<QObject*>( model->data( current, Kopete::Items::ObjectRole ) );
194 QObject* contactObject = qVariantValue<QObject*>( model->data( current, Kopete::Items::ObjectRole ) );
202 QObject* groupObject = qVariantValue<QObject*>( model->data( sourceParent, Kopete::Items::ObjectRole ) );
204 if ( Kopete::AppearanceSettings::self()->groupContactByGroup() && qobject_cast<Kopete::Group*>(groupObject) != 0 )
267 // Better search. Now a search will look in the metacontact display name, the invidual account contact names and any email addresses.
268 bool ContactListProxyModel::searchContactInfo(Kopete::MetaContact *mc, QRegExp searchPattern) const
Contains definitions common between model items.
int rootRowCount
Definition: contactlistproxymodel.h:50
bool showOffline
Definition: contactlistproxymodel.h:48
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
Definition: contactlistproxymodel.cpp:126
Definition: kopeteitembase.h:57
Definition: kopeteitembase.h:57
bool sortScheduled
Definition: contactlistproxymodel.h:51
ContactListProxyModel(QObject *parent=0)
Definition: contactlistproxymodel.cpp:36
void slotConfigChanged()
Definition: contactlistproxymodel.cpp:60
~ContactListProxyModel()
Definition: contactlistproxymodel.cpp:55
bool lessThan(const QModelIndex &left, const QModelIndex &right) const
Definition: contactlistproxymodel.cpp:66
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.