diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 23:01:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 23:01:28 +0900 |
commit | 61cd5b18f00b0d36a7953596c5295e358324ebb7 (patch) | |
tree | 9e5fe82b53b2e1957358366b7c0149dab04206fb /kdevdesigner/designer/tableeditorimpl.cpp | |
parent | 30ac86e18cc775007edbbf3cdb816082c172f38c (diff) | |
download | tdevelop-61cd5b18f00b0d36a7953596c5295e358324ebb7.tar.gz tdevelop-61cd5b18f00b0d36a7953596c5295e358324ebb7.zip |
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/tableeditorimpl.cpp')
-rw-r--r-- | kdevdesigner/designer/tableeditorimpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdevdesigner/designer/tableeditorimpl.cpp b/kdevdesigner/designer/tableeditorimpl.cpp index 1bde6758..3d0fa9e3 100644 --- a/kdevdesigner/designer/tableeditorimpl.cpp +++ b/kdevdesigner/designer/tableeditorimpl.cpp @@ -77,7 +77,7 @@ TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *f } if ( formWindow->project() && ::tqt_cast<TQDataTable*>(editTable) ) { - TQStringList lst = MetaDataBase::fakeProperty( TQT_TQOBJECT(editTable), "database" ).toStringList(); + TQStringList lst = MetaDataBase::fakeProperty( editTable, "database" ).toStringList(); if ( lst.count() == 2 && !lst[ 0 ].isEmpty() && !lst[ 1 ].isEmpty() ) { TQStringList fields; fields << "<no field>"; @@ -412,7 +412,7 @@ void TableEditor::readFromTable() #ifndef TQT_NO_TABLE TQHeader *cols = editTable->horizontalHeader(); table->setNumCols( cols->count() ); - TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( TQT_TQOBJECT(editTable) ); + TQMap<TQString, TQString> columnFields = MetaDataBase::columnFields( editTable ); for ( int i = 0; i < cols->count(); ++i ) { if ( editTable->horizontalHeader()->iconSet( i ) ) { table->horizontalHeader()->setLabel( i, *editTable->horizontalHeader()->iconSet( i ), |