diff options
author | ormorph <roma251078@mail.ru> | 2020-08-27 19:48:01 +0300 |
---|---|---|
committer | ormorph <roma251078@mail.ru> | 2020-08-27 19:48:01 +0300 |
commit | ae3ed3d32920f5780af51aad9683b82179e9655d (patch) | |
tree | 7ee0468d90507a69359f9b5e6d1e15c4d05c67bd /kommander/editor/tableeditorimpl.cpp | |
parent | 20fd79e5f4ac230cc4f6da008605be225f8b3399 (diff) | |
download | tdewebdev-ae3ed3d32920f5780af51aad9683b82179e9655d.tar.gz tdewebdev-ae3ed3d32920f5780af51aad9683b82179e9655d.zip |
Rename *OBJECT_NAME_STRING
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'kommander/editor/tableeditorimpl.cpp')
-rw-r--r-- | kommander/editor/tableeditorimpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/editor/tableeditorimpl.cpp b/kommander/editor/tableeditorimpl.cpp index 25883793..cb07cd7c 100644 --- a/kommander/editor/tableeditorimpl.cpp +++ b/kommander/editor/tableeditorimpl.cpp @@ -33,14 +33,14 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f labelColumnPixmap->setText( "" ); labelRowPixmap->setText( "" ); - if ( !editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) { + if ( !editTable->inherits( "TQDataTable" ) ) { labelFields->hide(); comboFields->hide(); labelTable->hide(); labelTableValue->hide(); } #ifndef TQT_NO_SQL - if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) { + if ( editTable->inherits( "TQDataTable" ) ) { // ## why does this behave weird? // TabWidget->removePage( rows_tab ); // rows_tab->hide(); @@ -48,7 +48,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f TabWidget->setTabEnabled( rows_tab, false ); } - if ( formWindow->project() && editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) { + if ( formWindow->project() && editTable->inherits( "TQDataTable" ) ) { TQStringList lst = MetaDataBase::fakeProperty( editTable, "database" ).toStringList(); if ( lst.count() == 2 && !lst[ 0 ].isEmpty() && !lst[ 1 ].isEmpty() ) { TQStringList fields; @@ -131,7 +131,7 @@ void TableEditor::currentColumnChanged( TQListBoxItem *i ) editColumnText->blockSignals( false ); #ifndef TQT_NO_TABLE - if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) { + if ( editTable->inherits( "TQDataTable" ) ) { TQString s = *fieldMap.find( listColumns->index( i ) ); if ( s.isEmpty() ) comboFields->setCurrentItem( 0 ); @@ -215,7 +215,7 @@ void TableEditor::newColumnClicked() TQListBoxItem *item = listColumns->item( listColumns->count() - 1 ); listColumns->setCurrentItem( item ); listColumns->setSelected( item, true ); - if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) { + if ( editTable->inherits( "TQDataTable" ) ) { comboFields->setFocus(); } else { editColumnText->setFocus(); |