Remove unused settings for removed old time ago Community page.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-09-01 17:15:12 +03:00
parent dd83877a73
commit 0a5035c5b3
2 changed files with 0 additions and 161 deletions

View File

@ -55,17 +55,6 @@ const QString settingPatternGraphicalOutput = QStringLiteral("pattern/graphica
const QString settingPatternKnownMaterials = QStringLiteral("pattern/knownMaterials"); const QString settingPatternKnownMaterials = QStringLiteral("pattern/knownMaterials");
const QString settingPatternRememberMaterials = QStringLiteral("pattern/rememberMaterials"); const QString settingPatternRememberMaterials = QStringLiteral("pattern/rememberMaterials");
const QString settingCommunityServer = QStringLiteral("community/server");
const QString settingCommunityServerSecure = QStringLiteral("community/serverSecure");
const QString settingCommunityUseProxy = QStringLiteral("community/useProxy");
const QString settingCommunityProxyAddress = QStringLiteral("community/proxyAddress");
const QString settingCommunityProxyPort = QStringLiteral("community/proxyPort");
const QString settingCommunityProxyUser = QStringLiteral("community/proxyUser");
const QString settingCommunityProxyPass = QStringLiteral("community/proxyPass");
const QString settingCommunityUsername = QStringLiteral("community/username");
const QString settingCommunitySavePassword = QStringLiteral("community/savePassword");
const QString settingCommunityUserPassword = QStringLiteral("community/userpassword");
const QString settingLayoutWidth = QStringLiteral("layout/width"); const QString settingLayoutWidth = QStringLiteral("layout/width");
const QString settingLayoutSorting = QStringLiteral("layout/sorting"); const QString settingLayoutSorting = QStringLiteral("layout/sorting");
const QString settingLayoutPaperHeight = QStringLiteral("layout/paperHeight"); const QString settingLayoutPaperHeight = QStringLiteral("layout/paperHeight");
@ -157,126 +146,6 @@ void VSettings::SetGraphicalOutput(const bool &value)
setValue(settingPatternGraphicalOutput, value); setValue(settingPatternGraphicalOutput, value);
} }
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetServer() const
{
return value(settingCommunityServer, "community.valentina-project.org").toString();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetServer(const QString &value)
{
setValue(settingCommunityServer, value);
}
//---------------------------------------------------------------------------------------------------------------------
bool VSettings::GetServerSecure() const
{
return value(settingCommunityServerSecure, 0).toBool();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetServerSecure(const bool &value)
{
setValue(settingCommunityServerSecure, value);
}
//---------------------------------------------------------------------------------------------------------------------
bool VSettings::GetProxy() const
{
return value(settingCommunityUseProxy, 0).toBool();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetProxy(const bool &value)
{
setValue(settingCommunityUseProxy, value);
}
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetProxyAddress() const
{
return value(settingCommunityProxyAddress).toString();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetProxyAddress(const QString &value)
{
setValue(settingCommunityProxyAddress, value);
}
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetProxyPort() const
{
return value(settingCommunityProxyPort).toString();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetProxyPort(const QString &value)
{
setValue(settingCommunityProxyPort, value);
}
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetProxyUser() const
{
return value(settingCommunityProxyUser).toString();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetProxyUser(const QString &value)
{
setValue(settingCommunityProxyUser, value);
}
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetProxyPass() const
{
return value(settingCommunityProxyPass).toString();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetProxyPass(const QString &value)
{
setValue(settingCommunityProxyPass, value);
}
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetUsername() const
{
return value(settingCommunityUsername).toString();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetUsername(const QString &value)
{
setValue(settingCommunityUsername, value);
}
//---------------------------------------------------------------------------------------------------------------------
bool VSettings::GetSavePassword() const
{
return value(settingCommunitySavePassword, 0).toBool();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetSavePassword(const bool &value)
{
setValue(settingCommunitySavePassword, value);
}
//---------------------------------------------------------------------------------------------------------------------
QString VSettings::GetUserPassword() const
{
return value(settingCommunityUserPassword).toString();
}
//---------------------------------------------------------------------------------------------------------------------
void VSettings::SetUserPassword(const QString &value)
{
setValue(settingCommunityUserPassword, value);
}
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
qreal VSettings::GetLayoutPaperHeight() const qreal VSettings::GetLayoutPaperHeight() const
{ {

View File

@ -67,36 +67,6 @@ public:
bool GetGraphicalOutput() const; bool GetGraphicalOutput() const;
void SetGraphicalOutput(const bool &value); void SetGraphicalOutput(const bool &value);
QString GetServer() const;
void SetServer(const QString &value);
bool GetServerSecure() const;
void SetServerSecure(const bool &value);
bool GetProxy() const;
void SetProxy(const bool &value);
QString GetProxyAddress() const;
void SetProxyAddress(const QString &value);
QString GetProxyPort() const;
void SetProxyPort(const QString &value);
QString GetProxyUser() const;
void SetProxyUser(const QString &value);
QString GetProxyPass() const;
void SetProxyPass(const QString &value);
QString GetUsername() const;
void SetUsername(const QString &value);
bool GetSavePassword() const;
void SetSavePassword(const bool &value);
QString GetUserPassword() const;
void SetUserPassword(const QString &value);
// Layout settings // Layout settings
qreal GetLayoutPaperHeight() const; qreal GetLayoutPaperHeight() const;
void SetLayoutPaperHeight(qreal value); void SetLayoutPaperHeight(qreal value);