blob: 1ed5757482cc82568030d03ad1284cc3d0fa3314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* Copyright (c) 2011 Vlad Voicu
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <QWidget>
#include <Swift/Controllers/UIInterfaces/ViewHistoryWindow.h>
#include <Swiften/JID/JID.h>
#include <Swift/QtUI/ui_QtViewHistoryWindow.h>
#include <QtChatView.h>
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:
std::string getLabel(const int value);
QtChatView* messageLog_;
Ui::QtViewHistoryWindow ui;
JID jid_;
};
}
|