From e002658dbd82274922c57bdf7a1ffd07e1e36e6f Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Mon, 19 Dec 2016 14:34:43 +0100 Subject: [PATCH] AppFwk : Changed accessability from public to private for functions related to PdmUiTableViewDelegate --- Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h b/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h index ff130d65f2..f438cc55f6 100644 --- a/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h +++ b/Fwk/AppFwk/cafUserInterface/cafPdmUiTableViewModel.h @@ -82,8 +82,6 @@ public: void selectedUiItems(std::vector& objects); - PdmUiFieldEditorHandle* getEditor(const QModelIndex &index); - QWidget* getEditorWidgetAndTransferOwnership(QWidget* parent, const QModelIndex &index); void notifyDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); bool isRepresentingBoolean(const QModelIndex &index) const; @@ -92,6 +90,10 @@ private: int getFieldIndex(PdmFieldHandle* field) const; void recreateTableItemEditors(); + friend class PdmUiTableViewDelegate; + QWidget* getEditorWidgetAndTransferOwnership(QWidget* parent, const QModelIndex &index); + PdmUiFieldEditorHandle* getEditor(const QModelIndex &index); + private: PdmChildArrayFieldHandle* m_pdmList; QString m_currentConfigName;