Input history class.
More...
#include <KviInputHistory.h>
|
void | add (const QString &szString) |
| Adds a string to the history.
|
|
unsigned int | count () |
| Returns the number of instances of the class.
|
|
std::vector< QString > | list () |
| Returns the list of string in the history.
|
|
void | load (const QString &szFileName) |
| Loads the history.
|
|
void | save (const QString &szFileName) |
| Saves the history.
|
|
|
static void | addRef () |
| Adds a reference to the class.
|
|
static void | delRef () |
| Removes a reference to the class.
|
|
static void | done () |
| Destroys the class instance.
|
|
static void | init () |
| Initializes the class instance.
|
|
static KviInputHistory * | instance () |
| Returns the instance of the class.
|
|
◆ add()
void KviInputHistory::add |
( |
const QString & |
szString | ) |
|
◆ addRef()
void KviInputHistory::addRef |
( |
| ) |
|
|
static |
Adds a reference to the class.
- Returns
- void
References m_uCount.
Referenced by init().
◆ count()
unsigned int KviInputHistory::count |
( |
| ) |
|
|
inline |
Returns the number of instances of the class.
- Returns
- unsigned int
Referenced by done(), and init().
◆ delRef()
void KviInputHistory::delRef |
( |
| ) |
|
|
static |
Removes a reference to the class.
- Returns
- void
References m_uCount.
Referenced by done().
◆ done()
void KviInputHistory::done |
( |
| ) |
|
|
static |
◆ init()
void KviInputHistory::init |
( |
| ) |
|
|
static |
◆ instance()
◆ list()
std::vector< QString > KviInputHistory::list |
( |
| ) |
|
|
inline |
◆ load()
void KviInputHistory::load |
( |
const QString & |
szFileName | ) |
|
◆ save()
void KviInputHistory::save |
( |
const QString & |
szFileName | ) |
|
◆ m_pSelf
◆ m_StringList
std::vector<QString> KviInputHistory::m_StringList |
|
protected |
◆ m_uCount
unsigned int KviInputHistory::m_uCount = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: