Commit b08442e3 authored by Volker Krause's avatar Volker Krause
Browse files

Clean up the last remains of TimezoneDb having been public API

parent 719215f1
......@@ -9,9 +9,9 @@ ecm_add_test(datatypestest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test Qt${QT
ecm_add_test(jsonlddocumenttest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(mergeutiltest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(locationutiltest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(knowledgedbtest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(knowledgedbtest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary KF5::I18nLocaleData)
ecm_add_test(airportnametokenizertest.cpp ../src/lib/knowledgedb/airportnametokenizer.cpp TEST_NAME airportnametokenizertest LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(airportdbtest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(airportdbtest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary KF5::I18nLocaleData)
ecm_add_test(extractorresulttest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(extractordocumentnodetest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
ecm_add_test(extractorfiltertest.cpp LINK_LIBRARIES Qt${QT_MAJOR_VERSION}::Test KPim::Itinerary)
......
......@@ -6,7 +6,7 @@
#include <config-kitinerary.h>
#include <knowledgedb/airportdb.h>
#include <knowledgedb/timezonedb.h>
#include <knowledgedb/timezonedb.cpp>
#include <KItinerary/LocationUtil>
......
......@@ -8,7 +8,7 @@
#include <config-kitinerary.h>
#include <knowledgedb/alphaid.h>
#include <knowledgedb/timezonedb.h>
#include <knowledgedb/timezonedb.cpp>
#include <knowledgedb/trainstationdb.h>
#include <QDebug>
......
......@@ -18,7 +18,7 @@
#include "text/addressparser_p.h"
#include "knowledgedb/airportdb.h"
#include "knowledgedb/timezonedb.h"
#include "knowledgedb/timezonedb_p.h"
#include "knowledgedb/trainstationdb.h"
#include <KItinerary/Action>
......
......@@ -9,7 +9,7 @@
#include "airportdb_data.cpp"
#include "airportnametokenizer_p.h"
#include "stringutil.h"
#include "timezonedb.h"
#include "timezonedb_p.h"
#include <QDebug>
#include <QTimeZone>
......
......@@ -4,9 +4,7 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "config-kitinerary.h"
#include "timezonedb.h"
#include "timezonedb_p.h"
#include <KCountry>
#include <KTimeZone>
......
......@@ -6,8 +6,6 @@
#pragma once
#include <kitinerary_export.h>
#include <cstdint>
#include <limits>
......@@ -20,7 +18,7 @@ namespace KnowledgeDb {
/** Returns the timezone for the given location consisting of coordinates and/or country.
* Either argument can be omitted, if both are available better results can be provided.
*/
KITINERARY_EXPORT QTimeZone timezoneForLocation(float lat, float lon, QStringView alpha2CountryCode, QStringView regionCode);
QTimeZone timezoneForLocation(float lat, float lon, QStringView alpha2CountryCode, QStringView regionCode);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment