next steps implementing cardschance

This commit is contained in:
doitux
2008-10-14 20:19:37 +00:00
parent 1962bfe925
commit 01048bd7e9
7 changed files with 129 additions and 7 deletions
+6
View File
@@ -591,6 +591,7 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
connect(this, SIGNAL(signalStartVoteOnKick(int, int)), this, SLOT(startVoteOnKick(int, int)));
connect(this, SIGNAL(signalEndVoteOnKick()), this, SLOT(endVoteOnKick()));
refreshCardsChance();
}
gameTableImpl::~gameTableImpl() {
@@ -3124,3 +3125,8 @@ void gameTableImpl::refreshVotesMonitor()
label_votesMonitor->setText(tr("Player <b>%1</b> has %2 votes against him.").arg(QString::fromUtf8(info.playerName.c_str())));
}
void gameTableImpl::refreshCardsChance()
{
label_chance->refreshChance(Tools::calcCardsChance());
}