~ubuntu-branches/ubuntu/natty/kadu/natty

« back to all changes in this revision

Viewing changes to modules/history/history_module.h

  • Committer: Package Import Robot
  • Author(s): Kiszel Kristóf
  • Date: 2010-07-21 15:24:54 UTC
  • mfrom: (0.6.1) (0.5.1) (1.4.1) (22.1.2 maverick)
  • Revision ID: package-import@ubuntu.com-20100721152454-vttqle18lovfudni
Tags: 0.6.5.4.ds1-3ubuntu2
Remove libqt4-webkit-dev from build-depends and add
libqtwebkit-dev for qtwebkit transition

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef HISTORY_MODULE_H
 
2
#define HISTORY_MODULE_H
 
3
 
 
4
#include "main_configuration_window.h"
 
5
 
 
6
class QLabel;
 
7
 
 
8
class ActionDescription;
 
9
class ChatWidget;
 
10
class UserGroup;
 
11
 
 
12
class HistoryModule : public ConfigurationUiHandler
 
13
{
 
14
        Q_OBJECT
 
15
 
 
16
        ActionDescription *clearHistoryActionDescription;
 
17
        ActionDescription *historyActionDescription;
 
18
 
 
19
        QLabel *dontCiteOldMessagesLabel;
 
20
 
 
21
        void createDefaultConfiguration();
 
22
        void appendHistory(ChatWidget *chat);
 
23
 
 
24
private slots:
 
25
        void historyActionActivated(QAction *sender, bool toggled);
 
26
        void clearHistoryActionActivated(QAction *sender, bool toggled);
 
27
 
 
28
        void messageSentAndConfirmed(UserListElements receivers, const QString& message);
 
29
        void removingUsers(UserListElements users);
 
30
        void updateQuoteTimeLabel(int);
 
31
 
 
32
        void chatKeyPressed(QKeyEvent *e, ChatWidget *widget, bool &handled);
 
33
 
 
34
        void chatCreated(ChatWidget *chat);
 
35
        void chatDestroying(ChatWidget *chat);
 
36
 
 
37
public:
 
38
        HistoryModule(bool firstLoad);
 
39
        virtual ~HistoryModule();
 
40
 
 
41
        virtual void mainConfigurationWindowCreated(MainConfigurationWindow *mainConfigurationWindow);
 
42
};
 
43
 
 
44
extern HistoryModule* history_module;
 
45
 
 
46
#endif