QtUiStyle::QtUiStyle(QObject *parent) : UiStyle(parent)
{
ChatViewSettings s;
+ s.notify("UseCustomTimestampFormat", this, SLOT(updateUseCustomTimestampFormat()));
+ updateUseCustomTimestampFormat();
s.notify("TimestampFormat", this, SLOT(updateTimestampFormatString()));
updateTimestampFormatString();
s.notify("ShowSenderBrackets", this, SLOT(updateShowSenderBrackets()));
QtUiStyle::~QtUiStyle() {}
+void QtUiStyle::updateUseCustomTimestampFormat()
+{
+ ChatViewSettings s;
+ setUseCustomTimestampFormat(s.useCustomTimestampFormat());
+}
+
void QtUiStyle::updateTimestampFormatString()
{
ChatViewSettings s;