Bug 157305 - the method readLine() in File class does not work
Summary: the method readLine() in File class does not work
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-07 02:25 UTC by Yiwen Mao
Modified: 2008-02-07 04:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiwen Mao 2008-02-07 02:25:38 UTC
Version:           1.6.0 (using KDE 3.5.3)
OS:                Linux

When the method readLine()in File class is being called, it asks for a signle argument, but the method definition in File class doesn't require any argument.
Comment 1 Andrew Walker 2008-02-07 04:04:57 UTC
SVN commit 771860 by arwalker:

CCBUG:157305 update documentation

 M  +10 -7     bind_file.cpp  
 M  +4 -2      bind_file.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=771860
Comment 2 Andrew Walker 2008-02-07 04:05:08 UTC
The documentation has been clarified.

A sample code snippet would be:

f=new File("test.dat")
f.open()
f.readLine()