summaryrefslogtreecommitdiffstats
path: root/tools/designer/designer/tableeditorimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/designer/tableeditorimpl.cpp')
-rw-r--r--tools/designer/designer/tableeditorimpl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/designer/tableeditorimpl.cpp b/tools/designer/designer/tableeditorimpl.cpp
index 4c760e0b..ecb6bec3 100644
--- a/tools/designer/designer/tableeditorimpl.cpp
+++ b/tools/designer/designer/tableeditorimpl.cpp
@@ -64,7 +64,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f
labelRowPixmap->setText( "" );
#ifndef QT_NO_SQL
- if ( !::qt_cast<TQDataTable*>(editTable) )
+ if ( !::tqt_cast<TQDataTable*>(editTable) )
#endif
{
labelFields->hide();
@@ -73,7 +73,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f
labelTableValue->hide();
}
#ifndef QT_NO_SQL
- if ( ::qt_cast<TQDataTable*>(editTable) ) {
+ if ( ::tqt_cast<TQDataTable*>(editTable) ) {
// ## why does this behave weird?
// TabWidget->removePage( rows_tab );
// rows_tab->hide();
@@ -81,7 +81,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f
TabWidget->setTabEnabled( rows_tab, FALSE );
}
- if ( formWindow->project() && ::qt_cast<TQDataTable*>(editTable) ) {
+ if ( formWindow->project() && ::tqt_cast<TQDataTable*>(editTable) ) {
TQStringList lst = MetaDataBase::fakeProperty( editTable, "database" ).toStringList();
if ( lst.count() == 2 && !lst[ 0 ].isEmpty() && !lst[ 1 ].isEmpty() ) {
TQStringList fields;
@@ -164,7 +164,7 @@ void TableEditor::currentColumnChanged( TQListBoxItem *i )
editColumnText->blockSignals( FALSE );
#ifndef QT_NO_SQL
- if ( ::qt_cast<TQDataTable*>(editTable) ) {
+ if ( ::tqt_cast<TQDataTable*>(editTable) ) {
TQString s = *fieldMap.find( listColumns->index( i ) );
if ( s.isEmpty() )
comboFields->setCurrentItem( 0 );
@@ -249,7 +249,7 @@ void TableEditor::newColumnClicked()
listColumns->setCurrentItem( item );
listColumns->setSelected( item, TRUE );
#ifndef QT_NO_SQL
- if ( ::qt_cast<TQDataTable*>(editTable) ) {
+ if ( ::tqt_cast<TQDataTable*>(editTable) ) {
comboFields->setFocus();
} else
#endif