Diffstat (limited to 'libopie2/opiepim/core/orecur.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/orecur.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/orecur.h b/libopie2/opiepim/core/orecur.h index 1e0014b..b214b3f 100644 --- a/libopie2/opiepim/core/orecur.h +++ b/libopie2/opiepim/core/orecur.h | |||
@@ -64,24 +64,28 @@ public: | |||
64 | 64 | ||
65 | void setType( const RepeatType& ); | 65 | void setType( const RepeatType& ); |
66 | void setFrequency( int freq ); | 66 | void setFrequency( int freq ); |
67 | void setPosition( int pos ); | 67 | void setPosition( int pos ); |
68 | void setDays( char c); | 68 | void setDays( char c); |
69 | void setEndDate( const QDate& dt ); | 69 | void setEndDate( const QDate& dt ); |
70 | void setStart( const QDate& dt ); | 70 | void setStart( const QDate& dt ); |
71 | void setCreatedDateTime( const QDateTime& ); | 71 | void setCreatedDateTime( const QDateTime& ); |
72 | void setHasEndDate( bool b ); | 72 | void setHasEndDate( bool b ); |
73 | void setRepitition(int ); | 73 | void setRepitition(int ); |
74 | 74 | ||
75 | void setService( const QString& ser ); | 75 | void setService( const QString& ser ); |
76 | |||
77 | /* almost internal */ | ||
78 | QString toString()const; | ||
76 | private: | 79 | private: |
80 | bool p_nextOccurrence( const QDate& from, QDate& next ); | ||
77 | void deref(); | 81 | void deref(); |
78 | inline void checkOrModify(); | 82 | inline void checkOrModify(); |
79 | 83 | ||
80 | 84 | ||
81 | class Data; | 85 | class Data; |
82 | Data* data; | 86 | Data* data; |
83 | class ORecurPrivate; | 87 | class ORecurPrivate; |
84 | ORecurPrivate *d; | 88 | ORecurPrivate *d; |
85 | }; | 89 | }; |
86 | 90 | ||
87 | #endif | 91 | #endif |