mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Utility functions to sort text messages by timestamp (ascending/descending)
* compare function for text message * resort function * text message edit can display HTML text messages with ascending/descending timestamp * made CTextMessageListModel -> CListModelTimestampObject
This commit is contained in:
committed by
Mat Sutcliffe
parent
25eb13a83f
commit
e12dc3a73a
@@ -27,7 +27,7 @@ namespace BlackGui
|
||||
namespace Models
|
||||
{
|
||||
CTextMessageListModel::CTextMessageListModel(TextMessageMode mode, QObject *parent) :
|
||||
CListModelBase("ModelTextMessageList", parent), m_textMessageMode(NotSet)
|
||||
CListModelTimestampObjects("ModelTextMessageList", parent), m_textMessageMode(NotSet)
|
||||
{
|
||||
this->setTextMessageMode(mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user