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.
19 lines
432 B
19 lines
432 B
#include "highscores.h"
|
|
|
|
#include <klocale.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);
|
|
}
|