blob: 53789f7c19dc3164c8ddf11cfd9924d2a3b93045 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | #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);
}
 |