Commit d9942273 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Less one-liner definitions for class methods .

This really hurts readability, especially when they appear successively.
parent 976077e3
......@@ -110,11 +110,30 @@ void HistorySizeDialog::emitOptionsChanged()
emit optionsChanged( mode() , lineCount(), saveToCurrentProfile() );
}
void HistorySizeDialog::setDefaultMode( HistoryMode mode ) { _defaultMode = mode; }
HistorySizeDialog::HistoryMode HistorySizeDialog::defaultMode() const { return _defaultMode; }
void HistorySizeDialog::setDefaultLineCount( int count ) { _defaultLineCount = count; }
int HistorySizeDialog::defaultLineCount() const { return _defaultLineCount; }
bool HistorySizeDialog::saveToCurrentProfile() const { return _saveToCurrentProfileButton->isChecked(); }
void HistorySizeDialog::setDefaultMode( HistoryMode mode )
{
_defaultMode = mode;
}
HistorySizeDialog::HistoryMode HistorySizeDialog::defaultMode() const
{
return _defaultMode;
}
void HistorySizeDialog::setDefaultLineCount( int count )
{
_defaultLineCount = count;
}
int HistorySizeDialog::defaultLineCount() const
{
return _defaultLineCount;
}
bool HistorySizeDialog::saveToCurrentProfile() const
{
return _saveToCurrentProfileButton->isChecked();
}
void HistorySizeDialog::useDefaults()
{
......
Supports Markdown
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