#ifndef PBITMAP_H
#define PBITMAP_H
#undef bool
#include "qbitmap.h"
#include "pqt.h"
class
PBitmap :
public
QBitmap {
public
:
PBitmap() {}
PBitmap(
int
w,
int
h,
bool
clear = FALSE) : QBitmap(w, h, clear) {}
PBitmap(
const
QSize &size,
bool
clear = FALSE) : QBitmap(size, clear) {}
PBitmap(
int
w,
int
h,
const
uchar *bits,
bool
isXbitmap = FALSE) :
QBitmap(w, h, bits, isXbitmap) {}
PBitmap(
const
QSize &size,
const
uchar *bits,
bool
isXbitmap = FALSE) :
QBitmap(size, bits, isXbitmap) {}
PBitmap(
const
char
*fileName,
const
char
*format = 0) :
QBitmap(fileName, format) {}
PBitmap(
const
QBitmap &bitmap) : QBitmap(bitmap) {}
PBitmap(
const
QPixmap &pixmap) { *(QBitmap *)
this
= pixmap; }
PBitmap(
const
QImage &image) { *(QBitmap *)
this
= image; }
};
#endif // PBITMAP_H