projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't declare QVariant as a meta type if it's already known
[quassel.git]
/
src
/
qtui
/
chatview.h
diff --git
a/src/qtui/chatview.h
b/src/qtui/chatview.h
index
3d29bff
..
3c2eba1
100644
(file)
--- a/
src/qtui/chatview.h
+++ b/
src/qtui/chatview.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 *
@@
-49,6
+49,8
@@
public:
virtual void addActionsToMenu(QMenu *, const QPointF &pos);
virtual void addActionsToMenu(QMenu *, const QPointF &pos);
+ virtual bool event(QEvent *event);
+
public slots:
inline virtual void clear() {}
void zoomIn();
public slots:
inline virtual void clear() {}
void zoomIn();
@@
-59,13
+61,14
@@
protected:
virtual void resizeEvent(QResizeEvent *event);
protected slots:
virtual void resizeEvent(QResizeEvent *event);
protected slots:
- virtual inline void sceneRectChanged(const QRectF &rect) { setSceneRect(rect); }
virtual void verticalScrollbarChanged(int);
private slots:
void lastLineChanged(QGraphicsItem *chatLine, qreal offset);
virtual void verticalScrollbarChanged(int);
private slots:
void lastLineChanged(QGraphicsItem *chatLine, qreal offset);
+ void adjustSceneRect();
void mouseMoveWhileSelecting(const QPointF &scenePos);
void scrollTimerTimeout();
void mouseMoveWhileSelecting(const QPointF &scenePos);
void scrollTimerTimeout();
+ void invalidateFilter();
private:
void init(MessageFilter *filter);
private:
void init(MessageFilter *filter);
@@
-76,6
+79,7
@@
private:
qreal _currentScaleFactor;
QTimer _scrollTimer;
int _scrollOffset;
qreal _currentScaleFactor;
QTimer _scrollTimer;
int _scrollOffset;
+ bool _invalidateFilter;
};
};