42class KTEXTEDITOR_EXPORT MarkInterface
44 friend class PrivateMarkInterface;
48 virtual ~MarkInterface ();
50 unsigned int markInterfaceNumber ()
const;
53 void setMarkInterfaceDCOPSuffix (
const TQCString &suffix);
62 virtual uint
mark (uint line) = 0;
68 virtual void setMark (uint line, uint markType) = 0;
74 virtual void addMark (uint line, uint markType) = 0;
83 virtual TQPtrList<KTextEditor::Mark>
marks () = 0;
133 markType21= 0x100000,
134 markType22= 0x200000,
135 markType23= 0x400000,
136 markType24= 0x800000,
137 markType25= 0x1000000,
138 markType26= 0x2000000,
139 markType27= 0x4000000,
140 markType28= 0x8000000,
141 markType29= 0x10000000,
142 markType30= 0x20000000,
143 markType31= 0x40000000,
144 markType32= 0x80000000,
159 virtual void marksChanged () = 0;
162 class PrivateMarkInterface *d;
163 static unsigned int globalMarkInterfaceNumber;
164 unsigned int myMarkInterfaceNumber;
static int reservedMarkersCount()
get the number of predefined marker types we have so far.
virtual void clearMarks()=0
Clears all marks in the document.
virtual void clearMark(uint line)=0
Clears all marks set in line.
virtual uint mark(uint line)=0
virtual TQPtrList< KTextEditor::Mark > marks()=0
virtual void setMark(uint line, uint markType)=0
Adds a mark of type markType to line.
virtual void removeMark(uint line, uint markType)=0
Removes any mark of type markType from line.
KTextEditor is KDE's standard text editing KPart interface.