TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackEntry.html

changeset 95
7449695cf655
parent 87
4ac2329b36da
child 98
693e42176007
equal deleted inserted replaced
94:a3d936304e51 95:7449695cf655
51 51
52 <p> 52 <p>
53 Class implementing the time track entry. 53 Class implementing the time track entry.
54 </p> 54 </p>
55 <h3>Derived from</h3> 55 <h3>Derived from</h3>
56 object 56 None
57 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58 58
59 <table> 59 <table>
60 <tr><td>LineMarker</td></tr><tr><td>Separator</td></tr> 60 <tr><td>LineMarker</td></tr><tr><td>Separator</td></tr>
61 </table> 61 </table>
202 <dd> 202 <dd>
203 end date and time (QDateTime) 203 end date and time (QDateTime)
204 </dd> 204 </dd>
205 </dl> 205 </dl>
206 <dl> 206 <dl>
207 <dt>Returns:</dt> 207 <dt>Return:</dt>
208 <dd> 208 <dd>
209 duration in minutes (int) 209 duration in minutes (int)
210 </dd> 210 </dd>
211 </dl> 211 </dl>
212 <a NAME="TimeTrackEntry.__currentDateTime" ID="TimeTrackEntry.__currentDateTime"></a> 212 <a NAME="TimeTrackEntry.__currentDateTime" ID="TimeTrackEntry.__currentDateTime"></a>
215 215
216 <p> 216 <p>
217 Private method to get the current date and time without milliseconds. 217 Private method to get the current date and time without milliseconds.
218 </p> 218 </p>
219 <dl> 219 <dl>
220 <dt>Returns:</dt> 220 <dt>Return:</dt>
221 <dd> 221 <dd>
222 current date and time (QDateTime) 222 current date and time (QDateTime)
223 </dd> 223 </dd>
224 </dl> 224 </dl>
225 <a NAME="TimeTrackEntry.__lt__" ID="TimeTrackEntry.__lt__"></a> 225 <a NAME="TimeTrackEntry.__lt__" ID="TimeTrackEntry.__lt__"></a>
235 <dd> 235 <dd>
236 reference to the other object (TimeTrackEntry) 236 reference to the other object (TimeTrackEntry)
237 </dd> 237 </dd>
238 </dl> 238 </dl>
239 <dl> 239 <dl>
240 <dt>Returns:</dt> 240 <dt>Return:</dt>
241 <dd> 241 <dd>
242 flag indicating that self is less than other (boolean) 242 flag indicating that self is less than other (boolean)
243 </dd> 243 </dd>
244 </dl> 244 </dl>
245 <a NAME="TimeTrackEntry.addDuration" ID="TimeTrackEntry.addDuration"></a> 245 <a NAME="TimeTrackEntry.addDuration" ID="TimeTrackEntry.addDuration"></a>
277 <dd> 277 <dd>
278 stringified entry data as generated by toString() (string) 278 stringified entry data as generated by toString() (string)
279 </dd> 279 </dd>
280 </dl> 280 </dl>
281 <dl> 281 <dl>
282 <dt>Returns:</dt> 282 <dt>Return:</dt>
283 <dd> 283 <dd>
284 ID of the tracker entry; -1 indicates an error (integer) 284 ID of the tracker entry; -1 indicates an error (integer)
285 </dd> 285 </dd>
286 </dl> 286 </dl>
287 <a NAME="TimeTrackEntry.getComment" ID="TimeTrackEntry.getComment"></a> 287 <a NAME="TimeTrackEntry.getComment" ID="TimeTrackEntry.getComment"></a>
290 290
291 <p> 291 <p>
292 Public method to get the comment. 292 Public method to get the comment.
293 </p> 293 </p>
294 <dl> 294 <dl>
295 <dt>Returns:</dt> 295 <dt>Return:</dt>
296 <dd> 296 <dd>
297 comment (string) 297 comment (string)
298 </dd> 298 </dd>
299 </dl> 299 </dl>
300 <a NAME="TimeTrackEntry.getDuration" ID="TimeTrackEntry.getDuration"></a> 300 <a NAME="TimeTrackEntry.getDuration" ID="TimeTrackEntry.getDuration"></a>
303 303
304 <p> 304 <p>
305 Public slot to get the duration. 305 Public slot to get the duration.
306 </p> 306 </p>
307 <dl> 307 <dl>
308 <dt>Returns:</dt> 308 <dt>Return:</dt>
309 <dd> 309 <dd>
310 duration (integer) 310 duration (integer)
311 </dd> 311 </dd>
312 </dl> 312 </dl>
313 <a NAME="TimeTrackEntry.getEntryData" ID="TimeTrackEntry.getEntryData"></a> 313 <a NAME="TimeTrackEntry.getEntryData" ID="TimeTrackEntry.getEntryData"></a>
316 316
317 <p> 317 <p>
318 Public method to get the entry data. 318 Public method to get the entry data.
319 </p> 319 </p>
320 <dl> 320 <dl>
321 <dt>Returns:</dt> 321 <dt>Return:</dt>
322 <dd> 322 <dd>
323 entry data as a tuple of start date (string), start time 323 entry data as a tuple of start date (string), start time
324 (string), duration (integer), task (string), comment (string) 324 (string), duration (integer), task (string), comment (string)
325 and flag indicating a paused state (boolean) 325 and flag indicating a paused state (boolean)
326 </dd> 326 </dd>
331 331
332 <p> 332 <p>
333 Public method to get the ID of the entry. 333 Public method to get the ID of the entry.
334 </p> 334 </p>
335 <dl> 335 <dl>
336 <dt>Returns:</dt> 336 <dt>Return:</dt>
337 <dd> 337 <dd>
338 ID of the entry (integer) 338 ID of the entry (integer)
339 </dd> 339 </dd>
340 </dl> 340 </dl>
341 <a NAME="TimeTrackEntry.getStartDateTime" ID="TimeTrackEntry.getStartDateTime"></a> 341 <a NAME="TimeTrackEntry.getStartDateTime" ID="TimeTrackEntry.getStartDateTime"></a>
344 344
345 <p> 345 <p>
346 Public method to get the start date and time. 346 Public method to get the start date and time.
347 </p> 347 </p>
348 <dl> 348 <dl>
349 <dt>Returns:</dt> 349 <dt>Return:</dt>
350 <dd> 350 <dd>
351 start date and time (QDateTime) 351 start date and time (QDateTime)
352 </dd> 352 </dd>
353 </dl> 353 </dl>
354 <a NAME="TimeTrackEntry.getTask" ID="TimeTrackEntry.getTask"></a> 354 <a NAME="TimeTrackEntry.getTask" ID="TimeTrackEntry.getTask"></a>
357 357
358 <p> 358 <p>
359 Public method to get the task description. 359 Public method to get the task description.
360 </p> 360 </p>
361 <dl> 361 <dl>
362 <dt>Returns:</dt> 362 <dt>Return:</dt>
363 <dd> 363 <dd>
364 task description (string) 364 task description (string)
365 </dd> 365 </dd>
366 </dl> 366 </dl>
367 <a NAME="TimeTrackEntry.isPaused" ID="TimeTrackEntry.isPaused"></a> 367 <a NAME="TimeTrackEntry.isPaused" ID="TimeTrackEntry.isPaused"></a>
370 370
371 <p> 371 <p>
372 Public method to check for a paused state. 372 Public method to check for a paused state.
373 </p> 373 </p>
374 <dl> 374 <dl>
375 <dt>Returns:</dt> 375 <dt>Return:</dt>
376 <dd> 376 <dd>
377 flag indicating a paused state (boolean) 377 flag indicating a paused state (boolean)
378 </dd> 378 </dd>
379 </dl> 379 </dl>
380 <a NAME="TimeTrackEntry.isValid" ID="TimeTrackEntry.isValid"></a> 380 <a NAME="TimeTrackEntry.isValid" ID="TimeTrackEntry.isValid"></a>
383 383
384 <p> 384 <p>
385 Public method to check the validity of the entry. 385 Public method to check the validity of the entry.
386 </p> 386 </p>
387 <dl> 387 <dl>
388 <dt>Returns:</dt> 388 <dt>Return:</dt>
389 <dd> 389 <dd>
390 validity of the entry (boolean) 390 validity of the entry (boolean)
391 </dd> 391 </dd>
392 </dl> 392 </dl>
393 <a NAME="TimeTrackEntry.pause" ID="TimeTrackEntry.pause"></a> 393 <a NAME="TimeTrackEntry.pause" ID="TimeTrackEntry.pause"></a>
487 487
488 <p> 488 <p>
489 Public method to get a string representation of the entry. 489 Public method to get a string representation of the entry.
490 </p> 490 </p>
491 <dl> 491 <dl>
492 <dt>Returns:</dt> 492 <dt>Return:</dt>
493 <dd> 493 <dd>
494 string representation of the entry (string) 494 string representation of the entry (string)
495 </dd> 495 </dd>
496 </dl> 496 </dl>
497 <div align="right"><a href="#top">Up</a></div> 497 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial