KVIrc 5.2.6
Developer APIs
KviPixmap Class Reference

#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)
 
KviPixmapoperator= (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
 

Constructor & Destructor Documentation

◆ KviPixmap() [1/3]

KviPixmap::KviPixmap ( )
default

◆ KviPixmap() [2/3]

KviPixmap::KviPixmap ( const char * path)

References load(), and path().

◆ KviPixmap() [3/3]

KviPixmap::KviPixmap ( const KviPixmap & pix)

References isNull(), path(), pixmap(), and set().

Member Function Documentation

◆ isNull()

◆ load() [1/2]

◆ load() [2/2]

bool KviPixmap::load ( const QString & path)

References m_pPix, m_szPath, path(), and setNull().

◆ operator=()

KviPixmap & KviPixmap::operator= ( const KviPixmap & pix)

◆ path()

◆ pixmap()

◆ set()

void KviPixmap::set ( const QPixmap & pix,
const QString & szPath )

◆ setNull()

void KviPixmap::setNull ( )

Member Data Documentation

◆ m_pPix

std::unique_ptr<QPixmap> KviPixmap::m_pPix
private

Referenced by load(), operator=(), set(), and setNull().

◆ m_szPath

QString KviPixmap::m_szPath
private

Referenced by load(), operator=(), set(), and setNull().


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