Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QPictureHandler Class Reference

Public Types

enum  TMode { Untranslated =0, TranslateIn, TranslateInOut }
 

Public Functions

 QPictureHandler (const char *f, const char *h, const QByteArray &fl, picture_io_handler r, picture_io_handler w)
 

Public Variables

QByteArray format
 
QRegExp header
 
bool obsolete
 
picture_io_handler read_picture
 
enum QPictureHandler::TMode text_mode
 
picture_io_handler write_picture
 

Detailed Description

Definition at line 1460 of file qpicture.cpp.

Enumerations

◆ TMode

Enumerator
Untranslated 
TranslateIn 
TranslateInOut 

Definition at line 1467 of file qpicture.cpp.

Constructors and Destructors

◆ QPictureHandler()

QPictureHandler::QPictureHandler ( const char *  f,
const char *  h,
const QByteArray fl,
picture_io_handler  r,
picture_io_handler  w 
)

Definition at line 1473 of file qpicture.cpp.

Referenced by QPictureIO::defineIOHandler().

1476 {
1478  if (fl.contains('t'))
1480  else if (fl.contains('T'))
1482  obsolete = fl.contains('O');
1483  read_picture = r;
1484  write_picture = w;
1485 }
picture_io_handler write_picture
Definition: qpicture.cpp:1469
enum QPictureHandler::TMode text_mode
picture_io_handler read_picture
Definition: qpicture.cpp:1468
QByteArray format
Definition: qpicture.cpp:1465
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
Definition: qstring.cpp:4188
QBool contains(char c) const
Returns true if the byte array contains the character ch; otherwise returns false.
Definition: qbytearray.h:525

Properties

◆ format

QByteArray QPictureHandler::format

◆ header

QRegExp QPictureHandler::header

Definition at line 1466 of file qpicture.cpp.

◆ obsolete

bool QPictureHandler::obsolete

◆ read_picture

picture_io_handler QPictureHandler::read_picture

Definition at line 1468 of file qpicture.cpp.

Referenced by QPictureIO::inputFormats(), QPictureHandler(), and QPictureIO::read().

◆ text_mode

enum QPictureHandler::TMode QPictureHandler::text_mode

◆ write_picture

picture_io_handler QPictureHandler::write_picture

Definition at line 1469 of file qpicture.cpp.

Referenced by QPictureIO::outputFormats(), QPictureHandler(), and QPictureIO::write().


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