| Line | Source Code | Coverage |
|---|
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | class QIODevice; | - |
| 6 | | - |
| 7 | class QImageIOHandlerPrivate | - |
| 8 | { | - |
| 9 | inline QImageIOHandler* q_func() { return static_cast<QImageIOHandler *>(q_ptr); } inline const QImageIOHandler* q_func() const { return static_cast<const QImageIOHandler *>(q_ptr); } friend class QImageIOHandler; | - |
| 10 | public: | - |
| 11 | QImageIOHandlerPrivate(QImageIOHandler *q); | - |
| 12 | virtual ~QImageIOHandlerPrivate(); | - |
| 13 | | - |
| 14 | QIODevice *device; | - |
| 15 | mutable QByteArray format; | - |
| 16 | | - |
| 17 | QImageIOHandler *q_ptr; | - |
| 18 | }; | - |
| 19 | | - |
| 20 | QImageIOHandlerPrivate::QImageIOHandlerPrivate(QImageIOHandler *q) | - |
| 21 | { | - |
| 22 | device = 0; | - |
| 23 | q_ptr = q; | - |
| 24 | } executed: }Execution Count:2219 | 2219 |
| 25 | | - |
| 26 | QImageIOHandlerPrivate::~QImageIOHandlerPrivate() | - |
| 27 | { | - |
| 28 | } | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | QImageIOHandler::QImageIOHandler() | - |
| 34 | : d_ptr(new QImageIOHandlerPrivate(this)) | - |
| 35 | { | - |
| 36 | } executed: }Execution Count:2219 | 2219 |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | | - |
| 41 | | - |
| 42 | | - |
| 43 | QImageIOHandler::QImageIOHandler(QImageIOHandlerPrivate &dd) | - |
| 44 | : d_ptr(&dd) | - |
| 45 | { | - |
| 46 | } | 0 |
| 47 | | - |
| 48 | | - |
| 49 | | - |
| 50 | | - |
| 51 | QImageIOHandler::~QImageIOHandler() | - |
| 52 | { | - |
| 53 | } | - |
| 54 | void QImageIOHandler::setDevice(QIODevice *device) | - |
| 55 | { | - |
| 56 | QImageIOHandlerPrivate * const d = d_func(); | - |
| 57 | d->device = device; | - |
| 58 | } executed: }Execution Count:2692 | 2692 |
| 59 | | - |
| 60 | | - |
| 61 | | - |
| 62 | | - |
| 63 | | - |
| 64 | QIODevice *QImageIOHandler::device() const | - |
| 65 | { | - |
| 66 | const QImageIOHandlerPrivate * const d = d_func(); | - |
| 67 | return d->device; executed: return d->device;Execution Count:20625 | 20625 |
| 68 | } | - |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | | - |
| 76 | void QImageIOHandler::setFormat(const QByteArray &format) | - |
| 77 | { | - |
| 78 | QImageIOHandlerPrivate * const d = d_func(); | - |
| 79 | d->format = format; | - |
| 80 | } executed: }Execution Count:1547 | 1547 |
| 81 | void QImageIOHandler::setFormat(const QByteArray &format) const | - |
| 82 | { | - |
| 83 | const QImageIOHandlerPrivate * const d = d_func(); | - |
| 84 | d->format = format; | - |
| 85 | } executed: }Execution Count:1335 | 1335 |
| 86 | QByteArray QImageIOHandler::format() const | - |
| 87 | { | - |
| 88 | const QImageIOHandlerPrivate * const d = d_func(); | - |
| 89 | return d->format; executed: return d->format;Execution Count:177 | 177 |
| 90 | } | - |
| 91 | QByteArray QImageIOHandler::name() const | - |
| 92 | { | - |
| 93 | return format(); never executed: return format(); | 0 |
| 94 | } | - |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | | - |
| 101 | | - |
| 102 | bool QImageIOHandler::write(const QImage &image) | - |
| 103 | { | - |
| 104 | (void)image;; | - |
| 105 | return false; never executed: return false; | 0 |
| 106 | } | - |
| 107 | | - |
| 108 | | - |
| 109 | | - |
| 110 | | - |
| 111 | | - |
| 112 | | - |
| 113 | void QImageIOHandler::setOption(ImageOption option, const QVariant &value) | - |
| 114 | { | - |
| 115 | (void)option;; | - |
| 116 | (void)value;; | - |
| 117 | } | 0 |
| 118 | QVariant QImageIOHandler::option(ImageOption option) const | - |
| 119 | { | - |
| 120 | (void)option;; | - |
| 121 | return QVariant(); never executed: return QVariant(); | 0 |
| 122 | } | - |
| 123 | bool QImageIOHandler::supportsOption(ImageOption option) const | - |
| 124 | { | - |
| 125 | (void)option;; | - |
| 126 | return false; never executed: return false; | 0 |
| 127 | } | - |
| 128 | int QImageIOHandler::currentImageNumber() const | - |
| 129 | { | - |
| 130 | return 0; never executed: return 0; | 0 |
| 131 | } | - |
| 132 | QRect QImageIOHandler::currentImageRect() const | - |
| 133 | { | - |
| 134 | return QRect(); never executed: return QRect(); | 0 |
| 135 | } | - |
| 136 | int QImageIOHandler::imageCount() const | - |
| 137 | { | - |
| 138 | return canRead() ? 1 : 0; executed: return canRead() ? 1 : 0;Execution Count:36 | 36 |
| 139 | } | - |
| 140 | | - |
| 141 | | - |
| 142 | | - |
| 143 | | - |
| 144 | | - |
| 145 | | - |
| 146 | | - |
| 147 | bool QImageIOHandler::jumpToNextImage() | - |
| 148 | { | - |
| 149 | return false; never executed: return false; | 0 |
| 150 | } | - |
| 151 | bool QImageIOHandler::jumpToImage(int imageNumber) | - |
| 152 | { | - |
| 153 | (void)imageNumber;; | - |
| 154 | return false; executed: return false;Execution Count:7 | 7 |
| 155 | } | - |
| 156 | | - |
| 157 | | - |
| 158 | | - |
| 159 | | - |
| 160 | | - |
| 161 | | - |
| 162 | int QImageIOHandler::loopCount() const | - |
| 163 | { | - |
| 164 | return 0; executed: return 0;Execution Count:4 | 4 |
| 165 | } | - |
| 166 | | - |
| 167 | | - |
| 168 | | - |
| 169 | | - |
| 170 | | - |
| 171 | | - |
| 172 | | - |
| 173 | int QImageIOHandler::nextImageDelay() const | - |
| 174 | { | - |
| 175 | return 0; executed: return 0;Execution Count:45 | 45 |
| 176 | } | - |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | QImageIOPlugin::QImageIOPlugin(QObject *parent) | - |
| 185 | : QObject(parent) | - |
| 186 | { | - |
| 187 | } executed: }Execution Count:100 | 100 |
| 188 | | - |
| 189 | | - |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | | - |
| 194 | | - |
| 195 | QImageIOPlugin::~QImageIOPlugin() | - |
| 196 | { | - |
| 197 | } | - |
| 198 | | - |
| 199 | | - |
| | |