| 120 | } |
| 121 | |
| 122 | QStringList Formats::nativeReadableFormats() |
| 123 | { |
| 124 | QList<QByteArray> nativeRFormats = QImageWriter::supportedImageFormats(); |
| 125 | |
| 126 | QStringList listNativeFormats; |
| 127 | |
| 128 | foreach(QByteArray format, nativeRFormats) { |
| 129 | listNativeFormats.append(*new QString(format)); |
| 130 | } |
| 131 | |
| 132 | return listNativeFormats; |
| 133 | } |
| 134 | |
| 135 | bool Formats::isNativeReadable(QString fileName) |
| 136 | { |
nothing calls this directly
no outgoing calls
no test coverage detected