summaryrefslogtreecommitdiffstats
path: root/src/ui/view
diff options
context:
space:
mode:
authorjohnce <johnce@users.sourceforge.net>2009-08-05 06:21:55 +0000
committerjohnce <johnce@users.sourceforge.net>2009-08-05 06:21:55 +0000
commitfeea521541c5d36d23a5fefa579eb9c8323ac30e (patch)
tree38c41baff9d34b45fb5c918024673ce150003550 /src/ui/view
parentSPDocument->Document (diff)
downloadinkscape-feea521541c5d36d23a5fefa579eb9c8323ac30e.tar.gz
inkscape-feea521541c5d36d23a5fefa579eb9c8323ac30e.zip
SPDocument->Document
(bzr r8407)
Diffstat (limited to 'src/ui/view')
-rw-r--r--src/ui/view/edit-widget.h6
-rw-r--r--src/ui/view/view.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/view/edit-widget.h b/src/ui/view/edit-widget.h
index 2bb708305..28b4b52d2 100644
--- a/src/ui/view/edit-widget.h
+++ b/src/ui/view/edit-widget.h
@@ -36,7 +36,7 @@
#include "ui/widget/zoom-status.h"
struct SPDesktop;
-struct SPDocument;
+struct Document;
struct SPNamedView;
namespace Inkscape {
@@ -46,14 +46,14 @@ namespace View {
class EditWidget : public Gtk::Window,
public EditWidgetInterface {
public:
- EditWidget (SPDocument*);
+ EditWidget (Document*);
~EditWidget();
// Initialization
void initActions();
void initUIManager();
void initLayout();
- void initEdit (SPDocument*);
+ void initEdit (Document*);
void destroyEdit();
// Actions
diff --git a/src/ui/view/view.h b/src/ui/view/view.h
index 882746cea..6465807d6 100644
--- a/src/ui/view/view.h
+++ b/src/ui/view/view.h
@@ -53,7 +53,7 @@ struct StopOnNonZero {
}
};
-class SPDocument;
+class Document;
namespace Inkscape {
class MessageContext;
@@ -80,7 +80,7 @@ public:
void close() { _close(); }
/// Returns a pointer to the view's document.
- SPDocument *doc() const
+ Document *doc() const
{ return _doc; }
/// Returns a pointer to the view's message stack.
Inkscape::MessageStack *messageStack() const
@@ -108,12 +108,12 @@ public:
virtual void onDocumentResized (double, double) = 0;
protected:
- SPDocument *_doc;
+ Document *_doc;
Inkscape::MessageStack *_message_stack;
Inkscape::MessageContext *_tips_message_context;
virtual void _close();
- virtual void setDocument(SPDocument *doc);
+ virtual void setDocument(Document *doc);
sigc::signal<void,double,double> _position_set_signal;
sigc::signal<void,double,double> _resized_signal;