[welcome] Order get/setters consistently

- code styling OCD, all the other ones are get, then set
- getters can be in the header, they're boring
This commit is contained in:
Adriaan de Groot 2020-04-30 16:51:45 +02:00
parent 22e64d8c18
commit 4786a91eb8
2 changed files with 5 additions and 29 deletions

View File

@ -191,12 +191,6 @@ Config::setIsNextEnabled( bool isNextEnabled )
emit isNextEnabledChanged( m_isNextEnabled );
}
QString
Config::donateUrl() const
{
return m_donateUrl;
}
void
Config::setDonateUrl( const QString& url )
{
@ -204,12 +198,6 @@ Config::setDonateUrl( const QString& url )
emit donateUrlChanged();
}
QString
Config::knownIssuesUrl() const
{
return m_knownIssuesUrl;
}
void
Config::setKnownIssuesUrl( const QString& url )
{
@ -224,18 +212,6 @@ Config::setReleaseNotesUrl( const QString& url )
emit releaseNotesUrlChanged();
}
QString
Config::releaseNotesUrl() const
{
return m_releaseNotesUrl;
}
QString
Config::supportUrl() const
{
return m_supportUrl;
}
void
Config::setSupportUrl( const QString& url )
{

View File

@ -59,19 +59,19 @@ public:
void setIsNextEnabled( bool isNextEnabled );
void setLocaleIndex( int index );
int localeIndex() const { return m_localeIndex; }
void setLocaleIndex( int index );
QString supportUrl() const;
QString supportUrl() const { return m_supportUrl; }
void setSupportUrl( const QString& url );
QString knownIssuesUrl() const;
QString knownIssuesUrl() const { return m_knownIssuesUrl; }
void setKnownIssuesUrl( const QString& url );
QString releaseNotesUrl() const;
QString releaseNotesUrl() const { return m_releaseNotesUrl; }
void setReleaseNotesUrl( const QString& url );
QString donateUrl() const;
QString donateUrl() const { return m_donateUrl; }
void setDonateUrl( const QString& url );
QString genericWelcomeMessage() const;