summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/ChatSnippet.h')
-rw-r--r--Swift/QtUI/ChatSnippet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/ChatSnippet.h b/Swift/QtUI/ChatSnippet.h
index 69ca5b8..9786518 100644
--- a/Swift/QtUI/ChatSnippet.h
+++ b/Swift/QtUI/ChatSnippet.h
@@ -7,6 +7,7 @@
#pragma once
#include <QString>
+#include <QDateTime>
#include "QtChatTheme.h"
namespace Swift {
@@ -24,6 +25,8 @@ namespace Swift {
static QString escape(const QString&);
+ protected:
+ static QString timeToEscapedString(const QDateTime& time);
private:
bool appendToPrevious_;
};