diff options
Diffstat (limited to 'kdevdesigner/designer/tableeditorimpl.cpp')
-rw-r--r-- | kdevdesigner/designer/tableeditorimpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdevdesigner/designer/tableeditorimpl.cpp b/kdevdesigner/designer/tableeditorimpl.cpp index 060611f6..1bde6758 100644 --- a/kdevdesigner/designer/tableeditorimpl.cpp +++ b/kdevdesigner/designer/tableeditorimpl.cpp @@ -59,7 +59,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f labelRowPixmap->setText( "" ); #ifndef TQT_NO_SQL - if ( !::tqqt_cast<TQDataTable*>(editTable) ) + if ( !::tqt_cast<TQDataTable*>(editTable) ) #endif { labelFields->hide(); @@ -68,7 +68,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f labelTableValue->hide(); } #ifndef TQT_NO_SQL - if ( ::tqqt_cast<TQDataTable*>(editTable) ) { + if ( ::tqt_cast<TQDataTable*>(editTable) ) { // ## why does this behave weird? // TabWidget->removePage( rows_tab ); // rows_tab->hide(); @@ -76,7 +76,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f TabWidget->setTabEnabled( rows_tab, FALSE ); } - if ( formWindow->project() && ::tqqt_cast<TQDataTable*>(editTable) ) { + if ( formWindow->project() && ::tqt_cast<TQDataTable*>(editTable) ) { TQStringList lst = MetaDataBase::fakeProperty( TQT_TQOBJECT(editTable), "database" ).toStringList(); if ( lst.count() == 2 && !lst[ 0 ].isEmpty() && !lst[ 1 ].isEmpty() ) { TQStringList fields; @@ -159,7 +159,7 @@ void TableEditor::currentColumnChanged( TQListBoxItem *i ) editColumnText->blockSignals( FALSE ); #ifndef TQT_NO_SQL - if ( ::tqqt_cast<TQDataTable*>(editTable) ) { + if ( ::tqt_cast<TQDataTable*>(editTable) ) { TQString s = *fieldMap.find( listColumns->index( i ) ); if ( s.isEmpty() ) comboFields->setCurrentItem( 0 ); @@ -244,7 +244,7 @@ void TableEditor::newColumnClicked() listColumns->setCurrentItem( item ); listColumns->setSelected( item, TRUE ); #ifndef TQT_NO_SQL - if ( ::tqqt_cast<TQDataTable*>(editTable) ) { + if ( ::tqt_cast<TQDataTable*>(editTable) ) { comboFields->setFocus(); } else #endif |