You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/kbounce/highscores.cpp

19 lines
434 B

#include "highscores.h"
#include <tdelocale.h>
using namespace KExtHighscore;
ExtManager::ExtManager()
{
Item *item = new Item((uint)0, i18n("Level"), TQt::AlignRight);
addScoreItem("level", item);
}
bool ExtManager::isStrictlyLess(const Score &s1, const Score &s2) const
{
if ( s1.score()==s2.score() )
return s1.data("level").toUInt()>s2.data("level").toUInt();
return Manager::isStrictlyLess(s1, s2);
}