30 return m_handler->
read();
55 return (m_handler !=
nullptr);
64bool QTextureFileReader::init()
IOBluetoothDevice * device
static bool canRead(const QByteArray &suffix, const QByteArray &block)
\inmodule QtCore \reentrant
QString suffix() const
Returns the suffix (extension) of the file.
QString fileName() const
Returns the name of the file, excluding the path.
\inmodule QtCore \reentrant
bool isReadable() const
Returns true if data can be read from the device; otherwise returns false.
qint64 peek(char *data, qint64 maxlen)
static bool canRead(const QByteArray &suffix, const QByteArray &block)
static bool canRead(const QByteArray &suffix, const QByteArray &block)
\macro QT_RESTRICTED_CAST_FROM_ASCII
QByteArray toLatin1() const &
QString toLower() const &
QByteArray toUtf8() const &
virtual ~QTextureFileHandler()
virtual QTextureFileData read()=0
QTextureFileReader(QIODevice *device, const QString &fileName=QString())
static QList< QByteArray > supportedFileFormats()
Combined button and popup list for selecting options.
#define QByteArrayLiteral(str)
QFileInfo fi("c:/temp/foo")
[newstuff]