From kde-panel-devel Mon Jun 30 22:18:27 2008 From: "Aaron J. Seigo" Date: Mon, 30 Jun 2008 22:18:27 +0000 To: kde-panel-devel Subject: Re: update or repaint() slot in plasmoid and qtimer question Message-Id: <200806301618.28118.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=121486352013851 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0949753012==" --===============0949753012== Content-Type: multipart/signed; boundary="nextPart1672561.nNfx686X3C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1672561.nNfx686X3C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 30 June 2008, Aaron J. Seigo wrote: > dataEngine("systemmonitor")->connectSource("cpu/cpu0/clock", this, 1000); or for even MORE magic: QGraphicsLinearLayout *layout =3D new QGraphicsLinearLayout(this); Plasma::Label *label =3D new Plasma::Label(this); layout->addItem(label); dataEngine("systemmonitor")->connectSource("cpu/cpu0/clock", label, 1000); and you're done. =2D-=20 Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Trolltech --nextPart1672561.nNfx686X3C Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBIaVu01rcusafx20MRAklwAJ9D1EeQ+FyRh1oR8Q4wouD2zB4AQgCfboki Yd/rItYMvfUS+D84R240VZk= =ooGR -----END PGP SIGNATURE----- --nextPart1672561.nNfx686X3C-- --===============0949753012== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Panel-devel mailing list Panel-devel@kde.org https://mail.kde.org/mailman/listinfo/panel-devel --===============0949753012==--