mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: add binding for KLocale::toLocale() method
requires e4a7b266fe5a266c76b00513314540b2172927d6 from kdelibs to function properly Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
efe25546a1
commit
ee10c1a6c3
2 changed files with 7 additions and 0 deletions
|
@ -172,3 +172,8 @@ void Locale::reparseConfiguration()
|
|||
{
|
||||
m_locale->reparseConfiguration();
|
||||
}
|
||||
|
||||
QLocale Locale::toLocale() const
|
||||
{
|
||||
return m_locale->toLocale();
|
||||
}
|
||||
|
|
|
@ -135,6 +135,8 @@ public:
|
|||
|
||||
Q_INVOKABLE void reparseConfiguration();
|
||||
|
||||
Q_INVOKABLE QLocale toLocale() const;
|
||||
|
||||
private:
|
||||
KLocale *m_locale;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue