1
#ifndef HISTORY_MODULE_H
2
#define HISTORY_MODULE_H
4
#include "main_configuration_window.h"
8
class ActionDescription;
12
class HistoryModule : public ConfigurationUiHandler
16
ActionDescription *clearHistoryActionDescription;
17
ActionDescription *historyActionDescription;
19
QLabel *dontCiteOldMessagesLabel;
21
void createDefaultConfiguration();
22
void appendHistory(ChatWidget *chat);
25
void historyActionActivated(QAction *sender, bool toggled);
26
void clearHistoryActionActivated(QAction *sender, bool toggled);
28
void messageSentAndConfirmed(UserListElements receivers, const QString& message);
29
void removingUsers(UserListElements users);
30
void updateQuoteTimeLabel(int);
32
void chatKeyPressed(QKeyEvent *e, ChatWidget *widget, bool &handled);
34
void chatCreated(ChatWidget *chat);
35
void chatDestroying(ChatWidget *chat);
38
HistoryModule(bool firstLoad);
39
virtual ~HistoryModule();
41
virtual void mainConfigurationWindowCreated(MainConfigurationWindow *mainConfigurationWindow);
44
extern HistoryModule* history_module;