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

kget

  • kt
  • TrackerModel
Public Member Functions | List of all members
kt::TrackerModel Class Reference

#include <trackermodel.h>

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

Public Member Functions

 TrackerModel (QObject *parent)
 
virtual ~TrackerModel ()
 
void changeTC (bt::TorrentInterface *tc)
 
virtual int columnCount (const QModelIndex &parent) const
 
virtual QVariant data (const QModelIndex &index, int role) const
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role) const
 
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
virtual bool insertRows (int row, int count, const QModelIndex &parent)
 
virtual bool removeRows (int row, int count, const QModelIndex &parent)
 
virtual int rowCount (const QModelIndex &parent) const
 
virtual bool setData (const QModelIndex &index, const QVariant &value, int role)
 
bt::TrackerInterface * tracker (const QModelIndex &idx)
 
KUrl trackerUrl (const QModelIndex &idx)
 
void update ()
 

Detailed Description

Author

Definition at line 40 of file trackermodel.h.

Constructor & Destructor Documentation

kt::TrackerModel::TrackerModel ( QObject *  parent)

Definition at line 30 of file trackermodel.cpp.

kt::TrackerModel::~TrackerModel ( )
virtual

Definition at line 37 of file trackermodel.cpp.

Member Function Documentation

void kt::TrackerModel::changeTC ( bt::TorrentInterface *  tc)

Definition at line 42 of file trackermodel.cpp.

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

Definition at line 84 of file trackermodel.cpp.

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

Definition at line 93 of file trackermodel.cpp.

Qt::ItemFlags kt::TrackerModel::flags ( const QModelIndex &  index) const
virtual

Definition at line 200 of file trackermodel.cpp.

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

Definition at line 138 of file trackermodel.cpp.

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

Definition at line 208 of file trackermodel.cpp.

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

Definition at line 158 of file trackermodel.cpp.

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

Definition at line 182 of file trackermodel.cpp.

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

Definition at line 76 of file trackermodel.cpp.

bool kt::TrackerModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)
virtual

Definition at line 124 of file trackermodel.cpp.

bt::TrackerInterface * kt::TrackerModel::tracker ( const QModelIndex &  idx)

Get a tracker given a model index.

Definition at line 225 of file trackermodel.cpp.

KUrl kt::TrackerModel::trackerUrl ( const QModelIndex &  idx)

Get a tracker url given a model index.

Definition at line 217 of file trackermodel.cpp.

void kt::TrackerModel::update ( )

Definition at line 59 of file trackermodel.cpp.


The documentation for this class was generated from the following files:
  • trackermodel.h
  • trackermodel.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