Remove leading/trailingWhitespace() - they were never used

This commit is contained in:
Kurt Hindenburg
2019-08-28 11:06:22 -04:00
parent d0ae598348
commit 9c19368ce5
2 changed files with 0 additions and 18 deletions

View File

@@ -44,18 +44,10 @@ void PlainTextDecoder::setLeadingWhitespace(bool enable)
{
_includeLeadingWhitespace = enable;
}
bool PlainTextDecoder::leadingWhitespace() const
{
return _includeLeadingWhitespace;
}
void PlainTextDecoder::setTrailingWhitespace(bool enable)
{
_includeTrailingWhitespace = enable;
}
bool PlainTextDecoder::trailingWhitespace() const
{
return _includeTrailingWhitespace;
}
void PlainTextDecoder::begin(QTextStream* output)
{
_output = output;

View File

@@ -81,22 +81,12 @@ public:
* Defaults to true.
*/
void setLeadingWhitespace(bool enable);
/**
* Returns whether leading whitespace at the end of lines is included
* in the output.
*/
bool leadingWhitespace() const;
/**
* Set whether trailing whitespace at the end of lines should be included
* in the output.
* Defaults to true.
*/
void setTrailingWhitespace(bool enable);
/**
* Returns whether trailing whitespace at the end of lines is included
* in the output.
*/
bool trailingWhitespace() const;
/**
* Returns of character positions in the output stream
* at which new lines where added. Returns an empty if setTrackLinePositions() is false or if