summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/otodo.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/otodo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/otodo.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libopie2/opiepim/otodo.h b/libopie2/opiepim/otodo.h
index 75af44c..1443e4f 100644
--- a/libopie2/opiepim/otodo.h
+++ b/libopie2/opiepim/otodo.h
@@ -90,106 +90,96 @@ public:
90 */ 90 */
91 bool hasAlarmDateTime() const; 91 bool hasAlarmDateTime() const;
92 92
93 /** 93 /**
94 * What is the priority? 94 * What is the priority?
95 */ 95 */
96 int priority()const ; 96 int priority()const ;
97 97
98 /** 98 /**
99 * progress as ushort 0, 20, 40, 60, 80 or 100% 99 * progress as ushort 0, 20, 40, 60, 80 or 100%
100 */ 100 */
101 ushort progress() const; 101 ushort progress() const;
102 102
103 /** 103 /**
104 * The due Date 104 * The due Date
105 */ 105 */
106 QDate dueDate()const; 106 QDate dueDate()const;
107 107
108 /** 108 /**
109 * Alarm Date and Time 109 * Alarm Date and Time
110 */ 110 */
111 QDateTime alarmDateTime()const; 111 QDateTime alarmDateTime()const;
112 112
113 /** 113 /**
114 * The description of the todo 114 * The description of the todo
115 */ 115 */
116 QString description()const; 116 QString description()const;
117 117
118 /** 118 /**
119 * A small summary of the todo 119 * A small summary of the todo
120 */ 120 */
121 QString summary() const; 121 QString summary() const;
122 122
123 /** 123 /**
124 * @reimplemented 124 * @reimplemented
125 * Return this todoevent in a RichText formatted QString 125 * Return this todoevent in a RichText formatted QString
126 */ 126 */
127 QString toRichText() const; 127 QString toRichText() const;
128 128
129 /** 129 /**
130 * reimplementation 130 * reimplementation
131 */ 131 */
132 QString type()const; 132 QString type()const;
133 QString toShortText()const; 133 QString toShortText()const;
134 QMap<QString, QString> toExtraMap()const; 134 QMap<QString, QString> toExtraMap()const;
135 QString recordField(int id )const; 135 QString recordField(int id )const;
136 136
137 /** 137 /**
138 * returns a list of apps which have related items
139 */
140 QStringList relatedApps()const;
141
142 /**
143 * returns all relations for one app
144 */
145 QArray<int> relations( const QString& app )const;
146
147 /**
148 * toMap puts all data into the map. int relates 138 * toMap puts all data into the map. int relates
149 * to ToDoEvent RecordFields enum 139 * to ToDoEvent RecordFields enum
150 */ 140 */
151 QMap<int, QString> toMap()const; 141 QMap<int, QString> toMap()const;
152 142
153 /** 143 /**
154 * Set if this Todo is completed 144 * Set if this Todo is completed
155 */ 145 */
156 void setCompleted(bool completed ); 146 void setCompleted(bool completed );
157 147
158 /** 148 /**
159 * set if this todo got an end data 149 * set if this todo got an end data
160 */ 150 */
161 void setHasDueDate( bool hasDate ); 151 void setHasDueDate( bool hasDate );
162 152
163 /** 153 /**
164 * set if this todo has an alarm time and date 154 * set if this todo has an alarm time and date
165 */ 155 */
166 void setHasAlarmDateTime ( bool hasAlarm ); 156 void setHasAlarmDateTime ( bool hasAlarm );
167 157
168 /** 158 /**
169 * Set the priority of the Todo 159 * Set the priority of the Todo
170 */ 160 */
171 void setPriority(int priority ); 161 void setPriority(int priority );
172 162
173 /** 163 /**
174 * Set the progress. 164 * Set the progress.
175 */ 165 */
176 void setProgress( ushort progress ); 166 void setProgress( ushort progress );
177 167
178 /** 168 /**
179 * set the end date 169 * set the end date
180 */ 170 */
181 void setDueDate( QDate date ); 171 void setDueDate( QDate date );
182 172
183 /** 173 /**
184 * set the alarm time 174 * set the alarm time
185 */ 175 */
186 void setAlarmDateTime ( const QDateTime& alarm ); 176 void setAlarmDateTime ( const QDateTime& alarm );
187 177
188 void setDescription(const QString& ); 178 void setDescription(const QString& );
189 void setSummary(const QString& ); 179 void setSummary(const QString& );
190 bool isOverdue(); 180 bool isOverdue();
191 181
192 182
193 bool match( const QRegExp &r )const; 183 bool match( const QRegExp &r )const;
194 184
195 bool operator<(const OTodo &toDoEvent )const; 185 bool operator<(const OTodo &toDoEvent )const;