Qt 4.8
|
The QScriptDebuggerConsoleCommand class is the base class of console commands. More...
#include <qscriptdebuggerconsolecommand_p.h>
Public Functions | |
virtual QStringList | aliases () const |
Returns a list of aliases for this command. More... | |
virtual QStringList | argumentTypes () const |
virtual QScriptDebuggerConsoleCommandJob * | createJob (const QStringList &arguments, QScriptDebuggerConsole *console, QScriptMessageHandlerInterface *messageHandler, QScriptDebuggerCommandSchedulerInterface *scheduler)=0 |
Creates a job that will execute this command with the given arguments. More... | |
virtual QString | group () const =0 |
Returns the group that this console command belongs to. More... | |
virtual QString | longDescription () const =0 |
Returns a detailed description of how to use the command. More... | |
virtual QString | name () const =0 |
Returns the name of this console command. More... | |
QScriptDebuggerConsoleCommand () | |
virtual QStringList | seeAlso () const |
Returns a list of names of commands that may also be of interest to users of this command. More... | |
virtual QString | shortDescription () const =0 |
Returns a short (one line) description of the command. More... | |
virtual QStringList | subCommands () const |
virtual | ~QScriptDebuggerConsoleCommand () |
Protected Functions | |
QScriptDebuggerConsoleCommand (QScriptDebuggerConsoleCommandPrivate &dd) | |
Protected Variables | |
QScopedPointer< QScriptDebuggerConsoleCommandPrivate > | d_ptr |
The QScriptDebuggerConsoleCommand class is the base class of console commands.
Definition at line 70 of file qscriptdebuggerconsolecommand_p.h.
QScriptDebuggerConsoleCommand::QScriptDebuggerConsoleCommand | ( | ) |
Definition at line 70 of file qscriptdebuggerconsolecommand.cpp.
|
virtual |
Definition at line 76 of file qscriptdebuggerconsolecommand.cpp.
|
protected |
Definition at line 80 of file qscriptdebuggerconsolecommand.cpp.
|
virtual |
Returns a list of aliases for this command.
Reimplemented in QScriptDebuggerScriptedConsoleCommand.
Definition at line 147 of file qscriptdebuggerconsolecommand.cpp.
Referenced by consoleCommandToScriptValue(), and QScriptDebuggerConsoleCommandManager::findCommand().
|
virtual |
Reimplemented in QScriptDebuggerScriptedConsoleCommand.
Definition at line 152 of file qscriptdebuggerconsolecommand.cpp.
Referenced by QScriptDebuggerConsolePrivate::createJob(), and QScriptCompletionTask::start().
|
pure virtual |
Creates a job that will execute this command with the given arguments.
If the command cannot be executed (e.g. because one or more arguments are invalid), a suitable error message should be output to the messageHandler, and 0 should be returned.
Implemented in QScriptDebuggerScriptedConsoleCommand.
Referenced by QScriptDebuggerConsolePrivate::createJob().
|
pure virtual |
Returns the group that this console command belongs to.
Implemented in QScriptDebuggerScriptedConsoleCommand.
Referenced by QScriptDebuggerConsoleCommandManager::addCommand(), QScriptDebuggerConsoleCommandManager::commands(), QScriptDebuggerConsoleCommandManager::commandsInGroup(), and consoleCommandToScriptValue().
|
pure virtual |
Returns a detailed description of how to use the command.
Implemented in QScriptDebuggerScriptedConsoleCommand.
Referenced by consoleCommandToScriptValue().
|
pure virtual |
Returns the name of this console command.
Implemented in QScriptDebuggerScriptedConsoleCommand.
Referenced by QScriptDebuggerConsoleCommandManager::addCommand(), QScriptDebuggerConsoleCommandManager::completions(), consoleCommandToScriptValue(), and QScriptDebuggerConsoleCommandManager::findCommand().
|
virtual |
Returns a list of names of commands that may also be of interest to users of this command.
Reimplemented in QScriptDebuggerScriptedConsoleCommand.
Definition at line 139 of file qscriptdebuggerconsolecommand.cpp.
Referenced by consoleCommandToScriptValue().
|
pure virtual |
Returns a short (one line) description of the command.
Implemented in QScriptDebuggerScriptedConsoleCommand.
Referenced by consoleCommandToScriptValue().
|
virtual |
Reimplemented in QScriptDebuggerScriptedConsoleCommand.
Definition at line 157 of file qscriptdebuggerconsolecommand.cpp.
Referenced by QScriptCompletionTask::start().
|
protected |
Definition at line 94 of file qscriptdebuggerconsolecommand_p.h.
Referenced by QScriptDebuggerConsoleCommand().