diff options
Diffstat (limited to 'lib/kotext/KoCustomVariablesDia.cpp')
-rw-r--r-- | lib/kotext/KoCustomVariablesDia.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoCustomVariablesDia.cpp b/lib/kotext/KoCustomVariablesDia.cpp index f3b84121..aa74d133 100644 --- a/lib/kotext/KoCustomVariablesDia.cpp +++ b/lib/kotext/KoCustomVariablesDia.cpp @@ -67,7 +67,7 @@ void KoVariableNameDia::init() row1->setSpacing( KDialog::spacingHint() ); TQLabel *l = new TQLabel( i18n( "Name:" ), row1 ); - l->setFixedSize( l->sizeHint() ); + l->setFixedSize( l->tqsizeHint() ); names = new TQComboBox( TRUE, row1 ); names->setFocus(); @@ -108,9 +108,9 @@ void KoCustomVariablesListItem::setup() { TQListViewItem::setup(); setHeight( TQMAX( listView()->fontMetrics().height(), - editWidget->sizeHint().height() ) ); - //if ( listView()->columnWidth( 1 ) < editWidget->sizeHint().width() ) - // listView()->setColumnWidth( 1, editWidget->sizeHint().width() ); + editWidget->tqsizeHint().height() ) ); + //if ( listView()->columnWidth( 1 ) < editWidget->tqsizeHint().width() ) + // listView()->setColumnWidth( 1, editWidget->tqsizeHint().width() ); } void KoCustomVariablesListItem::update() @@ -297,13 +297,13 @@ void KoCustomVarDialog::init() TQHBox *row1 = new TQHBox( back ); row1->setSpacing( KDialog::spacingHint() ); TQLabel *ln = new TQLabel( i18n( "Name:" ), row1 ); - ln->setFixedSize( ln->sizeHint() ); + ln->setFixedSize( ln->tqsizeHint() ); m_name = new KLineEdit( row1 ); TQHBox *row2 = new TQHBox( back ); row2->setSpacing( KDialog::spacingHint() ); TQLabel *lv = new TQLabel( i18n( "Value:" ), row2 ); - lv->setFixedSize( lv->sizeHint() ); + lv->setFixedSize( lv->tqsizeHint() ); m_value = new KLineEdit( row2 ); } |