summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbgdoc.cpp
blob: 0579a85461ab6bfbda8b98aa23c657cc7052c24f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
  Handle our documents
  */

#include "xsldbgdoc.h"

XsldbgDoc::XsldbgDoc()
{
  fileName = TQString();
  text = TQString();
  row = 0;
  column = 0;
}


XsldbgDoc::XsldbgDoc(const TQString &fileName, const TQString &text)
{
  this->fileName = fileName;
  this->text = text;
  row = 0;
  column  = 0;
}


XsldbgDoc::~XsldbgDoc()
{
  /* Empty */
}


TQString XsldbgDoc::getText() const
{
  return text;
}


TQString XsldbgDoc::getFileName() const
{
  return fileName;
}

void XsldbgDoc::setRow(int row)
{
  this->row = row;
}

int XsldbgDoc::getRow()
{
  return row;
}

void XsldbgDoc::setColumn(int column)
{
  this->column = column;
}


int XsldbgDoc::getColumn()
{
  return column;
}