diff options
Diffstat (limited to 'kvoctrain/kvoctrain/kvtnewstuff.cpp')
-rw-r--r-- | kvoctrain/kvoctrain/kvtnewstuff.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kvoctrain/kvoctrain/kvtnewstuff.cpp b/kvoctrain/kvoctrain/kvtnewstuff.cpp index 2714cf76..c5f01f62 100644 --- a/kvoctrain/kvoctrain/kvtnewstuff.cpp +++ b/kvoctrain/kvoctrain/kvtnewstuff.cpp @@ -22,9 +22,9 @@ #include "kvtnewstuff.h" #include "prefs.h" -KVTNewStuff::KVTNewStuff(TQWidget *parent, const char * /*name*/) : TQObject(), KNewStuff("kdeedu/vocabulary", parent) +KVTNewStuff::KVTNewStuff(TQWidget *tqparent, const char * /*name*/) : TQObject(), KNewStuff("kdeedu/vocabulary", tqparent) { - m_app = (kvoctrainApp*) parent; + m_app = (kvoctrainApp*) tqparent; } @@ -63,7 +63,7 @@ TQString KVTNewStuff::destinationPath(KNS::Entry * entry) return file; } else - return TQString::null; + return TQString(); } @@ -73,17 +73,17 @@ TQString KVTNewStuff::downloadDestination(KNS::Entry * entry) if (KStandardDirs::exists(file)) { - int result = KMessageBox::warningContinueCancel(parentWidget(), + int result = KMessageBox::warningContinueCancel(tqparentWidget(), i18n("The file '%1' already exists. Do you want to overwrite it?") - .arg(file), - TQString::null, i18n("Overwrite") ); + .tqarg(file), + TQString(), i18n("Overwrite") ); if (result == KMessageBox::Cancel) - return TQString::null; + return TQString(); } - KMessageBox::information(parentWidget(), + KMessageBox::information(tqparentWidget(), i18n("<qt>The selected file will now be downloaded and saved as\n<b>'%1'</b>.</qt>") - .arg(file), - TQString::null, + .tqarg(file), + TQString(), "NewStuffDownloadLocation"); return file; } |