diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 631d7b9b0878ca3842496b5719f9c5803335e150 (patch) | |
tree | d09fe0c8cd6edfd28c9c7947b0af60ccc75fbb8d /src/softwareimporters.cpp | |
parent | 33f08e93132a53bf14f41f5f1e567eeea832b336 (diff) | |
download | basket-631d7b9b0878ca3842496b5719f9c5803335e150.tar.gz basket-631d7b9b0878ca3842496b5719f9c5803335e150.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/softwareimporters.cpp')
-rw-r--r-- | src/softwareimporters.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/softwareimporters.cpp b/src/softwareimporters.cpp index 2c49bca..24a20ed 100644 --- a/src/softwareimporters.cpp +++ b/src/softwareimporters.cpp @@ -41,9 +41,9 @@ /** class TreeImportDialog: */ -TreeImportDialog::TreeImportDialog(TQWidget *tqparent) +TreeImportDialog::TreeImportDialog(TQWidget *parent) : KDialogBase(KDialogBase::Swallow, i18n("Import Hierarchy"), KDialogBase::Ok | KDialogBase::Cancel, - KDialogBase::Ok, tqparent, /*name=*/"ImportHierarchy", /*modal=*/true, /*separator=*/false) + KDialogBase::Ok, parent, /*name=*/"ImportHierarchy", /*modal=*/true, /*separator=*/false) { TQWidget *page = new TQWidget(this); TQVBoxLayout *topLayout = new TQVBoxLayout(page, /*margin=*/0, spacingHint()); @@ -70,9 +70,9 @@ int TreeImportDialog::choice() /** class TextFileImportDialog: */ -TextFileImportDialog::TextFileImportDialog(TQWidget *tqparent) +TextFileImportDialog::TextFileImportDialog(TQWidget *parent) : KDialogBase(KDialogBase::Swallow, i18n("Import Text File"), KDialogBase::Ok | KDialogBase::Cancel, - KDialogBase::Ok, tqparent, /*name=*/"ImportTextFile", /*modal=*/true, /*separator=*/false) + KDialogBase::Ok, parent, /*name=*/"ImportTextFile", /*modal=*/true, /*separator=*/false) { TQWidget *page = new TQWidget(this); TQVBoxLayout *topLayout = new TQVBoxLayout(page, /*margin=*/0, spacingHint()); @@ -186,24 +186,24 @@ TQString SoftwareImporters::fromTomboy(TQString tomboy) return "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body>" + tomboy + "</body></html>"; } -Note* SoftwareImporters::insertTitledNote(Basket *tqparent, const TQString &title, const TQString &content, TQt::TextFormat format/* = TQt::PlainText*/, Note *parentNote/* = 0*/) +Note* SoftwareImporters::insertTitledNote(Basket *parent, const TQString &title, const TQString &content, TQt::TextFormat format/* = TQt::PlainText*/, Note *parentNote/* = 0*/) { - Note *nGroup = new Note(tqparent); + Note *nGroup = new Note(parent); - Note *nTitle = NoteFactory::createNoteText(title, tqparent); + Note *nTitle = NoteFactory::createNoteText(title, parent); nTitle->addState(Tag::stateForId("title")); Note *nContent; if (format == TQt::PlainText) - nContent = NoteFactory::createNoteText(content, tqparent); + nContent = NoteFactory::createNoteText(content, parent); else - nContent = NoteFactory::createNoteHtml(content, tqparent); + nContent = NoteFactory::createNoteHtml(content, parent); 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); + parentNote = parent->firstNote(); // In the first column! + parent->insertNote(nGroup, parentNote, Note::BottomColumn, TQPoint(), /*animate=*/false); + parent->insertNote(nTitle, nGroup, Note::BottomColumn, TQPoint(), /*animate=*/false); + parent->insertNote(nContent, nTitle, Note::BottomInsert, TQPoint(), /*animate=*/false); return nGroup; } |