diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-05-17 19:26:02 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-05-17 19:26:02 (GMT) |
commit | 0921be2562e370352af05de47c5d997321874012 (patch) | |
tree | cb90fc9b85934eb220249aae4ffd7e4979489b16 /src/example.h | |
parent | 76e77e750cda807a7aa12d73d1fa0e5e6f24b043 (diff) | |
download | Doxygen-0921be2562e370352af05de47c5d997321874012.zip Doxygen-0921be2562e370352af05de47c5d997321874012.tar.gz Doxygen-0921be2562e370352af05de47c5d997321874012.tar.bz2 |
Release-20010517
Diffstat (limited to 'src/example.h')
-rw-r--r-- | src/example.h | 31 |
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 |