KVIrc
4.9.2
DeveloperAPIs
|
#include <KviPixmap.h>
Public Member Functions | |
bool | isNull () |
KviPixmap () | |
KviPixmap (const char *path) | |
KviPixmap (const KviPixmap &pix) | |
bool | load (const char *path) |
bool | load (const QString &path) |
KviPixmap & | operator= (const KviPixmap &pix) |
const QString & | path () const |
QPixmap * | pixmap () const |
void | set (const QPixmap &pix, const QString &szPath) |
void | setNull () |
~KviPixmap () | |
Private Attributes | |
QPixmap * | m_pPix |
QString | m_szPath |
KviPixmap::KviPixmap | ( | ) |
References m_pPix.
KviPixmap::~KviPixmap | ( | ) |
References m_pPix.
|
inline |
bool KviPixmap::load | ( | const char * | path | ) |
References m_pPix, m_szPath, and path().
Referenced by OptionsWidget_identityAvatar::chooseAvatar(), KviStringConversion::fromString(), KviPixmap(), and KviPixmapSelector::setImagePath().
References KviQString::equalCI(), m_pPix, m_szPath, path(), and pixmap().
|
inline |
|
inline |
void KviPixmap::set | ( | const QPixmap & | pix, |
const QString & | szPath | ||
) |
References m_pPix, m_szPath, and setNull().
Referenced by OptionsWidget_identityAvatar::chooseAvatar().
void KviPixmap::setNull | ( | ) |
References m_pPix, and m_szPath.
Referenced by OptionsWidget_identityAvatar::chooseAvatar(), KviStringConversion::fromString(), and set().
|
private |
Referenced by KviPixmap(), load(), operator=(), set(), setNull(), and ~KviPixmap().
|
private |
Referenced by KviPixmap(), load(), operator=(), set(), and setNull().