Commit afb2a31a authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Adapt to KNewStuff KF6 changes

parent 50aa54b1
Pipeline #256635 passed with stage
in 57 seconds
......@@ -838,7 +838,11 @@ void KWordQuizApp::slotFileOpenRecent(const QUrl &url)
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
void KWordQuizApp::slotFileGHNS(const QList<KNS3::Entry> &entries)
#else
void KWordQuizApp::slotFileGHNS(const QList<KNSCore::Entry> &entries)
#endif
{
QMimeDatabase db;
......
......@@ -130,7 +130,11 @@ class KWordQuizApp : public KXmlGuiWindow
/** opens a file from the recent files menu */
void slotFileOpenRecent(const QUrl &url);
/** download vocabularies from the Internet */
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
void slotFileGHNS(const KNS3::Entry::List &changedEntries);
#else
void slotFileGHNS(const KNSCore::Entry::List &changedEntries);
#endif
/** save a document */
void slotFileSave();
/** save a document by a new filename*/
......
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