summaryrefslogtreecommitdiffstats
path: root/kommander/editor/tableeditorimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 20:07:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 20:07:57 +0000
commitf7670c198945adc3b95ad69a959fe5f8ae55b493 (patch)
treef99e83cfcade37f343656314fa6088ef9c6d2526 /kommander/editor/tableeditorimpl.cpp
parent9cbbf05386502794e53fbf68678e3c7fc6d0e296 (diff)
downloadtdewebdev-f7670c198945adc3b95ad69a959fe5f8ae55b493.tar.gz
tdewebdev-f7670c198945adc3b95ad69a959fe5f8ae55b493.zip
Runtime object naming repaired in kdewebdev
NOTE: runtime object naming still needs to be checked for stray "Q*" strings git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1222551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/editor/tableeditorimpl.cpp')
-rw-r--r--kommander/editor/tableeditorimpl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/editor/tableeditorimpl.cpp b/kommander/editor/tableeditorimpl.cpp
index 6b5ce13e..58cc554d 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" ) ) {
+ if ( !editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
labelFields->hide();
comboFields->hide();
labelTable->hide();
labelTableValue->hide();
}
#ifndef QT_NO_SQL
- if ( editTable->inherits( "TQDataTable" ) ) {
+ if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
// ## 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" ) ) {
+ if ( formWindow->project() && editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
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 QT_NO_TABLE
- if ( editTable->inherits( "TQDataTable" ) ) {
+ if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
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" ) ) {
+ if ( editTable->inherits( TQDATATABLE_OBJECT_NAME_STRING ) ) {
comboFields->setFocus();
} else {
editColumnText->setFocus();