| 347 | } |
| 348 | |
| 349 | bool MarkdownEditor::isUrlToLocalFile(const QMimeData *source) const |
| 350 | { |
| 351 | return source->hasUrls() && (source->urls().count() == 1) && source->urls().first().isLocalFile(); |
| 352 | } |
| 353 | |
| 354 | void MarkdownEditor::loadStyleFromStylesheet(const QString &fileName) |
| 355 | { |