VCardUTCValue.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef UTCVALUE_H
00025 #define UTCVALUE_H
00026
00027 #include <qcstring.h>
00028
00029 #include <VCardValue.h>
00030
00031 namespace VCARD
00032 {
00033
00034 class KVCARD_EXPORT UTCValue : public Value
00035 {
00036
00037 #include "UTCValue-generated.h"
00038
00039 UTCValue *clone();
00040
00041 void setPositive( int p ) { positive_ = p; assembled_ = false; }
00042 void setHour( int h ) { hour_ = h; assembled_ = false; }
00043 void setMinute( int m ) { minute_ = m; assembled_ = false; }
00044
00045 bool positive() { parse(); return positive_; }
00046 unsigned int hour() { parse(); return hour_; }
00047 unsigned int minute() { parse(); return minute_; }
00048
00049 private:
00050
00051 bool positive_;
00052 unsigned int hour_;
00053 unsigned int minute_;
00054 };
00055
00056 }
00057
00058 #endif
This file is part of the documentation for kabc Library Version 3.4.0.