Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/22/head
Michele Calgaro 1 year ago
parent 894069eb4d
commit a71adf538f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -769,7 +769,7 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
case K3bListViewItem::SPIN: case K3bListViewItem::SPIN:
if( !m_editorSpinBox ) { if( !m_editorSpinBox ) {
m_editorSpinBox = new TQSpinBox( viewport() ); m_editorSpinBox = new TQSpinBox( viewport() );
d->spinBoxLineEdit = static_cast<TQLineEdit*>(TQT_TQWIDGET( m_editorSpinBox->child( 0, TQLINEEDIT_OBJECT_NAME_STRING ) )); d->spinBoxLineEdit = static_cast<TQLineEdit*>(TQT_TQWIDGET( m_editorSpinBox->child( 0, "TQLineEdit" ) ));
connect( m_editorSpinBox, TQT_SIGNAL(valueChanged(int)), connect( m_editorSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotEditorSpinBoxValueChanged(int)) ); this, TQT_SLOT(slotEditorSpinBoxValueChanged(int)) );
// m_editorSpinBox->installEventFilter( this ); // m_editorSpinBox->installEventFilter( this );
@ -782,7 +782,7 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
case K3bListViewItem::MSF: case K3bListViewItem::MSF:
if( !m_editorMsfEdit ) { if( !m_editorMsfEdit ) {
m_editorMsfEdit = new K3bMsfEdit( viewport() ); m_editorMsfEdit = new K3bMsfEdit( viewport() );
d->msfEditLineEdit = static_cast<TQLineEdit*>(TQT_TQWIDGET( m_editorMsfEdit->child( 0, TQLINEEDIT_OBJECT_NAME_STRING ) )); d->msfEditLineEdit = static_cast<TQLineEdit*>(TQT_TQWIDGET( m_editorMsfEdit->child( 0, "TQLineEdit" ) ));
connect( m_editorMsfEdit, TQT_SIGNAL(valueChanged(int)), connect( m_editorMsfEdit, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotEditorMsfEditValueChanged(int)) ); this, TQT_SLOT(slotEditorMsfEditValueChanged(int)) );
// m_editorMsfEdit->installEventFilter( this ); // m_editorMsfEdit->installEventFilter( this );

Loading…
Cancel
Save