--===============1385684759== Content-Type: multipart/signed; boundary="nextPart9403078.6lf97GsNWg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart9403078.6lf97GsNWg Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Wednesday, 2010-06-09, Ingo Kl=F6cker wrote: > On Wednesday 09 June 2010, Kevin Krammer wrote: > > On Wednesday, 2010-06-09, Casey Link wrote: > > > > I'm trying to do it without modifying > > > > Akonadi::AgentInstanceWidget, > > >=20 > > > My solution is to create a ProxyModel in front of > > > Akonadi::AgentInstanceModel that adds an extra column(s) to display > > > a checkbox(es) in. > > >=20 > > > As it turns out Akonadi::AgentInstanceWidget is using a QListView, > > > which means the extra columns will not appear. > > >=20 > > > There are a couple possible solutions here: > > >=20 > > > 1) Make the Akonadi::AgentInstanceWidget view configurable i.e., > > > add a setView() method > > >=20 > > > 2) Create a separate view/widget that uses a QTableView to use in > > > the Configure Dialog > > >=20 > > > I can think of a couple other use cases where an app might want > > > some custom columns/actions tacked on to the AgentInstanceModel, > > > but is it worth putting in kdepimlibs Akonadi lib? > > >=20 > > > In the meantime I'll implement on #2, which could easily be > > > refactored later into a generic kdepimlibs widget. > >=20 > > Cool! > >=20 > > I think this might also help to with our discussion of the shutdown > > issue. > >=20 > > While it is of course still bad to have one application influence the > > online/offline state of resources, very visible options for > > configuring that could make this acceptable. > >=20 > > I imagine that each resource in KMail has three additional options: > >=20 > > - Include in startup checks (maybe default to false) > > - Include in manual cheks (default to true) > > - Switch to offline on shutdown (default to false) >=20 > "Switch to offline on shutdown" will obviously fail if KMail crashes. > But I suppose this problem is acceptable. Right. Most users will restart KMail after it crashes or logout and be done for th= e=20 day. Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart9403078.6lf97GsNWg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMD9mSnKMhG6pzZJIRAnwmAJ9oPuvwgWbjBGP5RAJEeub+Ki0KzwCcClG1 IXk09TpIY1SKhgFWZpxiL7Q= =i4f5 -----END PGP SIGNATURE----- --nextPart9403078.6lf97GsNWg-- --===============1385684759== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KDE PIM mailing list kde-pim@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/ --===============1385684759==--