Changeset View
Changeset View
Standalone View
Standalone View
document/kpDocumentSaveOptions.cpp
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | |||||
161 | } | 161 | } | ||
162 | 162 | | |||
163 | //--------------------------------------------------------------------- | 163 | //--------------------------------------------------------------------- | ||
164 | 164 | | |||
165 | 165 | | |||
166 | // public static | 166 | // public static | ||
167 | QString kpDocumentSaveOptions::invalidMimeType () | 167 | QString kpDocumentSaveOptions::invalidMimeType () | ||
168 | { | 168 | { | ||
169 | return QString(); | 169 | return {}; | ||
170 | } | 170 | } | ||
171 | 171 | | |||
172 | //--------------------------------------------------------------------- | 172 | //--------------------------------------------------------------------- | ||
173 | 173 | | |||
174 | // public static | 174 | // public static | ||
175 | bool kpDocumentSaveOptions::mimeTypeIsInvalid (const QString &mimeType) | 175 | bool kpDocumentSaveOptions::mimeTypeIsInvalid (const QString &mimeType) | ||
176 | { | 176 | { | ||
177 | return (mimeType == invalidMimeType ()); | 177 | return (mimeType == invalidMimeType ()); | ||
▲ Show 20 Lines • Show All 445 Lines • Show Last 20 Lines |