From 2b7143e0539396c75306f6e78bf0a5641ed1acfc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:45 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/gvcore/fileopobject.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gvcore/fileopobject.cpp') diff --git a/src/gvcore/fileopobject.cpp b/src/gvcore/fileopobject.cpp index e72d192..5d9a820 100644 --- a/src/gvcore/fileopobject.cpp +++ b/src/gvcore/fileopobject.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // TQt #include -#include +#include #include // KDE @@ -89,7 +89,7 @@ void FileOpObject::slotResult(KIO::Job* job) { void FileOpObject::polishJob(KIO::Job* job) { - job->setWindow(mParent->tqtopLevelWidget()); + job->setWindow(mParent->topLevelWidget()); connect( job, TQT_SIGNAL( result(KIO::Job*) ), this, TQT_SLOT( slotResult(KIO::Job*) ) ); } @@ -259,7 +259,7 @@ void FileOpTrashObject::operator()() { } else { TQString filename=TQStyleSheet::escape(mURLList.first().filename()); response=KMessageBox::warningContinueCancel(mParent, - i18n("

Do you really want to move %1 to the trash?

").tqarg(filename),i18n("Trash used as a verb", "Trash File"),KGuiItem(i18n("Trash used as a verb", "&Trash"),"edittrash")); + i18n("

Do you really want to move %1 to the trash?

").arg(filename),i18n("Trash used as a verb", "Trash File"),KGuiItem(i18n("Trash used as a verb", "&Trash"),"edittrash")); } if (response!=KMessageBox::Continue) return; } @@ -287,7 +287,7 @@ void FileOpRealDeleteObject::operator()() { } else { TQString filename=TQStyleSheet::escape(mURLList.first().filename()); response=KMessageBox::warningContinueCancel(mParent, - i18n("

Do you really want to delete %1?

").tqarg(filename), + i18n("

Do you really want to delete %1?

").arg(filename), i18n("Delete File"), KStdGuiItem::del() ); @@ -309,7 +309,7 @@ void FileOpRenameObject::operator()() { TQString filename = srcURL.filename(); InputDialog dlg(mParent); dlg.setCaption(i18n("Renaming File")); - dlg.setLabel(i18n("

Rename file %1 to:

").tqarg(TQStyleSheet::escape(filename))); + dlg.setLabel(i18n("

Rename file %1 to:

").arg(TQStyleSheet::escape(filename))); dlg.setButtonOK( KGuiItem(i18n("&Rename"), "edit") ); dlg.lineEdit()->setText(filename); -- cgit v1.2.1