summaryrefslogtreecommitdiffstats
path: root/src/softwareimporters.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:33 -0600
commitae6cafee5339716bd01aa6c66aa4f366bdc5d43b (patch)
treedb682cc1b772442e3ac4986b8f66119531291a4e /src/softwareimporters.cpp
parent882bcd26b3d60be72ea2b35921969a9850c52db9 (diff)
downloadbasket-ae6cafee5339716bd01aa6c66aa4f366bdc5d43b.tar.gz
basket-ae6cafee5339716bd01aa6c66aa4f366bdc5d43b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 882bcd26b3d60be72ea2b35921969a9850c52db9.
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 2176907..24a20ed 100644
--- a/src/softwareimporters.cpp
+++ b/src/softwareimporters.cpp
@@ -24,11 +24,11 @@
#include <klocale.h>
#include <kfiledialog.h>
#include <tqptrstack.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvbuttongroup.h>
#include <tqradiobutton.h>
#include <kmessagebox.h>
-#include <textedit.h>
+#include <tqtextedit.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());
- // Relayout every notes at theire new place and simulate a load animation (because already loaded just after the creation).
+ // Retqlayout 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").arg(KURL(fileName).fileName());
+ TQString title = i18n("From TextFile.txt", "From %1").tqarg(KURL(fileName).fileName());
BasketFactory::newBasket(/*icon=*/"txt", title, /*backgroundImage=*/"", /*backgroundColor=*/TQColor(), /*textColor=*/TQColor(), /*templateName=*/"1column", /*createIn=*/0);
Basket *basket = Global::bnpView->currentBasket();
basket->load();