Commit 19f36ebf authored by Tim Jenssen's avatar Tim Jenssen Committed by Christian Stenger
Browse files

rename selectOrDeselectAll to changeCheckStateAll



Change-Id: I78e700734e2b5ec6bad31df71419bbc1a8b1b3c8
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 59a4999d
......@@ -243,16 +243,16 @@ TestTreeView::TestTreeView(QWidget *parent)
void TestTreeView::selectAll()
{
selectOrDeselectAll(Qt::Checked);
changeCheckStateAll(Qt::Checked);
}
void TestTreeView::deselectAll()
{
selectOrDeselectAll(Qt::Unchecked);
changeCheckStateAll(Qt::Unchecked);
}
// this avoids the re-evaluation of parent nodes when modifying the child nodes (setData())
void TestTreeView::selectOrDeselectAll(const Qt::CheckState checkState)
void TestTreeView::changeCheckStateAll(const Qt::CheckState checkState)
{
const TestTreeModel *model = TestTreeModel::instance();
......
......@@ -51,7 +51,7 @@ public:
void deselectAll();
private:
void selectOrDeselectAll(const Qt::CheckState checkState);
void changeCheckStateAll(const Qt::CheckState checkState);
Core::IContext *m_context;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment