43 void setValue(
const T& value ) { value_ = value; }
92 void setFieldsPerLine(
int count );
95 int length()
const {
return textLineDataList_.length(); }
100 Change* createLinesReplacedChange(
int lineStart,
int lineCount,
int newLineCount );
104 void fillWithEmpty(
int line,
int length,
int newLength );
105 void replace(
int line,
int length,
TextLineDataList** items,
int newLength );
112 void destroyRange(
int line,
int length );
121 void lineDataChanged(
int line,
int length,
int newLength );
TextLineDataPredefinedFields
Definition: textlinedata.h:15
This class is used to define a gap vector. A Gapvector is split in 2 parts. where the gap is moved to...
Definition: gapvector.h:19
int fieldsPerLine()
returns the number of items per line
Definition: textlinedata.h:91
TextLineData * at(TextLineDataManager *manager, int field)
This method returns the given data item /.
Definition: textlinedata.cpp:75
GapVector< TextLineDataList * > * textLineDataList()
internal method for direct accesss
Definition: textlinedata.h:108
BasicTextLineData< QString > QStringTextLineData
Definition: textlinedata.h:49
This manager manages all line definitions.
Definition: textlinedata.h:75
a simple class to store a QString in a line
Definition: textlinedata.h:38
BasicTextLineData(const T &val)
Definition: textlinedata.h:41
TextLineData()
Definition: textlinedata.h:31
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: commentcommand.cpp:22
TextLineDataList * at(int idx) const
returns the textline data list item
Definition: textlinedata.h:97
A basic change.
Definition: change.h:18
the line data items
Definition: textlinedata.h:55
int length() const
returns the number of items
Definition: textlinedata.h:95
T value()
Definition: textlinedata.h:42
Definition: textlinedata.h:18
Definition: textlinedata.h:16
void setValue(const T &value)
Definition: textlinedata.h:43
A text line item reference.
Definition: textlinedata.h:28
#define give(key, command)
Definition: factorycommandmap.cpp:30
virtual ~TextLineData()
Definition: textlinedata.h:32