mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
comparators should be public
This commit is contained in:
parent
1d6f3858d9
commit
2206db1406
|
@ -80,6 +80,11 @@ public:
|
||||||
|
|
||||||
bool isOverSelection(QPointF scenePos);
|
bool isOverSelection(QPointF scenePos);
|
||||||
|
|
||||||
|
//comparators
|
||||||
|
static bool lessThanBSRectTop(const ChatLine::Ptr lhs, const qreal rhs);
|
||||||
|
static bool lessThanBSRectBottom(const ChatLine::Ptr lhs, const qreal rhs);
|
||||||
|
static bool lessThanRowIndex(const ChatLine::Ptr lhs, const ChatLine::Ptr rhs);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend class ChatLog;
|
friend class ChatLog;
|
||||||
|
|
||||||
|
@ -90,11 +95,6 @@ protected:
|
||||||
void setRow(int idx);
|
void setRow(int idx);
|
||||||
void visibilityChanged(bool visible);
|
void visibilityChanged(bool visible);
|
||||||
|
|
||||||
//comparators
|
|
||||||
static bool lessThanBSRectTop(const ChatLine::Ptr lhs, const qreal rhs);
|
|
||||||
static bool lessThanBSRectBottom(const ChatLine::Ptr lhs, const qreal rhs);
|
|
||||||
static bool lessThanRowIndex(const ChatLine::Ptr lhs, const ChatLine::Ptr rhs);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int row = -1;
|
int row = -1;
|
||||||
std::vector<ChatLineContent*> content;
|
std::vector<ChatLineContent*> content;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user