--===============0777947345== Content-Type: multipart/signed; boundary="nextPart2702296.UYAauCQIiY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2702296.UYAauCQIiY Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Am Mittwoch 27 Mai 2009 00:29:21 schrieb Matthew Woehlke: > Stefan Majewsky wrote: > > I'm about to combine both parts into a UndoStack implementation for Kol= f. > > As this will be done in a very generic way, I would like to ask if > > anyone's interested to get this stuff into kdelibs. The nice thing about > > what I'm planning is that it allows easy persistency through writing the > > complete UndoStack into a KConfigBase instance. > > To risk a dumb question, would this be useful for file/web browsing > histories? Having a standard class to save history sounds like an > awesome idea... It should be applicable. The framework I sketched should be compatible with= =20 any object that is well represented by a simple bunch of properties, and a= =20 history entry seems to be nothing more than a "tuple" of (name, url, commen= t,=20 rating, ...). > Oh, and... kpat desperately needs this for saved games :-). Maybe not so > much for user enjoyment, but it would really help in some cases for > saved games in bug reports. Should also be possible, if you apply it on a bunch of card objects with=20 properties suit, position, etc. You can have a look at the code already, it's in trunk/playground/games/kol= f- ng/engine/*state*, but note that the documentation is not very extensive an= d=20 that saving the complete undo stack is not yet implemented. (It currently=20 saves just the current states, but the extension to the complete stack shou= ld=20 be trivial once I come to it.) Greetings Stefan --nextPart2702296.UYAauCQIiY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkoc9VgACgkQ3trDvSmezKjDdgCglk1znob4qSXRtJLMJYACGYIJ KTAAn3scG5thECjRgT/6Bg/hDZ7k8LRc =gUEG -----END PGP SIGNATURE----- --nextPart2702296.UYAauCQIiY-- --===============0777947345== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0777947345==--