ReaderManager
ReaderManager Class Reference
#include <readermanager.h>
Public Types | |
typedef QSharedPointer< ReaderBase > | ReaderPtr |
Static Public Member Functions | |
static ReaderPtr | reader (QIODevice &device) |
Detailed Description
manages the choice of readers.
When ReaderManager goes out of scope it frees its reader.
Definition at line 19 of file readermanager.h.
Member Typedef Documentation
◆ ReaderPtr
a QSharedPointer to the ReaderBase class.
Definition at line 23 of file readermanager.h.
Member Function Documentation
◆ reader()
|
static |
returns a reader that can read this device.
The device must be open for read and seekable. The manager checks all the readers that are known. If none of them can parse this file/device it returns a BadReader.
- Parameters
-
device an open readable, non-sequential device.
- Returns
- a QSharedPointer<ReaderBase> for the device.
Definition at line 21 of file readermanager.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.