added function for "server list item was chosen" information

This commit is contained in:
Volker Fischer 2011-04-23 21:02:36 +00:00
parent 26e01e80be
commit d462cee138

View file

@ -66,6 +66,7 @@ public:
const int iPingTimeLEDColor ); const int iPingTimeLEDColor );
bool GetCancelPressed() const { return bCancelPressed; } bool GetCancelPressed() const { return bCancelPressed; }
bool GetServerListItemWasChosen() const { return bServerListItemWasChosen; }
QString GetSelectedAddress() const { return strSelectedAddress; } QString GetSelectedAddress() const { return strSelectedAddress; }
protected: protected:
@ -79,6 +80,7 @@ protected:
QString strSelectedAddress; QString strSelectedAddress;
bool bServerListReceived; bool bServerListReceived;
bool bCancelPressed; bool bCancelPressed;
bool bServerListItemWasChosen;
public slots: public slots:
void OnServerListItemDoubleClicked ( QTreeWidgetItem* Item, int ); void OnServerListItemDoubleClicked ( QTreeWidgetItem* Item, int );