MCPcopy Create free account
hub / github.com/KDE/okular / dateToString

Function dateToString

part/embeddedfilesdialog.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38static const int EmbeddedFileRole = Qt::UserRole + 100;
39
40static QString dateToString(const QDateTime &date)
41{
42 return date.isValid() ? QLocale().toString(date, QLocale::LongFormat) : i18nc("Unknown date", "Unknown");
43}
44
45EmbeddedFilesDialog::EmbeddedFilesDialog(QWidget *parent, const Okular::Document *document)
46 : QDialog(parent)

Callers 1

EmbeddedFilesDialogMethod · 0.85

Calls 2

toStringMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected