Bug 503577 - No more support for requesting updates of newstuff elements at C++ level
Summary: No more support for requesting updates of newstuff elements at C++ level
Status: REPORTED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks: 488490
  Show dependency treegraph
 
Reported: 2025-04-30 13:09 UTC by Ralf Habacker
Modified: 2025-05-12 08:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2025-04-30 13:09:53 UTC
In KF5/alkimia there is the following code that is used to obtain updateable new entries: 

connect(m_engine, &KNSCore::Engine::signalUpdateableEntriesLoaded, this, [this](const KNSCore::EntryInternal::List &entries)
    {
...
    });

which is triggered by 

connect(m_engine, &KNSCore::Engine::signalProvidersLoaded, this, [this]()
    {
         m_engine->checkForUpdates();
    });

This is required to display updatable new entries for online course sources in the interface when KMyMoney is started.

Unfortunately, in KF6 these methods and signals have been removed from KNSCore::Engine, so that users of the application can no longer be informed about corresponding updates. How can this restriction be removed?