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
@@ -1,32 +1,34 @@
#ifndef SWIFT_QtChatView_H
#define SWIFT_QtChatView_H
#include <QString>
#include <QWidget>
#include "ChatSnippet.h"
class QWebView;
class QWebPage;
+class QUrl;
namespace Swift {
class QtChatView : public QWidget {
Q_OBJECT
public:
QtChatView(QWidget* parent);
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_;
};
}
#endif