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

The main application class. More...

#include <application.h>

Public Member Functions

 Application (int &argc, char **argv)
 
 Application (const Application &)=delete
 
Applicationoperator= (const Application &)=delete
 
 Application (Application &&)=delete
 
Applicationoperator= (Application &&)=delete
 
 ~Application ()=default
 
int run () const
 Runs the application.
 
QQmlApplicationEngine * qmlEngine () const
 Returns the QML Application Engine instance.
 
Settingssettings () const
 Returns the Settings instance.
 

Detailed Description

The main application class.

Constructor & Destructor Documentation

◆ Application() [1/3]

llm_chat::Application::Application ( int & argc,
char ** argv )

◆ Application() [2/3]

llm_chat::Application::Application ( const Application & )
delete

◆ Application() [3/3]

llm_chat::Application::Application ( Application && )
delete

◆ ~Application()

llm_chat::Application::~Application ( )
default

Member Function Documentation

◆ operator=() [1/2]

Application & llm_chat::Application::operator= ( Application && )
delete

◆ operator=() [2/2]

Application & llm_chat::Application::operator= ( const Application & )
delete

◆ qmlEngine()

QQmlApplicationEngine * llm_chat::Application::qmlEngine ( ) const
nodiscard

Returns the QML Application Engine instance.

Returns
The QML Application Engine instance.
Here is the caller graph for this function:

◆ run()

int llm_chat::Application::run ( ) const
nodiscard

Runs the application.

Returns
The exit code.
Here is the caller graph for this function:

◆ settings()

Settings * llm_chat::Application::settings ( ) const
nodiscard

Returns the Settings instance.

Returns
The Settings instance.

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