diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:49:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:49:40 -0600 |
commit | 808e453c56036211f57482ed847d54aca01bba68 (patch) | |
tree | 75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kdict/actions.cpp | |
parent | cd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff) | |
download | tdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdict/actions.cpp')
-rw-r--r-- | kdict/actions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdict/actions.cpp b/kdict/actions.cpp index 5f5480aa..1c9c757c 100644 --- a/kdict/actions.cpp +++ b/kdict/actions.cpp @@ -46,7 +46,7 @@ int DictComboAction::plug( TQWidget *widget, int index ) m_combo = new KComboBox(m_editable,bar); m_combo->setCompletionMode(m_compMode); - bar->insertWidget( id_, m_combo->tqsizeHint().width(), m_combo, index ); + bar->insertWidget( id_, m_combo->sizeHint().width(), m_combo, index ); bar->setItemAutoSized(id_,m_autoSized); if ( m_combo ) { @@ -155,7 +155,7 @@ void DictComboAction::setList(TQStringList items) if (m_editable && m_combo->completionObject()) m_combo->completionObject()->setItems(items); if (!m_autoSized) - m_combo->setFixedWidth(m_combo->tqsizeHint().width()); + m_combo->setFixedWidth(m_combo->sizeHint().width()); } } @@ -213,9 +213,9 @@ int DictLabelAction::plug( TQWidget *widget, int index ) int id = KAction::getToolButtonID(); TQLabel *label = new TQLabel( text(), widget, "kde toolbar widget" ); - label->setMinimumWidth(label->tqsizeHint().width()); + label->setMinimumWidth(label->sizeHint().width()); label->setBackgroundMode( TQt::PaletteButton ); - label->tqsetAlignment(AlignCenter | AlignVCenter); + label->setAlignment(AlignCenter | AlignVCenter); label->adjustSize(); tb->insertWidget( id, label->width(), label, index ); @@ -320,7 +320,7 @@ void DictButtonAction::unplug( TQWidget *widget ) int DictButtonAction::widthHint() { if (m_button) - return m_button->tqsizeHint().width(); + return m_button->sizeHint().width(); else return 0; } |