mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 14:46:07 -04:00
Removing QColor (from Qt::Widgets) from core modules. (#4247)
This commit is contained in:
parent
8bac8a7163
commit
c8ab3b5f4f
15 changed files with 47 additions and 97 deletions
|
@ -208,12 +208,12 @@ const QUuid& Entry::iconUuid() const
|
|||
return m_data.customIcon;
|
||||
}
|
||||
|
||||
QColor Entry::foregroundColor() const
|
||||
QString Entry::foregroundColor() const
|
||||
{
|
||||
return m_data.foregroundColor;
|
||||
}
|
||||
|
||||
QColor Entry::backgroundColor() const
|
||||
QString Entry::backgroundColor() const
|
||||
{
|
||||
return m_data.backgroundColor;
|
||||
}
|
||||
|
@ -508,14 +508,14 @@ void Entry::setIcon(const QUuid& uuid)
|
|||
}
|
||||
}
|
||||
|
||||
void Entry::setForegroundColor(const QColor& color)
|
||||
void Entry::setForegroundColor(const QString& colorStr)
|
||||
{
|
||||
set(m_data.foregroundColor, color);
|
||||
set(m_data.foregroundColor, colorStr);
|
||||
}
|
||||
|
||||
void Entry::setBackgroundColor(const QColor& color)
|
||||
void Entry::setBackgroundColor(const QString& colorStr)
|
||||
{
|
||||
set(m_data.backgroundColor, color);
|
||||
set(m_data.backgroundColor, colorStr);
|
||||
}
|
||||
|
||||
void Entry::setOverrideUrl(const QString& url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue