Branding::style is now ::styleString for clarity.

main
Teo Mrnjavac 10 years ago
parent 9615691554
commit cc5095781d

@ -208,6 +208,13 @@ Branding::string( Branding::StringEntry stringEntry ) const
}
QString
Branding::styleString( Branding::StyleEntry styleEntry ) const
{
return m_style.value( s_styleEntryStrings.value( styleEntry ) );
}
QString
Branding::imagePath( Branding::ImageEntry imageEntry ) const
{
@ -236,12 +243,6 @@ Branding::slideshowPath() const
return m_slideshowPath;
}
QString
Branding::style( Branding::StyleEntry styleEntry ) const
{
return m_style.value( s_styleEntryStrings.value( styleEntry ) );
}
void
Branding::setGlobals( GlobalStorage* globalStorage ) const

@ -70,10 +70,10 @@ public:
QString componentDirectory() const;
QString string( Branding::StringEntry stringEntry ) const;
QString styleString( Branding::StyleEntry styleEntry ) const;
QString imagePath( Branding::ImageEntry imageEntry ) const;
QPixmap image( Branding::ImageEntry imageEntry, const QSize& size ) const;
QString slideshowPath() const;
QString style( Branding::StyleEntry styleEntry ) const;
/**
* Creates a map called "branding" in the global storage, and inserts an

Loading…
Cancel
Save