• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kpilot

KeyringListModel Class Reference

#include <keyringlistmodel.h>

Inheritance diagram for KeyringListModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 34 of file keyringlistmodel.h.


Public Member Functions

bool addRecord (KeyringHHRecord *record)
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 KeyringListModel (KeyringHHDataProxy *proxy, QObject *parent=0)
KeyringHHRecord * record (const QModelIndex &index)
bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
int rowCount (const QModelIndex &parent=QModelIndex()) const

Constructor & Destructor Documentation

KeyringListModel::KeyringListModel ( KeyringHHDataProxy *  proxy,
QObject *  parent = 0 
) [explicit]

KeyringListModel does not take over owner ship of proxy and does not delete the proxy or pointers to records when it gets deleted.

Definition at line 36 of file keyringlistmodel.cc.


Member Function Documentation

bool KeyringListModel::addRecord ( KeyringHHRecord *  record  ) 

Definition at line 115 of file keyringlistmodel.cc.

QVariant KeyringListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Returns the data stored under the given role for the item referred to by the index.

Definition at line 59 of file keyringlistmodel.cc.

QVariant KeyringListModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Definition at line 79 of file keyringlistmodel.cc.

KeyringHHRecord * KeyringListModel::record ( const QModelIndex &  index  ) 

Definition at line 128 of file keyringlistmodel.cc.

bool KeyringListModel::removeRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 
)

Definition at line 91 of file keyringlistmodel.cc.

int KeyringListModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const

Returns the number of rows under the given parent.

Definition at line 53 of file keyringlistmodel.cc.


The documentation for this class was generated from the following files:
  • keyringlistmodel.h
  • keyringlistmodel.cc

kpilot

Skip menu "kpilot"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal