From 83677e35509b4dafac63b76995652bdf3b49f209 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:34 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 808e453c56036211f57482ed847d54aca01bba68. --- kdict/actions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdict/actions.cpp') diff --git a/kdict/actions.cpp b/kdict/actions.cpp index 1c9c757c..5f5480aa 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->sizeHint().width(), m_combo, index ); + bar->insertWidget( id_, m_combo->tqsizeHint().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->sizeHint().width()); + m_combo->setFixedWidth(m_combo->tqsizeHint().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->sizeHint().width()); + label->setMinimumWidth(label->tqsizeHint().width()); label->setBackgroundMode( TQt::PaletteButton ); - label->setAlignment(AlignCenter | AlignVCenter); + label->tqsetAlignment(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->sizeHint().width(); + return m_button->tqsizeHint().width(); else return 0; } -- cgit v1.2.1