Changeset View
Changeset View
Standalone View
Standalone View
libs/koplugin/KisMimeDatabase.cpp
Show First 20 Lines • Show All 263 Lines • ▼ Show 20 Line(s) | 156 | if (s_mimeDatabase.isEmpty()) { | |||
---|---|---|---|---|---|
264 | 264 | | |||
265 | mimeType.mimeType = "application/x-krita-reference-images"; | 265 | mimeType.mimeType = "application/x-krita-reference-images"; | ||
266 | mimeType.description = i18nc("description of a file type", "Krita Reference Image Collection"); | 266 | mimeType.description = i18nc("description of a file type", "Krita Reference Image Collection"); | ||
267 | mimeType.suffixes = QStringList() << "krf"; | 267 | mimeType.suffixes = QStringList() << "krf"; | ||
268 | s_mimeDatabase << mimeType; | 268 | s_mimeDatabase << mimeType; | ||
269 | 269 | | |||
270 | mimeType.mimeType = "image/x-krita-raw"; | 270 | mimeType.mimeType = "image/x-krita-raw"; | ||
271 | mimeType.description = i18nc("description of a file type", "Camera Raw Files"); | 271 | mimeType.description = i18nc("description of a file type", "Camera Raw Files"); | ||
272 | mimeType.suffixes = QStringList() << "rw2" << "nef" << "cr2" << "sr2" << "crw" << "pef" << "x3f" << "kdc" << "mrw" << "arw" << "k25" << "dcr" << "orf" << "raw" << "raw" << "raf" << "srf" << "dng"; | 272 | mimeType.suffixes = QStringList() << "bay" << "bmq" << "cr2" << "crw" << "cs1" << "dc2" << "dcr" << "dng" << "erf" << "fff" << "hdr" << "k25" << "kdc" << "mdc" << "mos" << "mrw" << "nef" << "orf" << "pef" << "pxn" << "raf" << "raw" << "rdc" << "sr2" << "srf" << "x3f" << "arw" << "3fr" << "cine" << "ia" << "kc2" << "mef" << "nrw" << "qtk" << "rw2" << "sti" << "rwl" << "srw"; | ||
273 | s_mimeDatabase << mimeType; | 273 | s_mimeDatabase << mimeType; | ||
274 | 274 | | |||
275 | mimeType.mimeType = "application/x-extension-exr"; | 275 | mimeType.mimeType = "application/x-extension-exr"; | ||
276 | mimeType.description = i18nc("description of a file type", "OpenEXR (Extended)"); | 276 | mimeType.description = i18nc("description of a file type", "OpenEXR (Extended)"); | ||
277 | mimeType.suffixes = QStringList() << "exr"; | 277 | mimeType.suffixes = QStringList() << "exr"; | ||
278 | s_mimeDatabase << mimeType; | 278 | s_mimeDatabase << mimeType; | ||
279 | 279 | | |||
280 | mimeType.mimeType = "image/x-psb"; | 280 | mimeType.mimeType = "image/x-psb"; | ||
281 | mimeType.description = i18nc("description of a file type", "Photoshop Image (Large)"); | 281 | mimeType.description = i18nc("description of a file type", "Photoshop Image (Large)"); | ||
282 | mimeType.suffixes = QStringList() << "psb"; | 282 | mimeType.suffixes = QStringList() << "psb"; | ||
283 | s_mimeDatabase << mimeType; | 283 | s_mimeDatabase << mimeType; | ||
284 | 284 | | |||
285 | debugPlugin << "Filled mimedatabase with" << s_mimeDatabase.count() << "special mimetypes"; | 285 | debugPlugin << "Filled mimedatabase with" << s_mimeDatabase.count() << "special mimetypes"; | ||
286 | } | 286 | } | ||
287 | } | 287 | } |