From f24ac211b8e67f545e757a50da4a00252d092869 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/softwareimporters.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/softwareimporters.cpp') diff --git a/src/softwareimporters.cpp b/src/softwareimporters.cpp index 2c9acb0..f7361b1 100644 --- a/src/softwareimporters.cpp +++ b/src/softwareimporters.cpp @@ -186,7 +186,7 @@ TQString SoftwareImporters::fromTomboy(TQString tomboy) return "" + tomboy + ""; } -Note* SoftwareImporters::insertTitledNote(Basket *tqparent, const TQString &title, const TQString &content, TQt::TextFormat format/* = TQt::PlainText*/, Note *tqparentNote/* = 0*/) +Note* SoftwareImporters::insertTitledNote(Basket *tqparent, const TQString &title, const TQString &content, TQt::TextFormat format/* = TQt::PlainText*/, Note *parentNote/* = 0*/) { Note *nGroup = new Note(tqparent); @@ -199,9 +199,9 @@ Note* SoftwareImporters::insertTitledNote(Basket *tqparent, const TQString &titl else nContent = NoteFactory::createNoteHtml(content, tqparent); - if (tqparentNote == 0) - tqparentNote = tqparent->firstNote(); // In the first column! - tqparent->insertNote(nGroup, tqparentNote, Note::BottomColumn, TQPoint(), /*animate=*/false); + if (parentNote == 0) + parentNote = tqparent->firstNote(); // In the first column! + tqparent->insertNote(nGroup, parentNote, Note::BottomColumn, TQPoint(), /*animate=*/false); tqparent->insertNote(nTitle, nGroup, Note::BottomColumn, TQPoint(), /*animate=*/false); tqparent->insertNote(nContent, nTitle, Note::BottomInsert, TQPoint(), /*animate=*/false); @@ -217,8 +217,8 @@ void SoftwareImporters::finishImport(Basket *basket) basket->setFocusedNote(basket->firstNoteShownInStack()); // Retqlayout every notes at theire new place and simulate a load animation (because already loaded just after the creation). - // Without a retqlayouting, notes on the bottom would comes from the top (because they were inserted on top) and clutter the animation load: - basket->retqlayoutNotes(/*animate=*/false); + // 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(); basket->save(); } @@ -646,12 +646,12 @@ void SoftwareImporters::importTuxCards() TQDomElement collection = document->documentElement(); int remainingHierarchy = (hierarchy == 0 ? 65000 : 3 - hierarchy); - importTuxCardsNode(collection, /*tqparentBasket=*/0, /*tqparentNote=*/0, remainingHierarchy); + importTuxCardsNode(collection, /*parentBasket=*/0, /*parentNote=*/0, remainingHierarchy); } // TODO: 0) { - BasketFactory::newBasket(icon, name, /*backgroundImage=*/"", /*backgroundColor=*/TQColor(), /*textColor=*/TQColor(), /*templateName=*/"1column", tqparentBasket); + BasketFactory::newBasket(icon, name, /*backgroundImage=*/"", /*backgroundColor=*/TQColor(), /*textColor=*/TQColor(), /*templateName=*/"1column", parentBasket); Basket *basket = Global::bnpView->currentBasket(); basket->load(); @@ -687,8 +687,8 @@ void SoftwareImporters::importTuxCardsNode(const TQDomElement &element, Basket * importTuxCardsNode(e, basket, 0, remainingHierarchy - 1); finishImport(basket); } else { - Note *nGroup = insertTitledNote(tqparentBasket, name, content, (isRichText ? TQt::RichText : TQt::PlainText), tqparentNote); - importTuxCardsNode(e, tqparentBasket, nGroup, remainingHierarchy - 1); + Note *nGroup = insertTitledNote(parentBasket, name, content, (isRichText ? TQt::RichText : TQt::PlainText), parentNote); + importTuxCardsNode(e, parentBasket, nGroup, remainingHierarchy - 1); } } } -- cgit v1.2.1