diff options
Diffstat (limited to 'bibletime/frontend/keychooser/ckeychooserwidget.cpp')
-rw-r--r-- | bibletime/frontend/keychooser/ckeychooserwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bibletime/frontend/keychooser/ckeychooserwidget.cpp b/bibletime/frontend/keychooser/ckeychooserwidget.cpp index 7caaf6f..01a7b37 100644 --- a/bibletime/frontend/keychooser/ckeychooserwidget.cpp +++ b/bibletime/frontend/keychooser/ckeychooserwidget.cpp @@ -22,7 +22,7 @@ #include <tqlistbox.h> #include <tqtoolbutton.h> #include <tqevent.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpainter.h> #include <tqstyle.h> #include <tqpixmap.h> @@ -147,7 +147,7 @@ void CKeyChooserWidget::reset(TQStringList *list, int index, bool do_emit) { oldKey = TQString(); // m_comboBox->setUpdatesEnabled(false); - //DON'T REMOVE THE HIDE: Otherwise TQComboBox's sizeHint() function won't work properly + //DON'T REMOVE THE HIDE: Otherwise TQComboBox's tqsizeHint() function won't work properly m_comboBox->hide(); m_comboBox->clear(); if (list) { @@ -168,8 +168,8 @@ void CKeyChooserWidget::reset(TQStringList *list, int index, bool do_emit) { emit changed(m_comboBox->currentItem()); } - const TQSize dummySize = m_comboBox->sizeHint(); //without this function call the combo box won't be properly sized! - //DON'T REMOVE OR MOVE THE show()! Otherwise TQComboBox's sizeHint() function won't work properly! + const TQSize dummySize = m_comboBox->tqsizeHint(); //without this function call the combo box won't be properly sized! + //DON'T REMOVE OR MOVE THE show()! Otherwise TQComboBox's tqsizeHint() function won't work properly! m_comboBox->show(); // m_comboBox->setFont( m_comboBox->font() ); |