Diffstat (limited to 'libkdepim/kincidenceformatter.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libkdepim/kincidenceformatter.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/libkdepim/kincidenceformatter.h b/libkdepim/kincidenceformatter.h deleted file mode 100644 index 8fe259a..0000000 --- a/libkdepim/kincidenceformatter.h +++ b/dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | #ifndef KINCIDENCENFORMATTER_H | ||
2 | #define KINCIDENCENFORMATTER_H | ||
3 | |||
4 | #include <qstring.h> | ||
5 | #include <qobject.h> | ||
6 | |||
7 | #include "libkcal/incidence.h" | ||
8 | #include "libkcal/event.h" | ||
9 | #include "libkcal/todo.h" | ||
10 | #include "libkcal/journal.h" | ||
11 | |||
12 | using namespace KCal; | ||
13 | |||
14 | class KIncidenceFormatter : public QObject | ||
15 | { | ||
16 | public: | ||
17 | static KIncidenceFormatter* instance(); | ||
18 | KIncidenceFormatter(); | ||
19 | ~KIncidenceFormatter(); | ||
20 | QString getFormattedText( Incidence * inc ); | ||
21 | |||
22 | void setEvent(Event *event); | ||
23 | void setTodo(Todo *event ); | ||
24 | void setJournal(Journal* ); | ||
25 | |||
26 | protected: | ||
27 | int mColorMode; | ||
28 | void addTag(const QString & tag,const QString & text); | ||
29 | |||
30 | void formatCategories(Incidence *event); | ||
31 | void formatAttendees(Incidence *event); | ||
32 | void formatReadOnly(Incidence *event); | ||
33 | |||
34 | private: | ||
35 | bool mSyncMode; | ||
36 | |||
37 | QString mText; | ||
38 | Incidence* mCurrentIncidence; | ||
39 | static KIncidenceFormatter* mInstance; | ||
40 | }; | ||
41 | |||
42 | #endif | ||