Hi Aleix,

KToolInvocation::invokeHelp() was removed. We used it like this:

  KToolInvocation::invokeHelp("advanced-editing-tools-commandline","kate");

According to https://git.reviewboard.kde.org/r/111298/, is the preferred 
replacement to go with something along this lines:

  QUrl u("help://kate/advanced-editing-tools-commandline"); // ???

  QString helpcenter = QStandardPaths::findExecutable("khelpcenter");
  if (! helpcenter.isEmpty())
    QProcess::startDetached(helpcenter, QStringList(u.toString()));
  }


Unfortunately, the porting docs about KDE 4 -> KF5 are basically non-existent.
That makes it rather hard to find a correct solution...

Greetings,
Dominik
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to