Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YPixmap Class Reference

#include <settings.h>

List of all members.

Public Member Functions

 YPixmap (const QString &f, const QColor &c, const YPixmapArgs &args=YPixmapArgs())
 YPixmap (const QBrush &b, QBrush::BrushStyle s, const YPixmapArgs &args=YPixmapArgs())
 ~YPixmap ()
 Attention: Before calling the destructor be sure that no client is using the pixmap !

const QPixmap * GetPixmap ()
const QBrush * GetBrush ()
bool GetTriedAndFailed () const
void WarnIfFailed (bool w)

Private Member Functions

bool IsPixmapValid () const
int LoadPixmap ()

Private Attributes

QString filename
QColor color
QBrush brush
QPixmap * pixmap
bool tried_n_failed
bool warn_if_failed


Constructor & Destructor Documentation

YPixmap::YPixmap const QString &    f,
const QColor &    c,
const YPixmapArgs   args = YPixmapArgs()
[inline]
 

YPixmap::YPixmap const QBrush &    b,
QBrush::BrushStyle    s,
const YPixmapArgs   args = YPixmapArgs()
[inline]
 

YPixmap::~YPixmap   [inline]
 

Attention: Before calling the destructor be sure that no client is using the pixmap !


Member Function Documentation

const QBrush* YPixmap::GetBrush   [inline]
 

const QPixmap* YPixmap::GetPixmap   [inline]
 

bool YPixmap::GetTriedAndFailed   const [inline]
 

bool YPixmap::IsPixmapValid   const [inline, private]
 

int YPixmap::LoadPixmap   [private]
 

Load a pixmap if needed

void YPixmap::WarnIfFailed bool    w [inline]
 


Member Data Documentation

QBrush YPixmap::brush [private]
 

QColor YPixmap::color [private]
 

QString YPixmap::filename [private]
 

QPixmap* YPixmap::pixmap [private]
 

bool YPixmap::tried_n_failed [private]
 

bool YPixmap::warn_if_failed [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Feb 13 23:59:27 2003 for Yasa by doxygen1.3-rc3