blob: 8ece765091257880b6cc91fd44437ef120d6f658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "document.h"
void Document::setText(const QString &text)
{
if (text == m_text)
return;
m_text = text;
emit textChanged(m_text);
}
|