[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:
parent
22e64d8c18
commit
4786a91eb8
@ -191,12 +191,6 @@ Config::setIsNextEnabled( bool isNextEnabled )
|
|||||||
emit isNextEnabledChanged( m_isNextEnabled );
|
emit isNextEnabledChanged( m_isNextEnabled );
|
||||||
}
|
}
|
||||||
|
|
||||||
QString
|
|
||||||
Config::donateUrl() const
|
|
||||||
{
|
|
||||||
return m_donateUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Config::setDonateUrl( const QString& url )
|
Config::setDonateUrl( const QString& url )
|
||||||
{
|
{
|
||||||
@ -204,12 +198,6 @@ Config::setDonateUrl( const QString& url )
|
|||||||
emit donateUrlChanged();
|
emit donateUrlChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString
|
|
||||||
Config::knownIssuesUrl() const
|
|
||||||
{
|
|
||||||
return m_knownIssuesUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Config::setKnownIssuesUrl( const QString& url )
|
Config::setKnownIssuesUrl( const QString& url )
|
||||||
{
|
{
|
||||||
@ -224,18 +212,6 @@ Config::setReleaseNotesUrl( const QString& url )
|
|||||||
emit releaseNotesUrlChanged();
|
emit releaseNotesUrlChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString
|
|
||||||
Config::releaseNotesUrl() const
|
|
||||||
{
|
|
||||||
return m_releaseNotesUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString
|
|
||||||
Config::supportUrl() const
|
|
||||||
{
|
|
||||||
return m_supportUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Config::setSupportUrl( const QString& url )
|
Config::setSupportUrl( const QString& url )
|
||||||
{
|
{
|
||||||
|
@ -59,19 +59,19 @@ public:
|
|||||||
|
|
||||||
void setIsNextEnabled( bool isNextEnabled );
|
void setIsNextEnabled( bool isNextEnabled );
|
||||||
|
|
||||||
void setLocaleIndex( int index );
|
|
||||||
int localeIndex() const { return m_localeIndex; }
|
int localeIndex() const { return m_localeIndex; }
|
||||||
|
void setLocaleIndex( int index );
|
||||||
|
|
||||||
QString supportUrl() const;
|
QString supportUrl() const { return m_supportUrl; }
|
||||||
void setSupportUrl( const QString& url );
|
void setSupportUrl( const QString& url );
|
||||||
|
|
||||||
QString knownIssuesUrl() const;
|
QString knownIssuesUrl() const { return m_knownIssuesUrl; }
|
||||||
void setKnownIssuesUrl( const QString& url );
|
void setKnownIssuesUrl( const QString& url );
|
||||||
|
|
||||||
QString releaseNotesUrl() const;
|
QString releaseNotesUrl() const { return m_releaseNotesUrl; }
|
||||||
void setReleaseNotesUrl( const QString& url );
|
void setReleaseNotesUrl( const QString& url );
|
||||||
|
|
||||||
QString donateUrl() const;
|
QString donateUrl() const { return m_donateUrl; }
|
||||||
void setDonateUrl( const QString& url );
|
void setDonateUrl( const QString& url );
|
||||||
|
|
||||||
QString genericWelcomeMessage() const;
|
QString genericWelcomeMessage() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user