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

kopete/kopete

  • Kopete
  • UI
  • ContactListTreeModel
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
Kopete::UI::ContactListTreeModel Class Reference

#include <contactlisttreemodel.h>

Inheritance diagram for Kopete::UI::ContactListTreeModel:
Inheritance graph
[legend]

Public Slots

virtual void addGroup (Kopete::Group *)
 
virtual void addMetaContact (Kopete::MetaContact *)
 
virtual void addMetaContactToGroup (Kopete::MetaContact *, Kopete::Group *)
 
virtual void removeGroup (Kopete::Group *)
 
virtual void removeMetaContact (Kopete::MetaContact *)
 
virtual void removeMetaContactFromGroup (Kopete::MetaContact *, Kopete::Group *)
 
- Public Slots inherited from Kopete::UI::ContactListModel
virtual void addGroup (Kopete::Group *)
 
virtual void addMetaContact (Kopete::MetaContact *)
 
virtual void addMetaContactToGroup (Kopete::MetaContact *, Kopete::Group *)
 
virtual void moveMetaContactToGroup (Kopete::MetaContact *, Kopete::Group *, Kopete::Group *)
 
virtual void removeGroup (Kopete::Group *)
 
virtual void removeMetaContact (Kopete::MetaContact *)
 
virtual void removeMetaContactFromGroup (Kopete::MetaContact *, Kopete::Group *)
 

Public Member Functions

 ContactListTreeModel (QObject *parent=0)
 
 ~ContactListTreeModel ()
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
virtual bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual bool hasChildren (const QModelIndex &parent=QModelIndex()) const
 
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
virtual QModelIndex parent (const QModelIndex &index) const
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 
virtual bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 
- Public Member Functions inherited from Kopete::UI::ContactListModel
 ContactListModel (QObject *parent=0)
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 
void init ()
 
bool loadModelSettings (const QString &modelType)
 
virtual QMimeData * mimeData (const QModelIndexList &indexes) const
 
virtual QStringList mimeTypes () const
 
bool saveModelSettings (const QString &modelType)
 
virtual Qt::DropActions supportedDropActions () const
 

Protected Slots

virtual void appearanceConfigChanged ()
 
virtual void handleContactDataChange (Kopete::MetaContact *)
 
virtual void loadContactList ()
 
- Protected Slots inherited from Kopete::UI::ContactListModel
virtual void appearanceConfigChanged ()=0
 
virtual void handleContactDataChange (Kopete::MetaContact *)=0
 
void handleContactDataChange ()
 
virtual void loadContactList ()
 
void newMessageEvent (Kopete::MessageEvent *event)
 
void newMessageEventDone (Kopete::MessageEvent *event)
 

Protected Member Functions

virtual bool dropMetaContacts (int row, const QModelIndex &parent, Qt::DropAction action, const QList< GroupMetaContactPair > &items)
 
virtual void loadModelSettingsImpl (QDomElement &rootElement)
 
virtual void saveModelSettingsImpl (QDomDocument &doc, QDomElement &rootElement)
 
- Protected Member Functions inherited from Kopete::UI::ContactListModel
bool dropUrl (const QMimeData *data, int row, const QModelIndex &parent, Qt::DropAction action)
 
QVariant metaContactData (const Kopete::MetaContact *mc, int role) const
 
QVariant metaContactImage (const Kopete::MetaContact *mc) const
 
QString metaContactTooltip (const Kopete::MetaContact *metaContact) const
 

Additional Inherited Members

- Protected Types inherited from Kopete::UI::ContactListModel
typedef QPair< Kopete::Group
*, Kopete::MetaContact * > 
GroupMetaContactPair
 
- Protected Attributes inherited from Kopete::UI::ContactListModel
bool m_manualGroupSorting
 
bool m_manualMetaContactSorting
 

Detailed Description

Author
Aleix Pol aleix.nosp@m.pol@.nosp@m.gmail.nosp@m..com

Definition at line 40 of file contactlisttreemodel.h.

Constructor & Destructor Documentation

Kopete::UI::ContactListTreeModel::ContactListTreeModel ( QObject *  parent = 0)

Definition at line 42 of file contactlisttreemodel.cpp.

Kopete::UI::ContactListTreeModel::~ContactListTreeModel ( )

Definition at line 49 of file contactlisttreemodel.cpp.

Member Function Documentation

void Kopete::UI::ContactListTreeModel::addGroup ( Kopete::Group *  group)
virtualslot

Definition at line 78 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::addMetaContact ( Kopete::MetaContact *  contact)
virtualslot

Definition at line 54 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::addMetaContactToGroup ( Kopete::MetaContact *  mc,
Kopete::Group *  group 
)
virtualslot

Definition at line 114 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::appearanceConfigChanged ( )
protectedvirtualslot

Definition at line 612 of file contactlisttreemodel.cpp.

QVariant Kopete::UI::ContactListTreeModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 266 of file contactlisttreemodel.cpp.

bool Kopete::UI::ContactListTreeModel::dropMetaContacts ( int  row,
const QModelIndex &  parent,
Qt::DropAction  action,
const QList< GroupMetaContactPair > &  items 
)
protectedvirtual

Reimplemented from Kopete::UI::ContactListModel.

Definition at line 497 of file contactlisttreemodel.cpp.

bool Kopete::UI::ContactListTreeModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)
virtual

Definition at line 385 of file contactlisttreemodel.cpp.

Qt::ItemFlags Kopete::UI::ContactListTreeModel::flags ( const QModelIndex &  index) const
virtual

Definition at line 345 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::handleContactDataChange ( Kopete::MetaContact *  mc)
protectedvirtualslot

Definition at line 591 of file contactlisttreemodel.cpp.

bool Kopete::UI::ContactListTreeModel::hasChildren ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 205 of file contactlisttreemodel.cpp.

QModelIndex Kopete::UI::ContactListTreeModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
virtual

Definition at line 213 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::loadContactList ( )
protectedvirtualslot

Definition at line 627 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::loadModelSettingsImpl ( QDomElement &  rootElement)
protectedvirtual

Implements Kopete::UI::ContactListModel.

Definition at line 726 of file contactlisttreemodel.cpp.

QModelIndex Kopete::UI::ContactListTreeModel::parent ( const QModelIndex &  index) const
virtual

Definition at line 489 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::removeGroup ( Kopete::Group *  group)
virtualslot

Definition at line 99 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::removeMetaContact ( Kopete::MetaContact *  contact)
virtualslot

Definition at line 70 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::removeMetaContactFromGroup ( Kopete::MetaContact *  mc,
Kopete::Group *  group 
)
virtualslot

Definition at line 175 of file contactlisttreemodel.cpp.

int Kopete::UI::ContactListTreeModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 197 of file contactlisttreemodel.cpp.

void Kopete::UI::ContactListTreeModel::saveModelSettingsImpl ( QDomDocument &  doc,
QDomElement &  rootElement 
)
protectedvirtual

Implements Kopete::UI::ContactListModel.

Definition at line 646 of file contactlisttreemodel.cpp.

bool Kopete::UI::ContactListTreeModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
virtual

Reimplemented from Kopete::UI::ContactListModel.

Definition at line 240 of file contactlisttreemodel.cpp.


The documentation for this class was generated from the following files:
  • contactlisttreemodel.h
  • contactlisttreemodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/kopete

Skip menu "kopete/kopete"
  • 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