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

tdecore

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

#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.

Constructor & Destructor Documentation

◆ ~KPixmapProvider()

KPixmapProvider::~KPixmapProvider ( )
virtual

Definition at line 23 of file kpixmapprovider.cpp.

Member Function Documentation

◆ pixmapFor()

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 TDEIcon::StdSize.
Returns
the pixmap for the arguments, or null if there is none

◆ virtual_hook()

void KPixmapProvider::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

Definition at line 25 of file kpixmapprovider.cpp.


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.9.4
This website is maintained by Timothy Pearson.