summaryrefslogtreecommitdiffstats
path: root/src/newbasketdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:03:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:03:41 -0600
commit17678d65de293ae9a8b077b5c0bc3f493c617f8b (patch)
treeb4131182c75a7a638f626bc3b9415b6f47ff680e /src/newbasketdialog.cpp
parent522c7294f06d294c77bc1ea7d0dec4b371c43373 (diff)
downloadbasket-17678d65de293ae9a8b077b5c0bc3f493c617f8b.tar.gz
basket-17678d65de293ae9a8b077b5c0bc3f493c617f8b.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/newbasketdialog.cpp')
-rw-r--r--src/newbasketdialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/newbasketdialog.cpp b/src/newbasketdialog.cpp
index 04d39a8..c782583 100644
--- a/src/newbasketdialog.cpp
+++ b/src/newbasketdialog.cpp
@@ -116,7 +116,7 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
nameLayout->addWidget(m_backgroundColor);
topLayout->addLayout(nameLayout);
- TQHBoxLayout *tqlayout = new TQHBoxLayout(/*parent=*/0, /*margin=*/0, spacingHint());
+ TQHBoxLayout *layout = new TQHBoxLayout(/*parent=*/0, /*margin=*/0, spacingHint());
KPushButton *button = new KPushButton( KGuiItem(i18n("&Manage Templates..."), "configure"), page );
connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT(manageTemplates()) );
button->hide();
@@ -203,13 +203,13 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
m_templates->setMinimumHeight(topLayout->minimumSize().width() * 9 / 16);
TQLabel *label = new TQLabel(m_templates, i18n("&Template:"), page);
- tqlayout->addWidget(label, /*stretch=*/0, TQt::AlignBottom);
- tqlayout->addStretch();
- tqlayout->addWidget(button, /*stretch=*/0, TQt::AlignBottom);
- topLayout->addLayout(tqlayout);
+ layout->addWidget(label, /*stretch=*/0, TQt::AlignBottom);
+ layout->addStretch();
+ layout->addWidget(button, /*stretch=*/0, TQt::AlignBottom);
+ topLayout->addLayout(layout);
topLayout->addWidget(m_templates);
- tqlayout = new TQHBoxLayout(/*parent=*/0, /*margin=*/0, spacingHint());
+ layout = new TQHBoxLayout(/*parent=*/0, /*margin=*/0, spacingHint());
m_createIn = new TQComboBox(page);
m_createIn->insertItem(i18n("(Baskets)"));
label = new TQLabel(m_createIn, i18n("C&reate in:"), page);
@@ -219,11 +219,11 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
"<li>Grouping baskets in folders for different projects;</li>"
"<li>Making sections with sub-baskets representing chapters or pages;</li>"
"<li>Making a group of baskets to export together (to eg. email them to people).</li></ul>"), page);
- tqlayout->addWidget(label);
- tqlayout->addWidget(m_createIn);
- tqlayout->addWidget(helpLabel);
- tqlayout->addStretch();
- topLayout->addLayout(tqlayout);
+ layout->addWidget(label);
+ layout->addWidget(m_createIn);
+ layout->addWidget(helpLabel);
+ layout->addStretch();
+ topLayout->addLayout(layout);
m_basketsMap.clear();
m_basketsMap.insert(/*index=*/0, /*basket=*/0L);