Add time format getter to Ui::Integration.

This commit is contained in:
John Preston 2020-09-30 12:10:23 +03:00
parent 03ea7a05e6
commit e712f9b3de
3 changed files with 7 additions and 0 deletions

View file

@ -42,6 +42,10 @@ void Integration::startFontsBegin() {
void Integration::startFontsEnd() {
}
QString Integration::timeFormat() {
return u"hh:mm"_q;
}
std::shared_ptr<ClickHandler> Integration::createLinkHandler(
const EntityLinkData &data,
const std::any &context) {

View file

@ -44,6 +44,8 @@ public:
virtual void startFontsBegin();
virtual void startFontsEnd();
[[nodiscard]] virtual QString timeFormat();
[[nodiscard]] virtual std::shared_ptr<ClickHandler> createLinkHandler(
const EntityLinkData &data,
const std::any &context);

View file

@ -7,6 +7,7 @@
#pragma once
#include "base/basic_types.h"
#include "base/algorithm.h"
#include <QtCore/QList>
#include <QtCore/QVector>