summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver/saverlist.cpp
blob: 6b27973e0ac8bd48b8a4036b1b082fb9e069e566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

#include "saverlist.h"

class SaverConfig;
class QPtrCollection;

int SaverList::compareItems(QPtrCollection::Item item1, QPtrCollection::Item item2)
{
    SaverConfig *s1 = (SaverConfig *)item1;
    SaverConfig *s2 = (SaverConfig *)item2;

    return s1->name().localeAwareCompare(s2->name());
}