[Kde-games-devel] KScoreDialog::setConfigGroup(...)

Albert Astals Cid aacid at kde.org
Tue Oct 13 21:01:59 UTC 2015


El Tuesday 13 October 2015, a les 22:05:44, Frederik Schwarzer va escriure:
> Hi,
> 
> a few years ago, setConfigGroup(const QString& group = QString()) has
> been deprecated. The other setConfigGroup() has QPair<QByteArray,
> QString> as parameter and the description states that you can use it
> like this:
> ksdialog.setConfigGroup(ki18n("Easy"));
> ...but ki18n() returns a KLocalizedString and thus does not fit the
> signature.
> 
> So now I am a bit stuck here.
> Is there a game where the kscoredialog usage is fairly recent and
> clean and that is using custom config groups?

I just fixed the documentation.

Cheers,
  Albert

> 
> Regards
> Frederik
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel



More information about the kde-games-devel mailing list