summaryrefslogtreecommitdiffstats
path: root/src/basketproperties.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:01:17 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:01:17 -0600
commit2a411f53a04f815770074b633e026a141f6fa875 (patch)
tree0408d7c0976f54b4b6d13e8fbf5d91a82cb4ff92 /src/basketproperties.cpp
parentae6cafee5339716bd01aa6c66aa4f366bdc5d43b (diff)
downloadbasket-2a411f53a04f815770074b633e026a141f6fa875.tar.gz
basket-2a411f53a04f815770074b633e026a141f6fa875.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/basketproperties.cpp')
-rw-r--r--src/basketproperties.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/basketproperties.cpp b/src/basketproperties.cpp
index fa5a3a2..975e312 100644
--- a/src/basketproperties.cpp
+++ b/src/basketproperties.cpp
@@ -56,7 +56,7 @@ BasketPropertiesDialog::BasketPropertiesDialog(Basket *basket, TQWidget *parent)
m_icon->setIconType(KIcon::NoGroup, KIcon::Action);
m_icon->setIconSize(16);
m_icon->setIcon(m_basket->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(m_basket->basketName(), page);
@@ -99,8 +99,8 @@ BasketPropertiesDialog::BasketPropertiesDialog(Basket *basket, TQWidget *parent)
}
}
// m_backgroundImage->insertItem(i18n("Other..."), -1);
- int BUTTON_MARGIN = kapp->tqstyle().tqpixelMetric(TQStyle::PM_ButtonMargin);
- m_backgroundImage->setSizeLimit(50/*75 * 6 / m_backgroundImage->tqsizeHint().height()*/);
+ int BUTTON_MARGIN = kapp->tqstyle().pixelMetric(TQStyle::PM_ButtonMargin);
+ m_backgroundImage->setSizeLimit(50/*75 * 6 / m_backgroundImage->sizeHint().height()*/);
m_backgroundImage->setMinimumHeight(75 + 2 * BUTTON_MARGIN);
// Disposition:
@@ -117,8 +117,8 @@ BasketPropertiesDialog::BasketPropertiesDialog(Basket *basket, TQWidget *parent)
m_disposition->insert(radio);
new TQRadioButton(i18n("&Free-form"), m_disposition);
TQRadioButton *mindMap = new TQRadioButton(i18n("&Mind map"), m_disposition); // TODO: "Learn more..."
- int height = TQMAX(mindMap->tqsizeHint().height(), m_columnCount->tqsizeHint().height()); // Make all radioButtons vertically equaly-spaced!
- mindMap->setMinimumSize(mindMap->tqsizeHint().width(), height); // Because the m_columnCount can be heigher, and make radio1 and radio2 more spaced than radio2 and radio3.
+ int height = TQMAX(mindMap->sizeHint().height(), m_columnCount->sizeHint().height()); // Make all radioButtons vertically equaly-spaced!
+ mindMap->setMinimumSize(mindMap->sizeHint().width(), height); // Because the m_columnCount can be heigher, and make radio1 and radio2 more spaced than radio2 and radio3.
m_disposition->setButton(m_basket->isFreeLayout() ? (m_basket->isMindMap() ? 2 : 1) : 0);
topLayout->addWidget(m_disposition);