diff --git a/src/TerminalCharacterDecoder.cpp b/src/TerminalCharacterDecoder.cpp index 2278c689..d3ad814a 100644 --- a/src/TerminalCharacterDecoder.cpp +++ b/src/TerminalCharacterDecoder.cpp @@ -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; diff --git a/src/TerminalCharacterDecoder.h b/src/TerminalCharacterDecoder.h index 77eee7d4..394067e7 100644 --- a/src/TerminalCharacterDecoder.h +++ b/src/TerminalCharacterDecoder.h @@ -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