summaryrefslogtreecommitdiffstats
path: root/src/gvcore/fileopobject.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:45 -0600
commit2b7143e0539396c75306f6e78bf0a5641ed1acfc (patch)
treedb4ea3490b6703f775f11931c6e7c22f943816bd /src/gvcore/fileopobject.cpp
parentff1cff2a1e9b7860d4d3779cf20bf79afbe52470 (diff)
downloadgwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.tar.gz
gwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gvcore/fileopobject.cpp')
-rw-r--r--src/gvcore/fileopobject.cpp10
1 files changed, 5 insertions, 5 deletions
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 <tqfile.h>
-#include <tqstylesheet.h>
+#include <stylesheet.h>
#include <tqwidget.h>
// 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("<p>Do you really want to move <b>%1</b> to the trash?</p>").tqarg(filename),i18n("Trash used as a verb", "Trash File"),KGuiItem(i18n("Trash used as a verb", "&Trash"),"edittrash"));
+ i18n("<p>Do you really want to move <b>%1</b> to the trash?</p>").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("<p>Do you really want to delete <b>%1</b>?</p>").tqarg(filename),
+ i18n("<p>Do you really want to delete <b>%1</b>?</p>").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("<p>Rename file <b>%1</b> to:</p>").tqarg(TQStyleSheet::escape(filename)));
+ dlg.setLabel(i18n("<p>Rename file <b>%1</b> to:</p>").arg(TQStyleSheet::escape(filename)));
dlg.setButtonOK( KGuiItem(i18n("&Rename"), "edit") );
dlg.lineEdit()->setText(filename);