- ChatView(MessageFilter *, QWidget *parent = nullptr);
- ChatView(BufferId bufferId, QWidget *parent = nullptr);
+ ChatView(MessageFilter*, QWidget* parent = nullptr);
+ ChatView(BufferId bufferId, QWidget* parent = nullptr);
- inline AbstractBufferContainer *bufferContainer() const { return _bufferContainer; }
- inline void setBufferContainer(AbstractBufferContainer *c) { _bufferContainer = c; }
+ inline AbstractBufferContainer* bufferContainer() const { return _bufferContainer; }
+ inline void setBufferContainer(AbstractBufferContainer* c) { _bufferContainer = c; }
//! Return a set of ChatLines currently visible in the view
/** \param mode How partially visible ChatLines are handled
* \return A set of visible ChatLines
*/
//! Return a set of ChatLines currently visible in the view
/** \param mode How partially visible ChatLines are handled
* \return A set of visible ChatLines
*/
//! Return a sorted list of ChatLines currently visible in the view
/** \param mode How partially visible ChatLines are handled
* \return A list of visible ChatLines sorted by row
* \note If the order of ChatLines does not matter, use visibleChatLines() instead
*/
//! Return a sorted list of ChatLines currently visible in the view
/** \param mode How partially visible ChatLines are handled
* \return A list of visible ChatLines sorted by row
* \note If the order of ChatLines does not matter, use visibleChatLines() instead
*/
//! Return the last fully visible ChatLine in this view
/** Using this method more efficient than calling visibleChatLinesSorted() and taking its last element.
* \return The last fully visible ChatLine in the view
*/
//! Return the last fully visible ChatLine in this view
/** Using this method more efficient than calling visibleChatLinesSorted() and taking its last element.
* \return The last fully visible ChatLine in the view
*/
//! Tell the view that this ChatLine has cached data
/** ChatLines cache some layout data that should be cleared as soon as it's no
//! Tell the view that this ChatLine has cached data
/** ChatLines cache some layout data that should be cleared as soon as it's no
void scrollContentsBy(int dx, int dy) override;
protected slots:
virtual void verticalScrollbarChanged(int);
private slots:
void scrollContentsBy(int dx, int dy) override;
protected slots:
virtual void verticalScrollbarChanged(int);
private slots:
void scrollTimerTimeout();
void invalidateFilter();
void markerLineSet(BufferId buffer, MsgId msg);
private:
void scrollTimerTimeout();
void invalidateFilter();
void markerLineSet(BufferId buffer, MsgId msg);
private: