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

#include "saverlist.h"

class SaverConfig;
class QPtrCollection;

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

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