summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/opimstate.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/core/opimstate.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimstate.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libopie2/opiepim/core/opimstate.h b/libopie2/opiepim/core/opimstate.h
index 8336b3e..ae1e0d2 100644
--- a/libopie2/opiepim/core/opimstate.h
+++ b/libopie2/opiepim/core/opimstate.h
@@ -29,30 +29,24 @@
29#ifndef OPIMSTATE_H 29#ifndef OPIMSTATE_H
30#define OPIMSTATE_H 30#define OPIMSTATE_H
31 31
32/* QT */ 32/* QT */
33#include <qstring.h> 33#include <qstring.h>
34 34
35namespace Opie { 35namespace Opie {
36/** 36/**
37 * The State of a Task 37 * The State of a Task
38 * This class encapsules the state of a todo 38 * This class encapsules the state of a todo
39 * and it's shared too 39 * and it's shared too
40 */ 40 */
41/*
42 * in c a simple struct would be enough ;)
43 * g_new_state();
44 * g_do_some_thing( state_t* );
45 * ;)
46 */
47class OPimState { 41class OPimState {
48 42
49 public: 43 public:
50 enum State { 44 enum State {
51 Started = 0, 45 Started = 0,
52 Postponed, 46 Postponed,
53 Finished, 47 Finished,
54 NotStarted, 48 NotStarted,
55 Undefined 49 Undefined
56 }; 50 };
57 OPimState( int state = Undefined ); 51 OPimState( int state = Undefined );
58 OPimState( const OPimState& ); 52 OPimState( const OPimState& );