llm-chat 0.0.0
LLM-Chat
Loading...
Searching...
No Matches
llm_chat::ThreadProxyList Class Reference

The ThreadProxyList class provides a sorted model for the chat. More...

#include <thread_proxy_list.h>

Inheritance diagram for llm_chat::ThreadProxyList:
[legend]
Collaboration diagram for llm_chat::ThreadProxyList:
[legend]

Public Member Functions

 ThreadProxyList (QObject *parent=nullptr)
 Constructs a new ThreadProxyList object.
 

Protected Member Functions

bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 Returns true if the left item is less than the right item.
 

Detailed Description

The ThreadProxyList class provides a sorted model for the chat.

Constructor & Destructor Documentation

◆ ThreadProxyList()

llm_chat::ThreadProxyList::ThreadProxyList ( QObject * parent = nullptr)
explicit

Constructs a new ThreadProxyList object.

Parameters
parentThe parent object.

Member Function Documentation

◆ lessThan()

bool llm_chat::ThreadProxyList::lessThan ( const QModelIndex & left,
const QModelIndex & right ) const
nodiscardoverrideprotected

Returns true if the left item is less than the right item.

Parameters
leftThe left model index.
rightThe right model index.
Returns
True if the left item is less than the right item.

The documentation for this class was generated from the following files: