QString NotificationView::ClipboardText(const Notification & n) const { auto title = n.Title(); auto text = n.PlainText(); auto timestamp = locale().toString(n.Timestamp(), QLocale::ShortFormat); return title % " " % timestamp % QStringLiteral("\n") % text; }