Skip to content

Commit

Permalink
Mark classes as private
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 22, 2023
1 parent 2f24a62 commit 5d204d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/history/qgshistoryentrymodel.cpp
Expand Up @@ -23,6 +23,7 @@

#include <QIcon>

///@cond PRIVATE
class QgsHistoryEntryRootNode : public QgsHistoryEntryGroup
{
public:
Expand Down Expand Up @@ -77,6 +78,7 @@ class QgsHistoryEntryDateGroupNode : public QgsHistoryEntryGroup
QString mKey;

};
///@endcond

QgsHistoryEntryModel::QgsHistoryEntryModel( const QString &providerId, Qgis::HistoryProviderBackends backends, QgsHistoryProviderRegistry *registry, QObject *parent )
: QAbstractItemModel( parent )
Expand Down Expand Up @@ -286,7 +288,7 @@ QModelIndex QgsHistoryEntryModel::indexOfParentNode( QgsHistoryEntryNode *parent
//
// QgsHistoryEntryRootNode
//

///@cond PRIVATE
QVariant QgsHistoryEntryRootNode::data( int ) const
{
return QVariant();
Expand Down Expand Up @@ -394,3 +396,4 @@ QgsHistoryEntryDateGroupNode *QgsHistoryEntryRootNode::dateNode( const QDateTime

return node;
}
///@endcond PRIVATE
3 changes: 3 additions & 0 deletions src/gui/history/qgshistorywidget.cpp
Expand Up @@ -75,6 +75,8 @@ void QgsHistoryWidget::currentItemChanged( const QModelIndex &selected, const QM
//
// QgsHistoryEntryProxyModel
//

///@cond PRIVATE
QgsHistoryEntryProxyModel::QgsHistoryEntryProxyModel( QObject *parent )
: QSortFilterProxyModel( parent )
{
Expand Down Expand Up @@ -106,3 +108,4 @@ bool QgsHistoryEntryProxyModel::filterAcceptsRow( int source_row, const QModelIn
}
return true;
}
///@endcond PRIVATE

0 comments on commit 5d204d8

Please sign in to comment.