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

kdecore

Public Member Functions | Protected Member Functions
KPixmapProvider Class Reference

#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:
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.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |