Gui: Fix header uniformity, whitespace, and doxygen fixes
This commit is contained in:
@@ -84,12 +84,12 @@ namespace Gui {
|
||||
{ return childItems.count(); }
|
||||
virtual QVariant data(int role) const
|
||||
{
|
||||
Q_UNUSED(role);
|
||||
Q_UNUSED(role);
|
||||
return QVariant();
|
||||
}
|
||||
virtual bool setData (const QVariant & value, int role)
|
||||
{
|
||||
Q_UNUSED(value);
|
||||
Q_UNUSED(value);
|
||||
if (role == Qt::EditRole) {
|
||||
return true;
|
||||
}
|
||||
@@ -299,7 +299,7 @@ namespace Gui {
|
||||
ViewProviderIndex* c = static_cast<ViewProviderIndex*>(*it)->clone();
|
||||
copy->appendChild(c);
|
||||
}
|
||||
return copy;
|
||||
return copy;
|
||||
}
|
||||
|
||||
void ViewProviderIndex::findViewProviders(const ViewProviderDocumentObject& vp,
|
||||
@@ -412,7 +412,7 @@ void DocumentModel::slotDeleteDocument(const Gui::Document& Doc)
|
||||
|
||||
void DocumentModel::slotRenameDocument(const Gui::Document& Doc)
|
||||
{
|
||||
Q_UNUSED(Doc);
|
||||
Q_UNUSED(Doc);
|
||||
// do nothing here
|
||||
}
|
||||
|
||||
@@ -437,12 +437,12 @@ void DocumentModel::slotActiveDocument(const Gui::Document& /*Doc*/)
|
||||
|
||||
void DocumentModel::slotInEdit(const Gui::ViewProviderDocumentObject& v)
|
||||
{
|
||||
Q_UNUSED(v);
|
||||
Q_UNUSED(v);
|
||||
}
|
||||
|
||||
void DocumentModel::slotResetEdit(const Gui::ViewProviderDocumentObject& v)
|
||||
{
|
||||
Q_UNUSED(v);
|
||||
Q_UNUSED(v);
|
||||
}
|
||||
|
||||
void DocumentModel::slotNewObject(const Gui::ViewProviderDocumentObject& obj)
|
||||
@@ -551,13 +551,13 @@ void DocumentModel::slotChangeObject(const Gui::ViewProviderDocumentObject& obj,
|
||||
|
||||
void DocumentModel::slotRenameObject(const Gui::ViewProviderDocumentObject& obj)
|
||||
{
|
||||
Q_UNUSED(obj);
|
||||
Q_UNUSED(obj);
|
||||
// renaming of objects not supported at the moment
|
||||
}
|
||||
|
||||
void DocumentModel::slotActiveObject(const Gui::ViewProviderDocumentObject& obj)
|
||||
{
|
||||
Q_UNUSED(obj);
|
||||
Q_UNUSED(obj);
|
||||
// do nothing here because this is automatically done by calling
|
||||
// ViewProviderIndex::data()
|
||||
}
|
||||
@@ -665,7 +665,7 @@ int DocumentModel::rowCount (const QModelIndex & parent) const
|
||||
|
||||
QVariant DocumentModel::headerData (int section, Qt::Orientation orientation, int role) const
|
||||
{
|
||||
Q_UNUSED(section);
|
||||
Q_UNUSED(section);
|
||||
if (orientation == Qt::Horizontal) {
|
||||
if (role != Qt::DisplayRole)
|
||||
return QVariant();
|
||||
|
||||
Reference in New Issue
Block a user