akonadi
22 #ifndef GEOEDITWIDGET_H
23 #define GEOEDITWIDGET_H
44 class GeoEditWidget :
public QWidget
49 explicit GeoEditWidget( QWidget *parent = 0 );
52 void loadContact(
const KABC::Addressee &contact );
53 void storeContact( KABC::Addressee &contact )
const;
55 void setReadOnly(
bool readOnly );
64 QLabel *mLatitudeLabel;
65 QLabel *mLongitudeLabel;
66 QPushButton *mChangeButton;
67 KABC::Geo mCoordinates;
70 class GeoDialog :
public KDialog
75 GeoDialog(
const KABC::Geo &coordinates, QWidget *parent );
77 KABC::Geo coordinates()
const;
83 ExceptSexagesimal = 2,
88 void updateInputs( ExceptType type = ExceptNone );
90 void decimalInputChanged();
91 void sexagesimalInputChanged();
92 void cityInputChanged();
96 int nearestCity(
double,
double )
const;
104 KComboBox *mCityCombo;
106 QDoubleSpinBox *mLatitude;
107 QDoubleSpinBox *mLongitude;
109 QSpinBox *mLatDegrees;
110 QSpinBox *mLatMinutes;
111 QSpinBox *mLatSeconds;
112 KComboBox *mLatDirection;
114 QSpinBox *mLongDegrees;
115 QSpinBox *mLongMinutes;
116 QSpinBox *mLongSeconds;
117 KComboBox *mLongDirection;
119 KABC::Geo mCoordinates;
120 QMap<QString, GeoData> mGeoDataMap;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.