[Kde-games-devel] KScoreDialog apidoc outdated?

Albert Astals Cid aacid at kde.org
Thu Mar 19 00:01:01 CET 2009


A Dijous, 12 de febrer de 2009, Frederik Schwarzer va escriure:
> Hi,
>
> I failed to get some stuff in KScoreDialog working as it is suggested in
> the apidoc.
>
> ===
> http://api.kde.org/4.x-api/kdegames-
> apidocs/libkdegames/highscore/html/classKScoreDialog.html#3c51163e97deefd1c
>81333a1a3e757e2
>
> Using something like the suggested
>     ksdialog.setConfigGroup(ki18n("Easy"));
> leads to:
>     error: no matching function for call to
> ‘KScoreDialog::setConfigGroup(KLocalizedString)’
>     candidates are: void KScoreDialog::setConfigGroup(const QString&)
>                     void KScoreDialog::setConfigGroup(const
> QPair<QByteArray,QString>&)
>
> ===
> Furthermore, all suggested
>     KScoreDialog ksdialog(this);
> do not seem to work, since
>     KScoreDialog (int fields=Name, QWidget *parent=0)
> expects an int as first parameter.
>
>
> Forgive me if I am wrong... I read tons of stuff and there is a slight
> possibility that I am a bit confused. :)

Yes, it is updated, do you think you can work on a patch to update it?

Of course you can ask here the questions you don't know how to answer :D

Albert

>
> Regards
> _______________________________________________
> 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