summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/oconversion.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/core/oconversion.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/oconversion.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libopie2/opiepim/core/oconversion.h b/libopie2/opiepim/core/oconversion.h
index 3c4fdf3..eeb97e5 100644
--- a/libopie2/opiepim/core/oconversion.h
+++ b/libopie2/opiepim/core/oconversion.h
@@ -18,29 +18,28 @@
18 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 18 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.= = ; Library General Public License for more 19..}^=.= = ; Library General Public License for more
20++= -. .` .: details. 20++= -. .` .: details.
21 : = ...= . :.=- 21 : = ...= . :.=-
22 -. .:....=;==+<; You should have received a copy of the GNU 22 -. .:....=;==+<; You should have received a copy of the GNU
23 -_. . . )=. = Library General Public License along with 23 -_. . . )=. = Library General Public License along with
24 -- :-=` this library; see the file COPYING.LIB. 24 -- :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28*/ 28*/
29 29
30#ifndef __oconversion_h__ 30#ifndef OCONVERSION_H
31#define __oconversion_h__ 31#define OCONVERSION_H
32 32
33/* #include <time.h> */ 33/* QT */
34/* #include <sys/types.h> */
35#include <qdatetime.h> 34#include <qdatetime.h>
36 35
37namespace Opie { 36namespace Opie {
38 37
39class OConversion 38class OConversion
40{ 39{
41public: 40public:
42 static QString dateToString( const QDate &d ); 41 static QString dateToString( const QDate &d );
43 static QDate dateFromString( const QString &datestr ); 42 static QDate dateFromString( const QString &datestr );
44 43
45 /** 44 /**
46 * simple function to store DateTime as string and read from string 45 * simple function to store DateTime as string and read from string