mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2020-11-22 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SYSTEM.ORIGIN_EMAIL_ADDRESS' field to the database. * Added a 'GROUPS.NOTIFY_EMAIL_ADDRESS' field to the database. * Incremented the database version to 344. * Added an 'Origin E-Mail Address' control to the 'System-Wide Settings' dialog in rdadmin(1). * Added a 'Notification E-Mail Addresses' control to the 'Group' dialog in rdadmin(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -241,6 +241,19 @@ void RDGroup::setColor(const QColor &color)
|
||||
}
|
||||
|
||||
|
||||
QString RDGroup::notifyEmailAddress() const
|
||||
{
|
||||
return RDGetSqlValue("GROUPS","NAME",group_name,"NOTIFY_EMAIL_ADDRESS").
|
||||
toString();
|
||||
}
|
||||
|
||||
|
||||
void RDGroup::setNotifyEmailAddress(const QString &addr) const
|
||||
{
|
||||
SetRow("NOTIFY_EMAIL_ADDRESS",addr);
|
||||
}
|
||||
|
||||
|
||||
unsigned RDGroup::nextFreeCart(unsigned startcart) const
|
||||
{
|
||||
return GetNextFreeCart(startcart);
|
||||
|
||||
Reference in New Issue
Block a user