projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disabling away on detach in mono mode. some minor improvement to the away settings
[quassel.git]
/
src
/
qtui
/
bufferwidget.h
diff --git
a/src/qtui/bufferwidget.h
b/src/qtui/bufferwidget.h
index
6f48f09
..
3efb87a
100644
(file)
--- a/
src/qtui/bufferwidget.h
+++ b/
src/qtui/bufferwidget.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8
by the Quassel Project *
+ * Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-25,28
+25,38
@@
#include "abstractbuffercontainer.h"
#include "abstractbuffercontainer.h"
+class QGraphicsItem;
class ChatViewSearchBar;
class ChatViewSearchController;
class BufferWidget : public AbstractBufferContainer {
Q_OBJECT
class ChatViewSearchBar;
class ChatViewSearchController;
class BufferWidget : public AbstractBufferContainer {
Q_OBJECT
- public:
- BufferWidget(QWidget *parent);
- ~BufferWidget();
+public:
+ BufferWidget(QWidget *parent);
+ ~BufferWidget();
+
+ virtual bool eventFilter(QObject *watched, QEvent *event);
inline ChatViewSearchBar *searchBar() const { return ui.searchBar; }
inline ChatViewSearchBar *searchBar() const { return ui.searchBar; }
+ void addActionsToMenu(QMenu *, const QPointF &pos);
+
+protected:
+ virtual AbstractChatView *createChatView(BufferId);
+ virtual void removeChatView(BufferId);
- protected:
- virtual AbstractChatView *createChatView(BufferId);
- virtual void removeChatView(BufferId);
+protected slots:
+ virtual void showChatView(BufferId);
- protected slots:
- virtual void showChatView(BufferId);
+private slots:
+ void scrollToHighlight(QGraphicsItem *highlightItem);
+ void zoomIn();
+ void zoomOut();
+ void zoomOriginal();
-
private:
-
Ui::BufferWidget ui;
-
QHash<BufferId, QWidget *> _chatViews;
+private:
+ Ui::BufferWidget ui;
+ QHash<BufferId, QWidget *> _chatViews;
ChatViewSearchController *_chatViewSearchController;
};
ChatViewSearchController *_chatViewSearchController;
};