From kde-devel Sun May 30 01:21:37 2004 From: Pupeno Date: Sun, 30 May 2004 01:21:37 +0000 To: kde-devel Subject: file seeking Message-Id: <200405292221.39875.pupeno () pupeno ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=108588006801072 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Do you know of a nice way of doing file seeking ? I need to perform this operations: 1) Get how many lines a text file has. 2) Read line N. I see that QIODevice can do seeking, but it's a bit 'raw' (it doesn't work with 'lines'), any other method ? I'm trying to implement a kind of graphical 'tail'. Thanks. - -- Pupeno: pupeno@pupeno.com - http://www.pupeno.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAuTcjfW48a9PWGkURAp0iAJ0cSxZ9KcNCmpMcmWWiKAvb5CmUpQCfZ2CH SwG3MGXiXDy+lTmWhjkWUkk= =PPvW -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<