summaryrefslogtreecommitdiffstats
path: root/src/filedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filedef.h')
-rw-r--r--src/filedef.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/filedef.h b/src/filedef.h
index 58b17bd..6cb4665 100644
--- a/src/filedef.h
+++ b/src/filedef.h
@@ -241,13 +241,11 @@ class FileList : public QList<FileDef>
FileList(const char *path) : QList<FileDef>(), m_pathName(path) {}
~FileList() {}
QCString path() const { return m_pathName; }
- int compareItems(QCollection::Item item1,QCollection::Item item2)
+ private:
+ int compareValues(const FileDef *md1,const FileDef *md2) const
{
- FileDef *md1 = (FileDef *)item1;
- FileDef *md2 = (FileDef *)item2;
return qstricmp(md1->name(),md2->name());
}
- private:
QCString m_pathName;
};
@@ -256,10 +254,9 @@ class OutputNameList : public QList<FileList>
public:
OutputNameList() : QList<FileList>() {}
~OutputNameList() {}
- int compareItems(QCollection::Item item1,QCollection::Item item2)
+ private:
+ int compareValues(const FileList *fl1,const FileList *fl2) const
{
- FileList *fl1 = (FileList *)item1;
- FileList *fl2 = (FileList *)item2;
return qstricmp(fl1->path(),fl2->path());
}
};