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

#include "saverlist.h"

class SaverConfig;
class TQPtrCollection;

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

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