Chatterino
Public Member Functions | Public Attributes | List of all members
chatterino::CommandController Class Referencefinal

#include <CommandController.hpp>

Inheritance diagram for chatterino::CommandController:
[legend]
Collaboration diagram for chatterino::CommandController:
[legend]

Public Member Functions

QString execCommand (const QString &text, std::shared_ptr< Channel > channel, bool dryRun)
 
QStringList getDefaultChatterinoCommandList ()
 
virtual void initialize (Settings &, Paths &paths) override
 
virtual void save () override
 
CommandModelcreateModel (QObject *parent)
 
QString execCustomCommand (const QStringList &words, const Command &command, bool dryRun, ChannelPtr channel, const Message *message=nullptr, std::unordered_map< QString, QString > context={})
 
- Public Member Functions inherited from chatterino::Singleton
virtual ~Singleton ()=default
 

Public Attributes

SignalVector< Commanditems
 

Member Function Documentation

◆ createModel()

CommandModel * chatterino::CommandController::createModel ( QObject *  parent)
Here is the call graph for this function:

◆ execCommand()

QString chatterino::CommandController::execCommand ( const QString &  text,
std::shared_ptr< Channel channel,
bool  dryRun 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ execCustomCommand()

QString chatterino::CommandController::execCustomCommand ( const QStringList &  words,
const Command command,
bool  dryRun,
ChannelPtr  channel,
const Message message = nullptr,
std::unordered_map< QString, QString >  context = {} 
)
Here is the caller graph for this function:

◆ getDefaultChatterinoCommandList()

QStringList chatterino::CommandController::getDefaultChatterinoCommandList ( )

◆ initialize()

void chatterino::CommandController::initialize ( Settings ,
Paths paths 
)
overridevirtual

Deprecated commands

Supported commands

Reimplemented from chatterino::Singleton.

Here is the call graph for this function:

◆ save()

void chatterino::CommandController::save ( )
overridevirtual

Reimplemented from chatterino::Singleton.

Here is the caller graph for this function:

Member Data Documentation

◆ items

SignalVector<Command> chatterino::CommandController::items

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