Bug 157305

Summary: the method readLine() in File class does not work
Product: [Applications] kst Reporter: Yiwen Mao <yiwenv>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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()