[pim/korganizer] /: Remove Get Hot New Stuff feature
Allen Winter
null at kde.org
Thu May 22 17:28:52 BST 2025
Git commit f3b6ca49c860ca8b9886b6f21dc63e974710bed9 by Allen Winter.
Committed on 22/05/2025 at 16:16.
Pushed by winterz into branch 'master'.
Remove Get Hot New Stuff feature
No longer useful.
M +0 -1 .kde-ci.yml
M +0 -1 CMakeLists.txt
M +7 -7 README.md
M +6 -40 doc/index.docbook
M +0 -3 src/CMakeLists.txt
M +0 -51 src/actionmanager.cpp
D +0 -44 src/data/korganizer.knsrc
M +1 -4 src/data/korganizer_part.rc
M +1 -4 src/data/korganizerui.rc
https://invent.kde.org/pim/korganizer/-/commit/f3b6ca49c860ca8b9886b6f21dc63e974710bed9
diff --git a/.kde-ci.yml b/.kde-ci.yml
index 7090224db..fd807c066 100644
--- a/.kde-ci.yml
+++ b/.kde-ci.yml
@@ -28,7 +28,6 @@ Dependencies:
'frameworks/kitemviews': '@latest-kf6'
'frameworks/kjobwidgets': '@latest-kf6'
'frameworks/kcmutils': '@latest-kf6'
- 'frameworks/knewstuff': '@latest-kf6'
'frameworks/kparts': '@latest-kf6'
'frameworks/kwidgetsaddons': '@latest-kf6'
'frameworks/kwindowsystem': '@latest-kf6'
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e81b2d777..6ebfff638 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -115,7 +115,6 @@ find_package(KF6IconThemes ${KF_MIN_VERSION} REQUIRED)
find_package(KF6ItemViews ${KF_MIN_VERSION} REQUIRED)
find_package(KF6JobWidgets ${KF_MIN_VERSION} REQUIRED)
find_package(KF6KCMUtils ${KF_MIN_VERSION} CONFIG REQUIRED)
-find_package(KF6NewStuff ${KF_MIN_VERSION} CONFIG REQUIRED)
find_package(KF6Parts ${KF_MIN_VERSION} CONFIG REQUIRED)
find_package(KF6WidgetsAddons ${KF_MIN_VERSION} CONFIG REQUIRED)
find_package(KF6WindowSystem ${KF_MIN_VERSION} CONFIG REQUIRED)
diff --git a/README.md b/README.md
index cb978f555..3b022e3bf 100644
--- a/README.md
+++ b/README.md
@@ -14,13 +14,13 @@ KOrganizer will remind you about pending tasks, record your occurrences,
experiences, and reflections and help you keep your schedule.
But KOrganizer is not only about your personal calendar, it can help you
-to interact with your colleagues and friends too. With KOrganizer,
-you can invite anyone with an email address to an event and process responses,
-share a calendar (using a groupware server or simply a file over the network),
-and share events (eg. the schedule of a championship or a conference), using
-the get hot new stuff framework. KOrganizer is based on open standards,
-and works with many different group scheduling servers, giving you the control
-over your information and the freedom to choose the best solutions.
+to interact with your colleagues and friends too. With KOrganizer, you can
+invite anyone with an email address to an event and process responses, and
+share a calendar (using a groupware server or simply a file over the network).
+
+KOrganizer is based on open standards, and works with many different group
+scheduling servers, giving you the control over your information and the
+freedom to choose the best solutions.
KOrganizer is also the calendar, journal and to-do component of [Kontact](https://apps.kde.org/kontact/),
offering you an integrated solution for your communication and information
diff --git a/doc/index.docbook b/doc/index.docbook
index 851c511df..c6af4dad2 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -130,11 +130,10 @@ you keep your schedule.</para>
<para>But &korganizer; is not only about your personal calendar, it can
help you to interact with your colleagues and friends too. With &korganizer;,
-you can invite anyone with an email address
-to an event and process responses, share a calendar (using a groupware
-server or simply a file over the network), and share events (⪚
-the schedule of a championship or a conference), using the get hot new stuff
-framework. &korganizer; is based on open standards, and works with
+you can invite anyone with an email address to an event and process responses,
+and share a calendar (using a groupware server or simply a file over the network).
+
+&korganizer; is based on open standards, and works with
many different group scheduling servers, giving you the control over your
information and the freedom to choose the best solutions.
</para>
@@ -361,8 +360,8 @@ window too. Importing files in the format used by the old
vCalendar file. These files are supported by most scheduling applications.
</para>
-<para>In this chapter, we will explain how to manage your calendar, using the
-resources, import and export actions and the get hot new stuff scheme.</para>
+<para>In this chapter we will explain how to manage your calendar resources
+as well as using the import and export actions.</para>
<sect1 id="managing-resources">
<title>Calendar Resources</title>
@@ -507,9 +506,6 @@ vCalendar with a few entries via email, for instance, or if you are planning
to import your calendar from another application. In the latter case, the first
thing to do is to use that application to export the calendar data in one of the
formats above, or use a tool to convert from the application's native format.</para>
-
-<!--Get Hot New Stuff
-store.kde.org KOrganizer Calendars-->
</sect2>
<sect2 id="managing-export">
@@ -572,23 +568,7 @@ do not wish to view them in the to-do lists, consider
</para>
</sect2>
-
-</sect1>
-<!-- only import ??-->
-<sect1 id="managing-get-hot-new-stuff">
-<title>Downloading Using Get Hot New Stuff</title>
-
-<para>
-To open the <guilabel>Get Hot New Stuff</guilabel>
-dialog, which offers a list of calendars to download, choose the
-<menuchoice><guimenu>File</guimenu><guisubmenu>Import</guisubmenu>
-<guimenuitem>Get Hot New Stuff...</guimenuitem></menuchoice> menu item.
-If you select one of the calendars, a dialog with the list of events from the
-calendars will appear. To merge the displayed events with your default resource,
-press <guilabel>Merge</guilabel>.</para>
-
</sect1>
-
</chapter>
<chapter id="chapter-views-and-filters"><!-- updated to 5.4.40-->
@@ -2824,20 +2804,6 @@ vCalendar with a few entries via email, for instance.</para>
</listitem>
</varlistentry>
-<varlistentry id="menu-file-import-ghns">
-<term><menuchoice>
-<guimenu>File</guimenu>
-<guisubmenu>Import</guisubmenu>
-<guimenuitem>Get Hot New Stuff...</guimenuitem>
-</menuchoice></term>
-<listitem><para>This action will open the <guilabel>Get Hot New Stuff</guilabel>
-dialog, which offers a list of calendars to download. These events can be
-added to your calendar.</para>
-<para>For more information about this action, please refer to
-<xref linkend="managing-get-hot-new-stuff" />.</para>
-</listitem>
-</varlistentry>
-
<varlistentry id="menu-file-export-icalendar">
<term><menuchoice>
<guimenu>File</guimenu>
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c5da491f0..5a8b2c8d4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -471,7 +471,6 @@ target_link_libraries(
KPim6::Mime
KPim6::IdentityManagementCore
KF6::KCMUtils
- KF6::NewStuffWidgets
KPim6::LdapWidgets
KPim6::AkonadiWidgets
KPim6::MailTransport
@@ -522,8 +521,6 @@ install(
DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}
)
-install(FILES data/korganizer.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
-
install(
PROGRAMS
org.kde.korganizer.desktop
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 8bab34328..0c119eb2c 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -64,7 +64,6 @@
#include "korganizer_debug.h"
#include "korganizer_options.h"
-#include <KNSWidgets/Action>
#include <KToggleAction>
#include <KWindowSystem>
#include <QIcon>
@@ -251,56 +250,6 @@ void ActionManager::initActions()
mACollection->addAction(QStringLiteral("import_icalendar"), mImportAction);
connect(mImportAction, &QAction::triggered, this, &ActionManager::file_import);
- /** Get Hot New Stuff Action **/
- auto knsAction = new KNSWidgets::Action(i18nc("@action:inmenu", "Get New Calendars…"), QStringLiteral("korganizer.knsrc"), this);
- knsAction->setStatusTip(i18nc("@info:status", "Load a calendar from \"Get Hot New Stuff\""));
- knsAction->setToolTip(i18nc("@info:tooltip", "Search \"Get Hot New Stuff\" for calendars to import"));
- knsAction->setWhatsThis(i18nc("@info:whatsthis",
- "This menu entry opens the \"Get Hot New Stuff\" dialog that allows you "
- "to search and import fun and useful calendars donated to the community."));
- mACollection->addAction(QStringLiteral("downloadnewstuff"), knsAction);
- connect(knsAction, &KNSWidgets::Action::dialogFinished, this, [this](auto changedEntries) {
- for (const auto &e : changedEntries) {
- qCDebug(KORGANIZER_LOG) << " downloadNewStuff :";
- const QStringList lstFile = e.installedFiles();
- if (lstFile.count() != 1) {
- continue;
- }
- const QString file = lstFile.at(0);
- const QUrl filename = QUrl::fromLocalFile(file);
- qCDebug(KORGANIZER_LOG) << "filename :" << filename;
- if (!filename.isValid()) {
- continue;
- }
-
- KCalendarCore::FileStorage storage(calendar());
- storage.setFileName(file);
- storage.setSaveFormat(new KCalendarCore::ICalFormat);
- if (!storage.load()) {
- KMessageBox::error(mCalendarView, xi18nc("@info", "Could not load calendar <filename>%1</filename>.", file));
- } else {
- QStringList eventSummaries;
- const KCalendarCore::Event::List events = calendar()->events();
- eventSummaries.reserve(events.count());
- for (const KCalendarCore::Event::Ptr &event : events) {
- eventSummaries.append(event->summary());
- }
-
- const int result = KMessageBox::warningContinueCancelList(mCalendarView,
- i18nc("@info", "The downloaded events will be merged into your current calendar."),
- eventSummaries);
-
- if (result != KMessageBox::Continue) {
- // FIXME (KNS2): hm, no way out here :-)
- }
-
- if (importURL(QUrl::fromLocalFile(file), true)) {
- // FIXME (KNS2): here neither
- }
- }
- }
- });
-
QAction *action = nullptr;
/** Export Action **/
// TODO: Icon
diff --git a/src/data/korganizer.knsrc b/src/data/korganizer.knsrc
deleted file mode 100644
index 07e3efb11..000000000
--- a/src/data/korganizer.knsrc
+++ /dev/null
@@ -1,44 +0,0 @@
-[KNewStuff3]
-Name=KOrganizer Calendar
-Name[ar]=تقويم منظّمك
-Name[az]=KOrganizer təqvim xidməti
-Name[bg]=Календар на KOrganizer
-Name[ca]=Calendari del KOrganizer
-Name[ca at valencia]=Calendari de KOrganizer
-Name[cs]=Kalendář KOrganizer
-Name[de]=KOrganizer-Kalender
-Name[el]=KOrganizer ημερολόγιο
-Name[en_GB]=KOrganizer Calendar
-Name[eo]=KOrganizila Kalendaro
-Name[es]=Calendario de KOrganizer
-Name[et]=KOrganizeri kalender
-Name[eu]=KOrganizer egutegia
-Name[fi]=KOrganizer-kalenteri
-Name[fr]=Calendrier KOrganizer
-Name[gl]=Calendario de KOrganizer
-Name[he]=לוח שנה KOrganizer
-Name[hu]=KOrganizer naptár
-Name[ia]=Calendario de KOrganizer
-Name[id]=Kalender KOrganizer
-Name[it]=Calendario di KOrganizer
-Name[ka]=KOrganizer-ის კალენდარი
-Name[ko]=KOrganizer 캘린더
-Name[lv]=„KOrganizer“ kalendārs
-Name[nl]=KOrganizer-agenda
-Name[pl]=Kalendarz KOrganizera
-Name[pt]=Calendário do KOrganizer
-Name[pt_BR]=Calendário do KOrganizer
-Name[ru]=Служба календаря KOrganizer
-Name[sa]=KOrganizer कैलेण्डर
-Name[sk]=KOrganizer Kalendár
-Name[sl]=KOrganizerjev koledar
-Name[sv]=Korganizer-kalender
-Name[ta]=கேயார்கனைசர் நாள்காட்டி
-Name[tr]=K Organizatör Takvimi
-Name[uk]=Календар KOrganizer
-Name[x-test]=xxKOrganizer Calendarxx
-Name[zh_CN]=KOrganizer 日历
-Name[zh_TW]=KOrganizer 行事曆
-Categories=KOrganizer Calendar
-TargetDir=korganizer
-Uncompress=archive
diff --git a/src/data/korganizer_part.rc b/src/data/korganizer_part.rc
index 42c67735a..4ce161f47 100644
--- a/src/data/korganizer_part.rc
+++ b/src/data/korganizer_part.rc
@@ -1,5 +1,5 @@
<!DOCTYPE gui>
-<gui name="korganizer" version="447" translationDomain="korganizer">
+<gui name="korganizer" version="448" translationDomain="korganizer">
<MenuBar>
<Menu name="file"><text>&File</text>
<Merge/>
@@ -11,9 +11,6 @@
<Menu name="import"><text>&Import</text>
<Action name="import_icalendar"/>
<Action name="import_ical"/>
- <Merge/>
- <Separator/>
- <Action name="downloadnewstuff"/>
</Menu>
<Menu name="export"><text>&Export</text>
<Action name="export_icalendar"/>
diff --git a/src/data/korganizerui.rc b/src/data/korganizerui.rc
index 912ae9265..f94a7239e 100644
--- a/src/data/korganizerui.rc
+++ b/src/data/korganizerui.rc
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE gui>
-<gui name="korganizer" version="445" translationDomain="korganizer">
+<gui name="korganizer" version="446" translationDomain="korganizer">
<MenuBar>
<Menu name="file">
<text>&File</text>
@@ -8,9 +8,6 @@
<text>&Import</text>
<Action name="import_icalendar"/>
<Action name="import_ical"/>
- <Merge/>
- <Separator/>
- <Action name="downloadnewstuff"/>
</Menu>
<Menu name="export">
<text>&Export</text>
More information about the kde-doc-english
mailing list