summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
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/widget
parentSPDocument->Document (diff)
downloadinkscape-feea521541c5d36d23a5fefa579eb9c8323ac30e.tar.gz
inkscape-feea521541c5d36d23a5fefa579eb9c8323ac30e.zip
SPDocument->Document
(bzr r8407)
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/entity-entry.h8
-rw-r--r--src/ui/widget/imageicon.h6
-rw-r--r--src/ui/widget/layer-selector.h2
-rw-r--r--src/ui/widget/licensor.h4
-rw-r--r--src/ui/widget/panel.h4
-rw-r--r--src/ui/widget/registered-enums.h2
-rw-r--r--src/ui/widget/registered-widget.h30
7 files changed, 28 insertions, 28 deletions
diff --git a/src/ui/widget/entity-entry.h b/src/ui/widget/entity-entry.h
index 5bdee9a90..d080787c1 100644
--- a/src/ui/widget/entity-entry.h
+++ b/src/ui/widget/entity-entry.h
@@ -16,7 +16,7 @@
#include <gtkmm/tooltips.h>
struct rdf_work_entity_t;
-class SPDocument;
+class Document;
namespace Gtk {
class TextBuffer;
@@ -32,7 +32,7 @@ class EntityEntry {
public:
static EntityEntry* create (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr);
virtual ~EntityEntry() = 0;
- virtual void update (SPDocument *doc) = 0;
+ virtual void update (Document *doc) = 0;
virtual void on_changed() = 0;
Gtk::Label _label;
Gtk::Widget *_packable;
@@ -49,7 +49,7 @@ class EntityLineEntry : public EntityEntry {
public:
EntityLineEntry (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr);
~EntityLineEntry();
- void update (SPDocument *doc);
+ void update (Document *doc);
protected:
virtual void on_changed();
@@ -59,7 +59,7 @@ class EntityMultiLineEntry : public EntityEntry {
public:
EntityMultiLineEntry (rdf_work_entity_t* ent, Gtk::Tooltips& tt, Registry& wr);
~EntityMultiLineEntry();
- void update (SPDocument *doc);
+ void update (Document *doc);
protected:
virtual void on_changed();
diff --git a/src/ui/widget/imageicon.h b/src/ui/widget/imageicon.h
index 803b2f53f..3819a3c77 100644
--- a/src/ui/widget/imageicon.h
+++ b/src/ui/widget/imageicon.h
@@ -16,7 +16,7 @@
#include <gtkmm/box.h>
-class SPDocument;
+class Document;
namespace Inkscape
{
@@ -62,7 +62,7 @@ public:
/**
*
*/
- bool showSvgDocument(const SPDocument *doc);
+ bool showSvgDocument(const Document *doc);
/**
*
@@ -99,7 +99,7 @@ private:
/**
* The svg document we are currently showing
*/
- SPDocument *document;
+ Document *document;
/**
* The sp_svg_view widget
diff --git a/src/ui/widget/layer-selector.h b/src/ui/widget/layer-selector.h
index 0b5300272..d9ef558a5 100644
--- a/src/ui/widget/layer-selector.h
+++ b/src/ui/widget/layer-selector.h
@@ -23,7 +23,7 @@
#include "util/list.h"
class SPDesktop;
-class SPDocument;
+class Document;
class SPObject;
namespace Inkscape {
namespace XML {
diff --git a/src/ui/widget/licensor.h b/src/ui/widget/licensor.h
index 9f41a6d0d..6738c48df 100644
--- a/src/ui/widget/licensor.h
+++ b/src/ui/widget/licensor.h
@@ -15,7 +15,7 @@
#include <gtkmm/box.h>
-class SPDocument;
+class Document;
namespace Gtk {
class Tooltips;
@@ -34,7 +34,7 @@ public:
Licensor();
virtual ~Licensor();
void init (Gtk::Tooltips&, Registry&);
- void update (SPDocument *doc);
+ void update (Document *doc);
protected:
EntityEntry *_eentry;
diff --git a/src/ui/widget/panel.h b/src/ui/widget/panel.h
index d42548f16..36f5ea804 100644
--- a/src/ui/widget/panel.h
+++ b/src/ui/widget/panel.h
@@ -71,7 +71,7 @@ public:
void setDefaultResponse(int response_id);
void setResponseSensitive(int response_id, bool setting);
- virtual sigc::signal<void, SPDesktop *, SPDocument *> &signalDocumentReplaced();
+ virtual sigc::signal<void, SPDesktop *, Document *> &signalDocumentReplaced();
virtual sigc::signal<void, Inkscape::Application *, SPDesktop *> &signalActivateDesktop();
virtual sigc::signal<void, Inkscape::Application *, SPDesktop *> &signalDeactiveDesktop();
@@ -100,7 +100,7 @@ protected:
/** Signals */
sigc::signal<void, int> _signal_response;
sigc::signal<void> _signal_present;
- sigc::signal<void, SPDesktop *, SPDocument *> _signal_document_replaced;
+ sigc::signal<void, SPDesktop *, Document *> _signal_document_replaced;
sigc::signal<void, Inkscape::Application *, SPDesktop *> _signal_activate_desktop;
sigc::signal<void, Inkscape::Application *, SPDesktop *> _signal_deactive_desktop;
diff --git a/src/ui/widget/registered-enums.h b/src/ui/widget/registered-enums.h
index 739745817..f9195d1f2 100644
--- a/src/ui/widget/registered-enums.h
+++ b/src/ui/widget/registered-enums.h
@@ -32,7 +32,7 @@ public:
const Util::EnumDataConverter<E>& c,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL )
+ Document *doc_in = NULL )
: RegisteredWidget< LabelledComboBoxEnum<E> >(label, tip, c)
{
RegisteredWidget< LabelledComboBoxEnum<E> >::init_parent(key, wr, repr_in, doc_in);
diff --git a/src/ui/widget/registered-widget.h b/src/ui/widget/registered-widget.h
index a5c61f68a..32d6c93fa 100644
--- a/src/ui/widget/registered-widget.h
+++ b/src/ui/widget/registered-widget.h
@@ -35,7 +35,7 @@
#include "sp-namedview.h"
class SPUnit;
-class SPDocument;
+class Document;
namespace Gtk {
class HScale;
@@ -81,7 +81,7 @@ protected:
virtual ~RegisteredWidget() {};
- void init_parent(const Glib::ustring& key, Registry& wr, Inkscape::XML::Node* repr_in, SPDocument *doc_in)
+ void init_parent(const Glib::ustring& key, Registry& wr, Inkscape::XML::Node* repr_in, Document *doc_in)
{
_wr = &wr;
_key = key;
@@ -96,7 +96,7 @@ protected:
// Use local repr here. When repr is specified, use that one, but
// if repr==NULL, get the repr of namedview of active desktop.
Inkscape::XML::Node *local_repr = repr;
- SPDocument *local_doc = doc;
+ Document *local_doc = doc;
if (!local_repr) {
// no repr specified, use active desktop's namedview's repr
SPDesktop* dt = SP_ACTIVE_DESKTOP;
@@ -120,7 +120,7 @@ protected:
Registry * _wr;
Glib::ustring _key;
Inkscape::XML::Node * repr;
- SPDocument * doc;
+ Document * doc;
unsigned int event_type;
Glib::ustring event_description;
bool write_undo;
@@ -139,7 +139,7 @@ private:
class RegisteredCheckButton : public RegisteredWidget<Gtk::CheckButton> {
public:
virtual ~RegisteredCheckButton();
- RegisteredCheckButton (const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr, bool right=true, Inkscape::XML::Node* repr_in=NULL, SPDocument *doc_in=NULL);
+ RegisteredCheckButton (const Glib::ustring& label, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr, bool right=true, Inkscape::XML::Node* repr_in=NULL, Document *doc_in=NULL);
void setActive (bool);
@@ -168,7 +168,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
void setUnit (const SPUnit*);
Unit getUnit() const { return static_cast<UnitMenu*>(_widget)->getUnit(); };
@@ -188,7 +188,7 @@ public:
const RegisteredUnitMenu &rum,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _value_changed_connection;
@@ -204,7 +204,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _value_changed_connection;
@@ -219,7 +219,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _activate_connection;
@@ -237,7 +237,7 @@ public:
const Glib::ustring& akey,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL);
+ Document *doc_in = NULL);
void setRgba32 (guint32);
void closeWindow();
@@ -259,7 +259,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
bool setProgrammatically; // true if the value was set by setValue, not changed by the user;
// if a callback checks it, it must reset it back to false
@@ -280,7 +280,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
void setValue (bool second);
@@ -301,7 +301,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
protected:
sigc::connection _value_x_changed_connection;
@@ -318,7 +318,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL );
+ Document *doc_in = NULL );
// redefine setValue, because transform must be applied
void setValue(Geom::Point const & p);
@@ -342,7 +342,7 @@ public:
const Glib::ustring& key,
Registry& wr,
Inkscape::XML::Node* repr_in = NULL,
- SPDocument *doc_in = NULL);
+ Document *doc_in = NULL);
void setValue (double val, long startseed);