diff options
author | Kevin Smith <git@kismith.co.uk> | 2013-09-23 17:37:42 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2013-10-03 14:24:20 (GMT) |
commit | c60529de29ceda701da00080b59eab785d91f726 (patch) | |
tree | 46cc300d1992a149d952ecf78c1d1a7ab9ee8343 /Swift/QtUI/QtHistoryWindow.h | |
parent | e3b455b57c9550128018bf9c22c27c1e6ed1f81f (diff) | |
download | swift-c60529de29ceda701da00080b59eab785d91f726.zip swift-c60529de29ceda701da00080b59eab785d91f726.tar.bz2 |
Factor the webkit chat view out of QtChatWindow.
This will let us substitute it for an alternative chat view.
Change-Id: I002d9b90a7f618a354dda648c280ccee0e48edd7
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.h')
-rw-r--r-- | Swift/QtUI/QtHistoryWindow.h | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/Swift/QtUI/QtHistoryWindow.h b/Swift/QtUI/QtHistoryWindow.h index 49de098..fcbfd7e 100644 --- a/Swift/QtUI/QtHistoryWindow.h +++ b/Swift/QtUI/QtHistoryWindow.h @@ -4,17 +4,32 @@ * See Documentation/Licenses/BSD-simplified.txt for more information. */ +/* + * Copyright (c) 2013 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + #pragma once -#include <Swift/Controllers/UIInterfaces/HistoryWindow.h> -#include <Swift/QtUI/ui_QtHistoryWindow.h> -#include <QtChatView.h> -#include <QtTabbable.h> -#include <Swift/QtUI/Roster/QtTreeWidget.h> #include <set> + #include <QDate> +#include <Swift/Controllers/UIInterfaces/HistoryWindow.h> + +#include <Swift/QtUI/QtTabbable.h> + +#include <Swift/QtUI/ui_QtHistoryWindow.h> + namespace Swift { + class QtTabbable; + class QtTreeWidget; + class QtWebKitChatView; + class QtChatTheme; + class SettingsProvider; + class UIEventStream; + class QtHistoryWindow : public QtTabbable, public HistoryWindow { Q_OBJECT @@ -54,7 +69,7 @@ namespace Swift { Ui::QtHistoryWindow ui_; QtChatTheme* theme_; - QtChatView* conversation_; + QtWebKitChatView* conversation_; QtTreeWidget* conversationRoster_; std::set<QDate> dates_; int idCounter_; |