author | zecke <zecke> | 2004-11-18 21:46:17 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-18 21:46:17 (UTC) |
commit | 41fa1c196965f17f9748f835d90c307b7e594883 (patch) (side-by-side diff) | |
tree | 1ea8a2cfe5bfb71f5c9456c7216dc5ff035dd811 /libopie2/opiepim/private/opimoccurrence_p.h | |
parent | 7484344ff5be1f7c54e51715776d0e3cadeb1ed0 (diff) | |
download | opie-41fa1c196965f17f9748f835d90c307b7e594883.zip opie-41fa1c196965f17f9748f835d90c307b7e594883.tar.gz opie-41fa1c196965f17f9748f835d90c307b7e594883.tar.bz2 |
Add generic sorting implementation based on QVector
for Contact and Todo
Diffstat (limited to 'libopie2/opiepim/private/opimoccurrence_p.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/private/opimoccurrence_p.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libopie2/opiepim/private/opimoccurrence_p.h b/libopie2/opiepim/private/opimoccurrence_p.h new file mode 100644 index 0000000..3ccd97e --- a/dev/null +++ b/libopie2/opiepim/private/opimoccurrence_p.h @@ -0,0 +1,33 @@ +// Private HEADER DON'T USE IT!!! WE MEAN IT!!! +// + +#ifndef OPIE_PRIVATE_INTERNAL_OCCURRENCE_PIM_H +#define OPIE_PRIVATE_INTERNAL_OCCURRENCE_PIM_H + +#include <qshared.h> + + +namespace Opie{ + +/* + * The Data is shared between Occurrences + * across multiple days. + */ +/** + * @internal + * + * DO NOT USE. IT IS NOT PART OF THE API + */ +struct OPimOccurrence::Data : public QShared { + Data() : uid( -1 ), backend( 0l ) {} + + QString summary; // The Summary of this Occurrence + QString location; // The location of this Occurrence + QString note; // The note of this Occurrence + UID uid; // The UID of the Record + mutable Opie::Core::OSharedPointer<OPimRecord> record; // The Guarded Record + OPimBase *backend; +}; +} + +#endif |