• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

Classes | Functions
KStyle option representation

Classes

class  KStyle::ColorMode
 A representation for colors for use as a widget layout property. More...
struct  KStyle::ColorOption
 Option representing the color of the thing to draw. More...
struct  KStyle::DoubleButtonOption
 Option for drawing double scrollbar buttons, indicating whether a button should be drawn active or not. More...
struct  KStyle::IconOption
 Option for drawing icons: represents whether the icon should be active or not. More...
struct  KStyle::Option
 Base for our own option classes. More...
struct  KStyle::OptionBase< EventualSubtype, BaseType >
 Intermediatary base that helps implement subtypes of Option that properly handle defaults. More...
struct  KStyle::TextOption
 Option representing text drawing info. For Generic::Text. More...
struct  KStyle::TitleButtonOption
 Option for drawing WT_Window titlebar buttons, indicating whether the button is pressed, and containing the window icon. More...

Functions

template<typename T >
static T KStyle::extractOption (Option *option)

Detailed Description

Things related to the representation of options passed when drawing things.


Function Documentation

template<typename T >
T KStyle::extractOption ( Option *  option)
staticprotected

The extractOption method casts the passed in option object, and returns it, if available, or the defaults for the given type.

When implementing drawing of things with associated options, just use this to extract the parameter.

Definition at line 1684 of file kstyle.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:34:13 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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