diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /kxsldbg/kxsldbgpart/xsldbgdoc.cpp | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbgdoc.cpp')
-rw-r--r-- | kxsldbg/kxsldbgpart/xsldbgdoc.cpp | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbgdoc.cpp b/kxsldbg/kxsldbgpart/xsldbgdoc.cpp new file mode 100644 index 00000000..51b27dcb --- /dev/null +++ b/kxsldbg/kxsldbgpart/xsldbgdoc.cpp @@ -0,0 +1,61 @@ +/* + Handle our documents + */ + +#include "xsldbgdoc.h" + +XsldbgDoc::XsldbgDoc() +{ + fileName = QString(); + text = QString(); + row = 0; + column = 0; +} + + +XsldbgDoc::XsldbgDoc(const QString &fileName, const QString &text) +{ + this->fileName = fileName; + this->text = text; + row = 0; + column = 0; +} + + +XsldbgDoc::~XsldbgDoc() +{ + /* Empty */ +} + + +QString XsldbgDoc::getText() const +{ + return text; +} + + +QString 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; +} |