• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

Public Member Functions | Protected Member Functions | List of all members
KPixmapProvider Class Reference

#include <kpixmapprovider.h>

Public Member Functions

virtual TQPixmap pixmapFor (const TQString &text, int size=0)=0

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Detailed Description

A tiny abstract class with just one method: pixmapFor()

It will be called whenever an icon is searched for text.

Used e.g. by KHistoryCombo

Author
Carsten Pfeiffer pfeif.nosp@m.fer@.nosp@m.kde.o.nosp@m.rg an abstract interface for looking up icons

Definition at line 38 of file kpixmapprovider.h.

Member Function Documentation

virtual TQPixmap KPixmapProvider::pixmapFor ( const TQString &  text,
int  size = 0 
)
pure virtual

You may subclass this and return a pixmap of size size for text.

Parameters
textthe text that is associated with the pixmap
sizethe size of the icon in pixels, 0 for defaylt size. See KIcon::StdSize.
Returns
the pixmap for the arguments, or null if there is none

The documentation for this class was generated from the following files:
  • kpixmapprovider.h
  • kpixmapprovider.cpp

kdecore

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

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |