projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve ChatMonitorFilter to use Message::Backlog rather than the timestamp
[quassel.git]
/
src
/
qtui
/
bufferwidget.h
diff --git
a/src/qtui/bufferwidget.h
b/src/qtui/bufferwidget.h
index
17e939d
..
6f48f09
100644
(file)
--- a/
src/qtui/bufferwidget.h
+++ b/
src/qtui/bufferwidget.h
@@
-25,23
+25,30
@@
#include "abstractbuffercontainer.h"
#include "abstractbuffercontainer.h"
+class ChatViewSearchBar;
+class ChatViewSearchController;
+
class BufferWidget : public AbstractBufferContainer {
Q_OBJECT
public:
BufferWidget(QWidget *parent);
class BufferWidget : public AbstractBufferContainer {
Q_OBJECT
public:
BufferWidget(QWidget *parent);
- virtual ~BufferWidget();
+ ~BufferWidget();
+
+ inline ChatViewSearchBar *searchBar() const { return ui.searchBar; }
protected:
virtual AbstractChatView *createChatView(BufferId);
protected:
virtual AbstractChatView *createChatView(BufferId);
- virtual void removeChatView(
AbstractChatView *view
);
+ virtual void removeChatView(
BufferId
);
protected slots:
protected slots:
- virtual void showChatView(
AbstractChatView *view
);
+ virtual void showChatView(
BufferId
);
private:
Ui::BufferWidget ui;
private:
Ui::BufferWidget ui;
+ QHash<BufferId, QWidget *> _chatViews;
+ ChatViewSearchController *_chatViewSearchController;
};
#endif
};
#endif