summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtChatWindowFactory.h')
-rw-r--r--Swift/QtUI/QtChatWindowFactory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindowFactory.h b/Swift/QtUI/QtChatWindowFactory.h
index f3e8956..f664c43 100644
--- a/Swift/QtUI/QtChatWindowFactory.h
+++ b/Swift/QtUI/QtChatWindowFactory.h
@@ -16,10 +16,11 @@ namespace Swift {
class QtChatTabs;
class QtChatTheme;
class UIEventStream;
+ class QtUIPreferences;
class QtChatWindowFactory : public QObject, public ChatWindowFactory {
Q_OBJECT
public:
- QtChatWindowFactory(QSplitter* splitter, QtSettingsProvider* settings, QtChatTabs* tabs, const QString& themePath);
+ QtChatWindowFactory(QSplitter* splitter, QtSettingsProvider* settings, QtChatTabs* tabs, const QString& themePath, QtUIPreferences* uiPreferences);
~QtChatWindowFactory();
ChatWindow* createChatWindow(const JID &contact, UIEventStream* eventStream);
signals:
@@ -32,6 +33,7 @@ namespace Swift {
QtSettingsProvider* settings_;
QtChatTabs* tabs_;
QtChatTheme* theme_;
+ QtUIPreferences* uiPreferences_;
};
}