From 882bcd26b3d60be72ea2b35921969a9850c52db9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:20 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/softwareimporters.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/softwareimporters.cpp') diff --git a/src/softwareimporters.cpp b/src/softwareimporters.cpp index 24a20ed..2176907 100644 --- a/src/softwareimporters.cpp +++ b/src/softwareimporters.cpp @@ -24,11 +24,11 @@ #include #include #include -#include +#include #include #include #include -#include +#include #include "softwareimporters.h" #include "basket.h" @@ -216,7 +216,7 @@ void SoftwareImporters::finishImport(Basket *basket) // Focus the FIRST note (the last inserted note is currently focused!): basket->setFocusedNote(basket->firstNoteShownInStack()); - // Retqlayout every notes at theire new place and simulate a load animation (because already loaded just after the creation). + // Relayout every notes at theire new place and simulate a load animation (because already loaded just after the creation). // Without a relayouting, notes on the bottom would comes from the top (because they were inserted on top) and clutter the animation load: basket->relayoutNotes(/*animate=*/false); basket->animateLoad(); @@ -491,7 +491,7 @@ void SoftwareImporters::importTextFile() ); // First create a basket for it: - TQString title = i18n("From TextFile.txt", "From %1").tqarg(KURL(fileName).fileName()); + TQString title = i18n("From TextFile.txt", "From %1").arg(KURL(fileName).fileName()); BasketFactory::newBasket(/*icon=*/"txt", title, /*backgroundImage=*/"", /*backgroundColor=*/TQColor(), /*textColor=*/TQColor(), /*templateName=*/"1column", /*createIn=*/0); Basket *basket = Global::bnpView->currentBasket(); basket->load(); -- cgit v1.2.1