summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-02-20 09:50:38 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-02-20 09:50:38 +0000
commit774bee47ed685bd666173cb4d1664933217371c9 (patch)
tree077955bb8b312b64b308fbd2ab1a32ee5989f605 /src/document.h
parentFix Window centering LPEDialog (diff)
downloadinkscape-774bee47ed685bd666173cb4d1664933217371c9.tar.gz
inkscape-774bee47ed685bd666173cb4d1664933217371c9.zip
Give more descriptive names to document file related variables and functions.
Makes searching through code for them easier.
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/document.h b/src/document.h
index e24d2ae12..2c8a8f5ce 100644
--- a/src/document.h
+++ b/src/document.h
@@ -128,9 +128,9 @@ public:
CRStyleSheet *style_sheet;
protected:
- char *uri; ///< A filename (not a URI yet), or NULL
- char *base; ///< To be used for resolving relative hrefs.
- char *name; ///< basename(uri) or other human-readable label for the document.
+ char *document_uri; ///< A filename (not a URI yet), or NULL
+ char *document_base; ///< To be used for resolving relative hrefs.
+ char *document_name; ///< basename(uri) or other human-readable label for the document.
public:
@@ -163,15 +163,15 @@ public:
Inkscape::XML::Document const *getReprDoc() const { return rdoc; }
/** A filename (not a URI yet), or NULL */
- char const *getURI() const { return uri; }
- void setUri(char const *uri);
+ char const *getDocumentURI() const { return document_uri; }
+ void setDocumentUri(char const *document_uri);
/** To be used for resolving relative hrefs. */
- char const *getBase() const { return base; };
- void setBase( char const* base );
+ char const *getDocumentBase() const { return document_base; };
+ void setDocumentBase( char const* document_base );
/** basename(uri) or other human-readable label for the document. */
- char const* getName() const { return name; }
+ char const* getDocumentName() const { return document_name; }
/** Return the main defs object for the document. */
SPDefs *getDefs();