summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtChatView.h')
-rw-r--r--Swift/QtUI/QtChatView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatView.h b/Swift/QtUI/QtChatView.h
index 2a50129..7340e00 100644
--- a/Swift/QtUI/QtChatView.h
+++ b/Swift/QtUI/QtChatView.h
@@ -5,12 +5,13 @@
#include <QWidget>
#include "ChatSnippet.h"
class QWebView;
class QWebPage;
+class QUrl;
namespace Swift {
class QtChatView : public QWidget {
Q_OBJECT
public:
QtChatView(QWidget* parent);
@@ -18,12 +19,13 @@ namespace Swift {
void addMessage(const ChatSnippet& snippet);
bool isScrolledToBottom() const;
public slots:
void copySelectionToClipboard();
void scrollToBottom();
+ void handleLinkClicked(const QUrl&);
private:
QWebView* webView_;
QWebPage* webPage_;
QString previousContinuationElementID_;
};