summaryrefslogtreecommitdiff
path: root/src/location/places/qplacecontactdetail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/places/qplacecontactdetail.h')
-rw-r--r--src/location/places/qplacecontactdetail.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/location/places/qplacecontactdetail.h b/src/location/places/qplacecontactdetail.h
index 1b9d567f..444f58d6 100644
--- a/src/location/places/qplacecontactdetail.h
+++ b/src/location/places/qplacecontactdetail.h
@@ -45,7 +45,6 @@
#include <QString>
#include <QVariant>
#include <QSharedDataPointer>
-#include <QLatin1Constant>
#include <QtLocation/qlocationglobal.h>
@@ -57,17 +56,10 @@ class QPlaceContactDetailPrivate;
class Q_LOCATION_EXPORT QPlaceContactDetail
{
public:
-#ifdef Q_QDOC
- static const QLatin1Constant Phone;
- static const QLatin1Constant Email;
- static const QLatin1Constant Website;
- static const QLatin1Constant Fax;
-#else
- Q_DECLARE_LATIN1_CONSTANT(Phone, "phone");
- Q_DECLARE_LATIN1_CONSTANT(Email, "email");
- Q_DECLARE_LATIN1_CONSTANT(Website, "website");
- Q_DECLARE_LATIN1_CONSTANT(Fax, "fax");
-#endif
+ static const QString Phone;
+ static const QString Email;
+ static const QString Website;
+ static const QString Fax;
QPlaceContactDetail();
QPlaceContactDetail(const QPlaceContactDetail &other);