Commit 9c19368c authored by Kurt Hindenburg's avatar Kurt Hindenburg

Remove leading/trailingWhitespace() - they were never used

parent d0ae5983
......@@ -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;
......
......@@ -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
......
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