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

tdecore

Public Member Functions | Protected Member Functions

KPixmapProvider Class Reference

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

#include <kpixmapprovider.h>

List of all members.

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 <pfeiffer@kde.org> 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:
text the text that is associated with the pixmap
size the size of the icon in pixels, 0 for defaylt size. See TDEIcon::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

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.7.1
This website is maintained by Timothy Pearson.