![]() |
KVIrc 5.2.6
Developer APIs
|
#include <KviPixmap.h>
Public Member Functions | |
bool | isNull () const |
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 () |
Private Attributes | |
std::unique_ptr< QPixmap > | m_pPix |
QString | m_szPath |
|
default |
References KviPixmap(), and path().
Referenced by KviPixmap(), KviPixmap(), and operator=().
KviPixmap::KviPixmap | ( | const KviPixmap & | pix | ) |
References isNull(), KviPixmap(), path(), pixmap(), and set().
|
inline |
References m_pPix.
Referenced by KviPixmap(), operator=(), and KviPixmapPreview::setPixmap().
bool KviPixmap::load | ( | const char * | path | ) |
References load(), and path().
Referenced by KviStringConversion::fromString(), KviPixmap(), and load().
References KviQString::equalCI(), isNull(), KviPixmap(), m_pPix, m_szPath, path(), pixmap(), and setNull().
|
inline |
References m_szPath.
Referenced by KviPixmap(), KviPixmap(), KviPixmap(), load(), load(), operator=(), and KviStringConversion::toString().
|
inline |
References m_pPix.
Referenced by KviPixmap(), operator=(), and KviPixmapPreview::setPixmap().
void KviPixmap::set | ( | const QPixmap & | pix, |
const QString & | szPath ) |
References m_pPix, m_szPath, and setNull().
Referenced by KviPixmap().
void KviPixmap::setNull | ( | ) |
References m_pPix, and m_szPath.
Referenced by KviStringConversion::fromString(), load(), operator=(), and set().
|
private |
|
private |
Referenced by load(), operator=(), path(), set(), and setNull().