Removing AFK-warning message. Preparing integration of a new auto-AFK mode.

This commit is contained in:
lotodore
2011-11-07 21:07:13 +00:00
parent 77cda8da32
commit 32d26e3644
115 changed files with 309 additions and 522 deletions
-11
View File
@@ -598,7 +598,6 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
connect(this, SIGNAL(signalEndVoteOnKick()), this, SLOT(endVoteOnKick()));
connect(this, SIGNAL(signalNetClientPlayerLeft(unsigned)), this, SLOT(netClientPlayerLeft(unsigned)));
connect(this, SIGNAL(signalWarningAutoFoldInRankingGame(unsigned)), this, SLOT(showWarningAutoFoldInRankingGame(unsigned)));
}
gameTableImpl::~gameTableImpl()
@@ -3783,16 +3782,6 @@ void gameTableImpl::sendShowMyCardsSignal()
}
}
void gameTableImpl::showWarningAutoFoldInRankingGame(unsigned remainingAutoFolds)
{
QMessageBox::warning(this, tr("PokerTH - Warning"),
tr("You have triggered a warning level of timeouts in a ranking game.\n"
"After %1 additional timeouts the server needs to kick you to provide a better game flow!\n\n"
"If you are temporarily away, you can use the \"away\" tools in the tool box on the right.").arg(remainingAutoFolds),
QMessageBox::Ok);
tabWidget_Right->setCurrentIndex(1);
}
void gameTableImpl::closeMessageBoxes()
{
-2
View File
@@ -139,7 +139,6 @@ signals:
void signalChangeVoteOnKickButtonsState(bool showHide);
void signalEndVoteOnKick();
void signalNetClientPlayerLeft(unsigned playerId);
void signalWarningAutoFoldInRankingGame(unsigned remainingAutoFolds);
public slots:
@@ -325,7 +324,6 @@ public slots:
void showShowMyCardsButton();
void sendShowMyCardsSignal();
void showWarningAutoFoldInRankingGame(unsigned);
void closeMessageBoxes();
void hide();
-5
View File
@@ -396,11 +396,6 @@ void GuiWrapper::SignalNetClientWaitDialog()
{
myStartWindow->signalShowClientDialog();
}
void GuiWrapper::SignalNetClientWarningAutoFoldInRankingGame(unsigned remainingAutoFolds)
{
myW->signalWarningAutoFoldInRankingGame(remainingAutoFolds);
}
void GuiWrapper::SignalNetClientGameChatMsg(const string &playerName, const string &msg)
{
myStartWindow->signalNetClientGameChatMsg(QString::fromUtf8(playerName.c_str()), QString::fromUtf8(msg.c_str()));
-2
View File
@@ -139,8 +139,6 @@ public:
void SignalNetClientMsgBox(unsigned msgId);
void SignalNetClientWaitDialog();
void SignalNetClientWarningAutoFoldInRankingGame(unsigned remainingAutoFolds);
void SignalNetClientGameListNew(unsigned gameId);
void SignalNetClientGameListRemove(unsigned gameId);