KLDumpDevice Class Reference

[KLE Index] [KLE Hierarchy] [Headers]


Dump device for Layouts More...

#include <klelib/klchildmeta.h>

Inherits: QTextStream

Public Members


Detailed Description

Dump device for Layouts.

NOTE: The actual implementation is not very optimal. Itīs a quick maked and slow runing implementation. Should be replaced by something more optimized in future. So forget about performance at the moment.


bool readLine( QString &string, ulong &line, ulong &level) [public]

Helper: Iterate through the line list of one level. Start at line. Level must be initaliesed at start to 0.

You can use this in a while-construct to get all lines of one level

QString linestr; ulong line = 0, level = 0; while( dev.readLine(linestr,line,level) ) { // Do whatever you want with linestr }

QString readEntry(const char *entryname, const char *def) [public]

Read an Entry in the form of

KEY=data

QString readEntryConv(const char *entryname, const char *def) [public]

Same as readEntry(). It only converts \n and \t in the data.

void *appenv[public]

Must be set when reading


Documentation generated by emmy@gate on Tue Sep 22 21:13:27 MEST 1998
Kdoc