summaryrefslogtreecommitdiffstats
path: root/kdict/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdict/actions.cpp')
-rw-r--r--kdict/actions.cpp10
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;
}