repo.or.cz
/
personal-kdebase.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
not quite so much needs to be delayed to the init() function
[personal-kdebase.git]
/
workspace
/
kcontrol
/
screensaver
/
saverlist.cpp
blob
7cf972bd8f8fff1d8bdaa21433e46b68e1fbad91
1
2
#include
"saverlist.h"
3
4
class
SaverConfig
;
5
class
Q3PtrCollection
;
6
7
int
SaverList
::
compareItems
(
Q3PtrCollection
::
Item item1
,
Q3PtrCollection
::
Item item2
)
8
{
9
SaverConfig
*
s1
= (
SaverConfig
*)
item1
;
10
SaverConfig
*
s2
= (
SaverConfig
*)
item2
;
11
12
return
s1
->
name
().
localeAwareCompare
(
s2
->
name
());
13
}