summaryrefslogtreecommitdiffstats
path: root/src/example.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-05-17 19:26:02 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-05-17 19:26:02 (GMT)
commit75fed7362598edf5a7210505cd38c92821863a39 (patch)
treecb90fc9b85934eb220249aae4ffd7e4979489b16 /src/example.h
parentf5f5db18c34651c19f63a972e70087ce2131e764 (diff)
downloadDoxygen-75fed7362598edf5a7210505cd38c92821863a39.zip
Doxygen-75fed7362598edf5a7210505cd38c92821863a39.tar.gz
Doxygen-75fed7362598edf5a7210505cd38c92821863a39.tar.bz2
Release-20010517
Diffstat (limited to 'src/example.h')
-rw-r--r--src/example.h31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/example.h b/src/example.h
index 425b488..4c0ab15 100644
--- a/src/example.h
+++ b/src/example.h
@@ -31,22 +31,33 @@ struct Example
QCString file;
};
-class ExampleList : public QList<Example>
+//class ExampleList : public QList<Example>
+//{
+// public:
+// ExampleList() : QList<Example>() {}
+// ~ExampleList() {}
+// int compareItems(GCI item1,GCI item2)
+// {
+// return stricmp(((Example *)item1)->name,((Example *)item2)->name);
+// }
+//};
+
+//class ExampleDict : public QDict<Example>
+//{
+// public:
+// ExampleDict(int size=17) : QDict<Example>(size) {}
+// ~ExampleDict() {}
+//};
+
+class ExampleSDict : public SDict<Example>
{
public:
- ExampleList() : QList<Example>() {}
- ~ExampleList() {}
+ ExampleSDict(int size=17) : SDict<Example>(size) {}
+ ~ExampleSDict() {}
int compareItems(GCI item1,GCI item2)
{
return stricmp(((Example *)item1)->name,((Example *)item2)->name);
}
};
-class ExampleDict : public QDict<Example>
-{
- public:
- ExampleDict(int size=17) : QDict<Example>(size) {}
- ~ExampleDict() {}
-};
-
#endif