SVN commit 1186494 by jsimon: Make this a protected slot. It's really only used internally by the table editor dialog and has to be a slot because its connected to ChartProxyModel::modelReset() (which before didn't actually work as it was no slot) M +4 -4 TableEditorDialog.cpp M +1 -1 TableEditorDialog.h --- trunk/koffice/plugins/chartshape/dialogs/TableEditorDialog.cpp #1186493:1186494 @@ -111,7 +111,7 @@ m_tableView->setContextMenuPolicy( Qt::ActionsContextMenu ); // Initialize the contents of the controls - updateDialog(); + slotUpdateDialog(); } void TableEditorDialog::setProxyModel( ChartProxyModel* proxyModel ) @@ -127,10 +127,10 @@ // Connect the new proxy model. if ( m_proxyModel ) { connect( m_proxyModel, SIGNAL( modelReset() ), - this, SLOT( updateDialog() ) ); + this, SLOT( slotUpdateDialog() ) ); } - updateDialog(); + slotUpdateDialog(); } void TableEditorDialog::setModel( QAbstractItemModel *model ) @@ -138,7 +138,7 @@ m_tableView->setModel( model ); } -void TableEditorDialog::updateDialog() +void TableEditorDialog::slotUpdateDialog() { if ( !m_proxyModel ) return; --- trunk/koffice/plugins/chartshape/dialogs/TableEditorDialog.h #1186493:1186494 @@ -47,9 +47,9 @@ void init(); void setProxyModel( ChartProxyModel *proxyModel ); void setModel( QAbstractItemModel *model ); - void updateDialog(); protected slots: + void slotUpdateDialog(); void slotInsertRowPressed(); void slotDeleteRowPressed(); void slotInsertColumnPressed();