summaryrefslogtreecommitdiffstats
path: root/src/softwareimporters.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:20 -0600
commit882bcd26b3d60be72ea2b35921969a9850c52db9 (patch)
tree8d0a6902c5de4632c4e73e35c4d86404fa75f470 /src/softwareimporters.cpp
parentc82058b2b64334c10d7e547cb81ac64efe09f516 (diff)
downloadbasket-882bcd26b3d60be72ea2b35921969a9850c52db9.tar.gz
basket-882bcd26b3d60be72ea2b35921969a9850c52db9.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/softwareimporters.cpp')
-rw-r--r--src/softwareimporters.cpp8
1 files changed, 4 insertions, 4 deletions
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 <klocale.h>
#include <kfiledialog.h>
#include <tqptrstack.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbuttongroup.h>
#include <tqradiobutton.h>
#include <kmessagebox.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#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();