Add time format getter to Ui::Integration.
This commit is contained in:
parent
03ea7a05e6
commit
e712f9b3de
3 changed files with 7 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "base/basic_types.h"
|
||||
#include "base/algorithm.h"
|
||||
|
||||
#include <QtCore/QList>
|
||||
#include <QtCore/QVector>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue