summaryrefslogtreecommitdiffstats
path: root/src/newbasketdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newbasketdialog.cpp')
-rw-r--r--src/newbasketdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newbasketdialog.cpp b/src/newbasketdialog.cpp
index 82ee60e..04d39a8 100644
--- a/src/newbasketdialog.cpp
+++ b/src/newbasketdialog.cpp
@@ -98,7 +98,7 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
m_icon->setIconType(KIcon::NoGroup, KIcon::Action);
m_icon->setIconSize(16);
m_icon->setIcon(m_defaultProperties.icon.isEmpty() ? "basket" : m_defaultProperties.icon);
- int size = TQMAX(m_icon->tqsizeHint().width(), m_icon->tqsizeHint().height());
+ int size = TQMAX(m_icon->sizeHint().width(), m_icon->sizeHint().height());
m_icon->setFixedSize(size, size); // Make it square!
TQToolTip::add(m_icon, i18n("Icon"));
m_name = new TQLineEdit(/*i18n("Basket"), */page);
@@ -108,7 +108,7 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
TQToolTip::add(m_name, i18n("Name"));
m_backgroundColor = new KColorCombo2(TQColor(), KGlobalSettings::baseColor(), page);
m_backgroundColor->setColor(TQColor());
- m_backgroundColor->setFixedSize(m_backgroundColor->tqsizeHint());
+ m_backgroundColor->setFixedSize(m_backgroundColor->sizeHint());
m_backgroundColor->setColor(m_defaultProperties.backgroundColor);
TQToolTip::add(m_backgroundColor, i18n("Background color"));
nameLayout->addWidget(m_icon);
@@ -200,7 +200,7 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
painter.end();
lastTemplate = new KIconViewItem(m_templates, lastTemplate, i18n("Mind map"), icon);*/
- m_templates->setMinimumHeight(topLayout->tqminimumSize().width() * 9 / 16);
+ m_templates->setMinimumHeight(topLayout->minimumSize().width() * 9 / 16);
TQLabel *label = new TQLabel(m_templates, i18n("&Template:"), page);
tqlayout->addWidget(label, /*stretch=*/0, TQt::AlignBottom);