diff --git a/engine/timetable/CMakeLists.txt b/engine/timetable/CMakeLists.txt index 913b27f..be0b2d0 100644 --- a/engine/timetable/CMakeLists.txt +++ b/engine/timetable/CMakeLists.txt @@ -1,26 +1,26 @@ add_definitions(-DTRANSLATION_DOMAIN=\"plasma_applet_org.kde.plasma.publictransport.timetable\") plasma_install_package(plasmoid org.kde.plasma.publictransport.timetable) set ( timetable_SRCS plugin/timetableplugin.cpp plugin/timetablehelper.cpp plugin/timetablebackend.cpp ) -install (FILES publictransport.knsrc DESTINATION ${CONFIG_INSTALL_DIR}) +install (FILES timetable.knsrc DESTINATION ${CONFIG_INSTALL_DIR}) install (FILES plugin/qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/publictransport/timetable) add_library (timetable SHARED ${timetable_SRCS}) target_link_libraries (timetable Qt5::Core Qt5::Qml Qt5::Quick Qt5::Widgets KF5::Plasma KF5::NewStuff KF5::KDELibs4Support ) -install (TARGETS timetable DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/publictransport/timetable) \ No newline at end of file +install (TARGETS timetable DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/private/publictransport/timetable) diff --git a/engine/timetable/plugin/timetablehelper.cpp b/engine/timetable/plugin/timetablehelper.cpp index 71cb944..efa4c28 100644 --- a/engine/timetable/plugin/timetablehelper.cpp +++ b/engine/timetable/plugin/timetablehelper.cpp @@ -1,19 +1,19 @@ #include "timetablehelper.h" #include TimetableHelper::TimetableHelper(QWidget* parent) : KDialog(parent) { } TimetableHelper::~TimetableHelper() { } void TimetableHelper::showDialog() { - KNS3::DownloadDialog *dialog = new KNS3::DownloadDialog("publictransport.knsrc", this); + KNS3::DownloadDialog *dialog = new KNS3::DownloadDialog("timetable.knsrc", this); dialog->setAttribute(Qt::WA_DeleteOnClose); dialog->show(); } diff --git a/engine/timetable/publictransport.knsrc b/engine/timetable/publictransport.knsrc deleted file mode 100644 index d5483ba..0000000 --- a/engine/timetable/publictransport.knsrc +++ /dev/null @@ -1,5 +0,0 @@ -[KNewStuff3] -ProvidersUrl=http://notmart.org/misc/legacykdelookproviders.xml -Categories=Plasma public transport timetable -TargetDir=plasma_engine_publictransport/serviceProviders -Uncompress=archive diff --git a/engine/timetable/plugin/publictransport.knsrc b/engine/timetable/timetable.knsrc similarity index 100% rename from engine/timetable/plugin/publictransport.knsrc rename to engine/timetable/timetable.knsrc