mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 23:45:09 -04:00
Remove leading/trailingWhitespace() - they were never used
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user