--===============8373062094324129952== Content-Type: multipart/alternative; boundary="===============1507537499407874089==" --===============1507537499407874089== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/105044/#review14271 ----------------------------------------------------------- This review has been submitted with commit d3c67d32b9799ea3383e771732277625= 30f67384 by Aur=C3=A9lien G=C3=A2teau to branch master. - Commit Hook On May 25, 2012, 3:12 p.m., Aur=C3=A9lien G=C3=A2teau wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/105044/ > ----------------------------------------------------------- > = > (Updated May 25, 2012, 3:12 p.m.) > = > = > Review request for Plasma. > = > = > Description > ------- > = > When using a SortFilterModel, it is useful to be able to get the row of t= he source model. These two simple methods are the row-equivalents of the QM= odelIndex-oriented mapToSource() and mapFromSource() methods. > = > = > Diffs > ----- > = > plasma/declarativeimports/core/datamodel.h 780ea61 = > plasma/declarativeimports/core/datamodel.cpp 97d129e = > = > Diff: http://git.reviewboard.kde.org/r/105044/diff/ > = > = > Testing > ------- > = > - Download map-to-source.{cpp,pro,qml} > - qmake ; make > - run ./map-to-source =3D> type in the input field, the row number of the= source model matching the first visible row will be printed on stdout > = > = > Thanks, > = > Aur=C3=A9lien G=C3=A2teau > = > --===============1507537499407874089== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
This is an automatically generated e-mail. To reply, visit: http://git.revie= wboard.kde.org/r/105044/

This revie=
w has been submitted with commit d3c67d32b9799ea3383e77173227762530f67384 b=
y Aur=C3=A9lien G=C3=A2teau to branch master.

- Commit


On May 25th, 2012, 3:12 p.m., Aur=C3=A9lien G=C3=A2teau wrote:

Review request for Plasma.
By Aur=C3=A9lien G=C3=A2teau.

Updated May 25, 2012, 3:12 p.m.

Descripti= on

When using a SortFilterModel, it is useful to be able to get=
 the row of the source model. These two simple methods are the row-equivale=
nts of the QModelIndex-oriented mapToSource() and mapFromSource() methods.<=
/pre>
  

Testing <= /h1>
- Download map-to-source.{cpp,pro,qml}
- qmake ; make
- run ./map-to-source =3D> type in the input field, the row number of th=
e source model matching the first visible row will be printed on stdout
  

Diffs=

  • plasma/declarativeimports/core/datamodel.h (780ea61)
  • plasma/declarativeimports/core/datamodel.cpp (97d129e)

View Diff

--===============1507537499407874089==-- --===============8373062094324129952== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============8373062094324129952==--