LoginDialog::DropDownList Class Reference
List of all members.
Detailed Description
Helper class to keep a list of all the recent entries for the dropdown.
Definition at line 109 of file login.h.
|
Public Member Functions |
| DropDownList (std::string prefix, std::vector< std::string > dfltServer, std::vector< std::string > dfltPort, int maxEntries) |
void | save (const std::string &server, const std::string &port) |
int | getNumberOfElements () |
std::string | getElementAt (int i) |
std::string | getServerAt (int i) |
std::string | getPortAt (int i) |
Private Member Functions |
void | saveEntry (const std::string &server, const std::string &port, int &saved) |
Private Attributes |
std::vector< std::string > | mServers |
std::vector< std::string > | mPorts |
std::string | mConfigPrefix |
int | mMaxEntries |
Constructor & Destructor Documentation
LoginDialog::DropDownList::DropDownList |
( |
std::string |
prefix, |
|
|
std::vector< std::string > |
dfltServer, |
|
|
std::vector< std::string > |
dfltPort, |
|
|
int |
maxEntries | |
|
) |
| | |
Member Function Documentation
void LoginDialog::DropDownList::saveEntry |
( |
const std::string & |
server, |
|
|
const std::string & |
port, |
|
|
int & |
saved | |
|
) |
| | [private] |
void LoginDialog::DropDownList::save |
( |
const std::string & |
server, |
|
|
const std::string & |
port | |
|
) |
| | |
int LoginDialog::DropDownList::getNumberOfElements |
( |
|
) |
|
std::string LoginDialog::DropDownList::getElementAt |
( |
int |
i |
) |
|
std::string LoginDialog::DropDownList::getServerAt |
( |
int |
i |
) |
|
std::string LoginDialog::DropDownList::getPortAt |
( |
int |
i |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: