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

libkdegames

Public Types | Public Member Functions | List of all members
KgThemeDelegate Class Reference

#include <kgthemeselector_p.h>

Inheritance diagram for KgThemeDelegate:
Inheritance graph
[legend]

Public Types

enum  Roles { DescriptionRole = Qt::UserRole, AuthorRole, AuthorEmailRole, IdRole }
 

Public Member Functions

 KgThemeDelegate (QObject *parent=0)
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 
QRect thumbnailRect (const QRect &baseRect) const
 

Detailed Description

Definition at line 26 of file kgthemeselector_p.h.

Member Enumeration Documentation

enum KgThemeDelegate::Roles
Enumerator
DescriptionRole 
AuthorRole 
AuthorEmailRole 
IdRole 

Definition at line 29 of file kgthemeselector_p.h.

Constructor & Destructor Documentation

KgThemeDelegate::KgThemeDelegate ( QObject *  parent = 0)

Definition at line 225 of file kgthemeselector.cpp.

Member Function Documentation

void KgThemeDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual

Definition at line 242 of file kgthemeselector.cpp.

QSize KgThemeDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual
Note
The implementation is independent of option and index.

Definition at line 319 of file kgthemeselector.cpp.

QRect KgThemeDelegate::thumbnailRect ( const QRect &  baseRect) const

Definition at line 233 of file kgthemeselector.cpp.


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

KDE's Doxygen guidelines are available online.

libkdegames

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

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

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