----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115284/#review48195 -----------------------------------------------------------
err, this is actually a qml binding for a class in a framework that is external from plasma. I can already see random applications doing their own binding because of not wanting to depend from plasma core being in kcoreaddons, the "right" way, should be really to do an import for kcoreaddons in its framework - Marco Martin On Jan. 24, 2014, 11:28 a.m., Bhushan Shah wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/115284/ > ----------------------------------------------------------- > > (Updated Jan. 24, 2014, 11:28 a.m.) > > > Review request for Plasma. > > > Repository: plasma-framework > > > Description > ------- > > In Plasma1 KLocale wrapper was used to format different things like duration, > it was removed and also KLocale was split up so here is KFormat wrapper to > use this methods. > > I found no better place then qtextracomponents, should be different import? > > > Diffs > ----- > > src/declarativeimports/core/CMakeLists.txt 71f2cb3 > src/declarativeimports/core/corebindingsplugin.cpp acc7cb7 > src/declarativeimports/core/formats.h PRE-CREATION > src/declarativeimports/core/formats.cpp PRE-CREATION > > Diff: https://git.reviewboard.kde.org/r/115284/diff/ > > > Testing > ------- > > Tested formatDuration in battery monitor. > > > Thanks, > > Bhushan Shah > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel