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

kget

  • kt
  • PeerViewModel
Classes | Public Slots | Public Member Functions | List of all members
kt::PeerViewModel Class Reference

#include <peerviewmodel.h>

Inheritance diagram for kt::PeerViewModel:
Inheritance graph
[legend]

Classes

struct  Item
 

Public Slots

void sort (int col, Qt::SortOrder order)
 

Public Member Functions

 PeerViewModel (QObject *parent)
 
virtual ~PeerViewModel ()
 
void clear ()
 
virtual int columnCount (const QModelIndex &parent) const
 
virtual QVariant data (const QModelIndex &index, int role) const
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role) const
 
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
bt::PeerInterface * indexToPeer (const QModelIndex &idx)
 
virtual bool insertRows (int row, int count, const QModelIndex &parent)
 
void peerAdded (bt::PeerInterface *peer)
 
void peerRemoved (bt::PeerInterface *peer)
 
virtual bool removeRows (int row, int count, const QModelIndex &parent)
 
virtual int rowCount (const QModelIndex &parent) const
 
void update ()
 

Detailed Description

Author
Joris Guisson Model for the PeerView

Definition at line 36 of file peerviewmodel.h.

Constructor & Destructor Documentation

kt::PeerViewModel::PeerViewModel ( QObject *  parent)

Definition at line 211 of file peerviewmodel.cpp.

kt::PeerViewModel::~PeerViewModel ( )
virtual

Definition at line 219 of file peerviewmodel.cpp.

Member Function Documentation

void kt::PeerViewModel::clear ( )

Definition at line 248 of file peerviewmodel.cpp.

int kt::PeerViewModel::columnCount ( const QModelIndex &  parent) const
virtual

Definition at line 290 of file peerviewmodel.cpp.

QVariant kt::PeerViewModel::data ( const QModelIndex &  index,
int  role 
) const
virtual

Definition at line 351 of file peerviewmodel.cpp.

QVariant kt::PeerViewModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
virtual

Definition at line 298 of file peerviewmodel.cpp.

QModelIndex kt::PeerViewModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
virtual

Definition at line 274 of file peerviewmodel.cpp.

bt::PeerInterface * kt::PeerViewModel::indexToPeer ( const QModelIndex &  idx)

Definition at line 379 of file peerviewmodel.cpp.

bool kt::PeerViewModel::insertRows ( int  row,
int  count,
const QModelIndex &  parent 
)
virtual

Definition at line 372 of file peerviewmodel.cpp.

void kt::PeerViewModel::peerAdded ( bt::PeerInterface *  peer)

A peer has been added.

Definition at line 224 of file peerviewmodel.cpp.

void kt::PeerViewModel::peerRemoved ( bt::PeerInterface *  peer)

A peer has been removed.

Definition at line 231 of file peerviewmodel.cpp.

bool kt::PeerViewModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent 
)
virtual

Definition at line 365 of file peerviewmodel.cpp.

int kt::PeerViewModel::rowCount ( const QModelIndex &  parent) const
virtual

Definition at line 282 of file peerviewmodel.cpp.

void kt::PeerViewModel::sort ( int  col,
Qt::SortOrder  order 
)
slot

Definition at line 405 of file peerviewmodel.cpp.

void kt::PeerViewModel::update ( )

Update the model.

Definition at line 255 of file peerviewmodel.cpp.


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

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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