diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /kdict/actions.cpp | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
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; } |