Exemplo n.º 1
0
std::string HippoGridInfo::getDirectoryFee() const
{
    std::string fee;
    formatFee(fee, mDirectoryFee, true);
    if (fee != "free") fee += "/week";
    return fee;
}
std::string HippoGridInfo::getDirectoryFee() const
{
	std::string fee;
	formatFee(fee, mDirectoryFee, true);
	if (fee != LLTrans::getString("hippo_label_free")) fee += "/" + LLTrans::getString("hippo_label_week");
	return fee;
}
Exemplo n.º 3
0
std::string HippoGridInfo::getGroupCreationFee() const
{
    std::string fee;
    formatFee(fee, LLGlobalEconomy::Singleton::getInstance()->getPriceGroupCreate(), false);
    return fee;
}
Exemplo n.º 4
0
std::string HippoGridInfo::getUploadFee() const
{
    std::string fee;
    formatFee(fee, LLGlobalEconomy::Singleton::getInstance()->getPriceUpload(), true);
    return fee;
}
Exemplo n.º 5
0
// Calling this function will return the maximum number of decimals for a fee.
QString BitcoinUnits::formatWithUnitFee(int unit, qint64 amount, bool plussign)
{
    return formatFee(unit, amount, plussign) + QString(" ") + name(unit);
}