summaryrefslogtreecommitdiffstats
path: root/src/classlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/classlist.h')
-rw-r--r--src/classlist.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/classlist.h b/src/classlist.h
index adc781c..6a4d09c 100644
--- a/src/classlist.h
+++ b/src/classlist.h
@@ -28,12 +28,13 @@ class Definition;
/** A list of ClassDef objects. */
class ClassList : public QList<ClassDef>
-{
+{
public:
ClassList();
~ClassList();
-
- int compareItems(QCollection::Item item1,QCollection::Item item2);
+
+ private:
+ int compareValues(const ClassDef *item1,const ClassDef *item2) const;
};
/** An iterator for ClassDef objects in a ClassList. */
@@ -57,11 +58,12 @@ class ClassSDict : public SDict<ClassDef>
public:
ClassSDict(int size=17) : SDict<ClassDef>(size) {}
~ClassSDict() {}
- int compareItems(QCollection::Item item1,QCollection::Item item2);
- void writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter=0,
+ void writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter=0,
const char *header=0,bool localNames=FALSE);
- void writeDocumentation(OutputList &ol,Definition *container=0);
- bool declVisible(const ClassDef::CompoundType *filter=0) const;
+ void writeDocumentation(OutputList &ol,Definition *container=0);
+ bool declVisible(const ClassDef::CompoundType *filter=0) const;
+ private:
+ int compareValues(const ClassDef *item1,const ClassDef *item2) const;
};
class GenericsCollection : public QIntDict<ClassDef>