24 #include <VCardValue.h>
29 class KVCARD_EXPORT GeoValue :
public Value
33 GeoValue(
const GeoValue&);
34 GeoValue(
const TQCString&);
35 GeoValue & operator = (GeoValue&);
36 GeoValue & operator = (
const TQCString&);
37 bool operator ==(GeoValue&);
38 bool operator !=(GeoValue& x) {
return !(*
this==x);}
39 bool operator ==(
const TQCString& s) {GeoValue a(s);
return(*
this==a);}
40 bool operator != (
const TQCString& s) {
return !(*
this == s);}
43 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
45 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
49 const char * className()
const {
return "GeoValue"; }
53 void setLatitude(
float lat ) { latitude_ = lat; assembled_ =
false; }
54 void setLongitude(
float lon ) { longitude_ = lon; assembled_ =
false; }
56 float latitude() { parse();
return latitude_; }
57 float longitude() { parse();
return longitude_; }