kexi

#include <pixmapcollection.h>

Inherits TQObject.

Signals

void itemRenamed (const TQString &oldName, const TQString &newName)
 
void itemRemoved (const TQString &name)
 

Public Member Functions

 PixmapCollection (const TQString &collectionName, TQObject *parent=0, const char *name=0)
 
TQString addPixmapPath (const KURL &url)
 
TQString addPixmapName (const TQString &name, int size=TDEIcon::SizeMedium)
 
void removePixmap (const TQString &name)
 
bool contains (const TQString &name)
 
TQPixmap getPixmap (const TQString &name)
 
void save (TQDomNode parentNode)
 
void load (TQDomNode node)
 
TQString collectionName ()
 

Protected Attributes

TQString m_name
 
PixmapMap m_pixmaps
 

Friends

class PixmapCollectionEditor
 
class PixmapCollectionChooser
 

Detailed Description

A class that store pixmaps (by path or by name for KDE icons)

Definition at line 43 of file pixmapcollection.h.

Constructor & Destructor Documentation

◆ PixmapCollection()

PixmapCollection::PixmapCollection ( const TQString &  collectionName,
TQObject *  parent = 0,
const char *  name = 0 
)

Pixmap Collection.

Definition at line 43 of file pixmapcollection.cpp.

◆ ~PixmapCollection()

PixmapCollection::~PixmapCollection ( )
inline

Definition at line 50 of file pixmapcollection.h.

Member Function Documentation

◆ addPixmapName()

TQString PixmapCollection::addPixmapName ( const TQString &  name,
int  size = TDEIcon::SizeMedium 
)

Definition at line 68 of file pixmapcollection.cpp.

◆ addPixmapPath()

TQString PixmapCollection::addPixmapPath ( const KURL &  url)

Definition at line 50 of file pixmapcollection.cpp.

◆ collectionName()

TQString PixmapCollection::collectionName ( )
inline

Definition at line 62 of file pixmapcollection.h.

◆ contains()

bool PixmapCollection::contains ( const TQString &  name)

Definition at line 109 of file pixmapcollection.cpp.

◆ getPixmap()

TQPixmap PixmapCollection::getPixmap ( const TQString &  name)

Definition at line 92 of file pixmapcollection.cpp.

◆ load()

void PixmapCollection::load ( TQDomNode  node)

Definition at line 141 of file pixmapcollection.cpp.

◆ removePixmap()

void PixmapCollection::removePixmap ( const TQString &  name)

Definition at line 86 of file pixmapcollection.cpp.

◆ save()

void PixmapCollection::save ( TQDomNode  parentNode)

Definition at line 115 of file pixmapcollection.cpp.

Friends And Related Symbol Documentation

◆ PixmapCollectionChooser

friend class PixmapCollectionChooser
friend

Definition at line 73 of file pixmapcollection.h.

◆ PixmapCollectionEditor

friend class PixmapCollectionEditor
friend

Definition at line 72 of file pixmapcollection.h.

Member Data Documentation

◆ m_name

TQString PixmapCollection::m_name
protected

Definition at line 69 of file pixmapcollection.h.

◆ m_pixmaps

PixmapMap PixmapCollection::m_pixmaps
protected

Definition at line 70 of file pixmapcollection.h.


The documentation for this class was generated from the following files: