[Kde-games-devel] KScoreDialog apidoc outdated?
Frederik Schwarzer
schwarzerf at gmail.com
Thu Feb 12 16:52:08 CET 2009
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#3c51163e97deefd1c81333a1a3e757e2
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. :)
Regards
More information about the kde-games-devel
mailing list