#include <shell_history.hh>
Public Member Functions | |
ShellHistory () | |
void | SetCurrentCommand (const QString &command, BlockEditMode block_edit_mode) |
void | AppendCommand (const QString &command, BlockEditMode block_edit_mode) |
QString | GetCommand () |
BlockEditMode | GetCommandMode () |
bool | AtEnd () |
void | MoveToPreviousMatch () |
void | MoveToNextMatch () |
Protected Attributes | |
std::vector< std::pair < QString, BlockEditMode > > | history_list_ |
QString | current_ |
BlockEditMode | current_mode_ |
unsigned int | index_ |
Definition at line 32 of file shell_history.hh.
ShellHistory | ( | ) |
void AppendCommand | ( | const QString & | command, | |
BlockEditMode | block_edit_mode | |||
) |
bool AtEnd | ( | ) |
QString GetCommand | ( | ) |
BlockEditMode GetCommandMode | ( | ) |
void MoveToNextMatch | ( | ) |
void MoveToPreviousMatch | ( | ) |
void SetCurrentCommand | ( | const QString & | command, | |
BlockEditMode | block_edit_mode | |||
) |
QString current_ [protected] |
Definition at line 45 of file shell_history.hh.
BlockEditMode current_mode_ [protected] |
Definition at line 46 of file shell_history.hh.
std::vector<std::pair<QString,BlockEditMode> > history_list_ [protected] |
Definition at line 44 of file shell_history.hh.
unsigned int index_ [protected] |
Definition at line 47 of file shell_history.hh.