summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/ktexteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/ktexteditor/ktexteditor.cpp')
-rw-r--r--interfaces/ktexteditor/ktexteditor.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/interfaces/ktexteditor/ktexteditor.cpp b/interfaces/ktexteditor/ktexteditor.cpp
index 80071447c..c822dc93c 100644
--- a/interfaces/ktexteditor/ktexteditor.cpp
+++ b/interfaces/ktexteditor/ktexteditor.cpp
@@ -110,6 +110,7 @@ Document::Document( TQObject *parent, const char *name ) : KTextEditor::Editor (
{
globalDocumentNumber++;
myDocumentNumber = globalDocumentNumber;
+ myDocumentListPosition = -1; // Don't care
}
Document::~Document()
@@ -121,6 +122,16 @@ unsigned int Document::documentNumber () const
return myDocumentNumber;
}
+long Document::documentListPosition () const
+{
+ return myDocumentListPosition;
+}
+
+void Document::setDocumentListPosition (long pos)
+{
+ myDocumentListPosition = pos;
+}
+
TQCString Document::documentDCOPSuffix () const
{
TQCString num;