diff options
Diffstat (limited to 'libkdegames/highscore/kexthighscore_internal.cpp')
-rw-r--r-- | libkdegames/highscore/kexthighscore_internal.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdegames/highscore/kexthighscore_internal.cpp b/libkdegames/highscore/kexthighscore_internal.cpp index 1bd0ddbc..a679002c 100644 --- a/libkdegames/highscore/kexthighscore_internal.cpp +++ b/libkdegames/highscore/kexthighscore_internal.cpp @@ -602,15 +602,15 @@ const char *DUMMY_STRINGS[] = { const char *UNABLE_TO_CONTACT = I18N_NOOP("Unable to contact world-wide highscore server"); -bool ManagerPrivate::doQuery(const KURL &url, TQWidget *tqparent, +bool ManagerPrivate::doQuery(const KURL &url, TQWidget *parent, TQDomNamedNodeMap *map) { KIO::http_update_cache(url, true, 0); // remove cache ! TQString tmpFile; - if ( !KIO::NetAccess::download(url, tmpFile, tqparent) ) { + if ( !KIO::NetAccess::download(url, tmpFile, parent) ) { TQString details = i18n("Server URL: %1").tqarg(url.host()); - KMessageBox::detailedSorry(tqparent, i18n(UNABLE_TO_CONTACT), details); + KMessageBox::detailedSorry(parent, i18n(UNABLE_TO_CONTACT), details); return false; } @@ -618,7 +618,7 @@ bool ManagerPrivate::doQuery(const KURL &url, TQWidget *tqparent, if ( !file.open(IO_ReadOnly) ) { KIO::NetAccess::removeTempFile(tmpFile); TQString details = i18n("Unable to open temporary file."); - KMessageBox::detailedSorry(tqparent, i18n(UNABLE_TO_CONTACT), details); + KMessageBox::detailedSorry(parent, i18n(UNABLE_TO_CONTACT), details); return false; } @@ -641,24 +641,24 @@ bool ManagerPrivate::doQuery(const KURL &url, TQWidget *tqparent, TQString msg = i18n(attr.value().latin1()); TQString caption = i18n("Message from world-wide highscores " "server"); - KMessageBox::sorry(tqparent, msg, caption); + KMessageBox::sorry(parent, msg, caption); return false; } } } TQString msg = i18n("Invalid answer from world-wide highscores server."); TQString details = i18n("Raw message: %1").tqarg(content); - KMessageBox::detailedSorry(tqparent, msg, details); + KMessageBox::detailedSorry(parent, msg, details); return false; } bool ManagerPrivate::getFromQuery(const TQDomNamedNodeMap &map, const TQString &name, TQString &value, - TQWidget *tqparent) + TQWidget *parent) { TQDomAttr attr = map.namedItem(name).toAttr(); if ( attr.isNull() ) { - KMessageBox::sorry(tqparent, + KMessageBox::sorry(parent, i18n("Invalid answer from world-wide " "highscores server (missing item: %1).").tqarg(name)); return false; |