/* * Copyright (c) 2011 Vlad Voicu * Licensed under the Simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include #include #include #include namespace Swift { class QtViewHistoryWindow : public QWidget, public ViewHistoryWindow { Q_OBJECT public: QtViewHistoryWindow(); void show(); void setEnabled(bool enabled); private slots: void handleBeforeSliderValueChanged(const int value); void handleAfterSliderValueChanged(const int value); private: void addDummyMessage(); std::string getLabel(const int value); QtChatView* messageLog_; Ui::QtViewHistoryWindow ui; JID jid_; }; }