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

okteta

  • Kasten2
  • BookmarkListModel
Public Types | Public Member Functions | List of all members
Kasten2::BookmarkListModel Class Reference

#include <bookmarklistmodel.h>

Inheritance diagram for Kasten2::BookmarkListModel:
Inheritance graph
[legend]

Public Types

enum  ColumnIds { OffsetColumnId = 0, TitleColumnId = 1, NoOfColumnIds = 2 }
 

Public Member Functions

 BookmarkListModel (BookmarksTool *tool, QObject *parent=0)
 
virtual ~BookmarkListModel ()
 
const Okteta::Bookmark & bookmark (const QModelIndex &index) const
 
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
 
QModelIndex index (const Okteta::Bookmark &bookmark, int column=BookmarkListModel::TitleColumnId) const
 
virtual int rowCount (const QModelIndex &parent) const
 
virtual bool setData (const QModelIndex &index, const QVariant &value, int role)
 

Detailed Description

Definition at line 43 of file bookmarklistmodel.h.

Member Enumeration Documentation

enum Kasten2::BookmarkListModel::ColumnIds
Enumerator
OffsetColumnId 
TitleColumnId 
NoOfColumnIds 

Definition at line 48 of file bookmarklistmodel.h.

Constructor & Destructor Documentation

Kasten2::BookmarkListModel::BookmarkListModel ( BookmarksTool *  tool,
QObject *  parent = 0 
)
explicit

Definition at line 37 of file bookmarklistmodel.cpp.

Kasten2::BookmarkListModel::~BookmarkListModel ( )
virtual

Definition at line 228 of file bookmarklistmodel.cpp.

Member Function Documentation

const Okteta::Bookmark & Kasten2::BookmarkListModel::bookmark ( const QModelIndex &  index) const

Definition at line 165 of file bookmarklistmodel.cpp.

int Kasten2::BookmarkListModel::columnCount ( const QModelIndex &  parent) const
virtual

Definition at line 60 of file bookmarklistmodel.cpp.

QVariant Kasten2::BookmarkListModel::data ( const QModelIndex &  index,
int  role 
) const
virtual

Definition at line 65 of file bookmarklistmodel.cpp.

Qt::ItemFlags Kasten2::BookmarkListModel::flags ( const QModelIndex &  index) const
virtual

Definition at line 113 of file bookmarklistmodel.cpp.

QVariant Kasten2::BookmarkListModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
virtual

Definition at line 123 of file bookmarklistmodel.cpp.

QModelIndex Kasten2::BookmarkListModel::index ( const Okteta::Bookmark &  bookmark,
int  column = BookmarkListModel::TitleColumnId 
) const

Definition at line 171 of file bookmarklistmodel.cpp.

int Kasten2::BookmarkListModel::rowCount ( const QModelIndex &  parent) const
virtual

Definition at line 55 of file bookmarklistmodel.cpp.

bool Kasten2::BookmarkListModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)
virtual

Definition at line 141 of file bookmarklistmodel.cpp.


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

KDE's Doxygen guidelines are available online.

okteta

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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