summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2008-07-01 23:16:48 +0000
committermental <mental@users.sourceforge.net>2008-07-01 23:16:48 +0000
commitc2dc6a5b0f67c94727d26e84c184844d4ac36df2 (patch)
treec4e0bf9f1421276bfd650a99a186b10031fd10c5 /src
parentfix inkboard node position bugs (diff)
downloadinkscape-c2dc6a5b0f67c94727d26e84c184844d4ac36df2.tar.gz
inkscape-c2dc6a5b0f67c94727d26e84c184844d4ac36df2.zip
dead code removal
(bzr r6112)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/Makefile_insert10
-rw-r--r--src/ui/dialog/export.cpp56
-rw-r--r--src/ui/dialog/export.h59
-rw-r--r--src/ui/dialog/layer-editor.cpp49
-rw-r--r--src/ui/dialog/layer-editor.h54
-rw-r--r--src/ui/dialog/text-properties.cpp61
-rw-r--r--src/ui/dialog/text-properties.h62
-rw-r--r--src/ui/dialog/tree-editor.cpp53
-rw-r--r--src/ui/dialog/tree-editor.h61
-rw-r--r--src/ui/dialog/xml-editor.cpp48
-rw-r--r--src/ui/dialog/xml-editor.h52
11 files changed, 0 insertions, 565 deletions
diff --git a/src/ui/dialog/Makefile_insert b/src/ui/dialog/Makefile_insert
index e300fe5b3..6c75a6c81 100644
--- a/src/ui/dialog/Makefile_insert
+++ b/src/ui/dialog/Makefile_insert
@@ -22,8 +22,6 @@ ui_dialog_libuidialog_a_SOURCES = \
ui/dialog/document-metadata.h \
ui/dialog/document-properties.cpp \
ui/dialog/document-properties.h \
- ui/dialog/export.cpp \
- ui/dialog/export.h \
ui/dialog/extension-editor.cpp \
ui/dialog/extension-editor.h \
ui/dialog/filedialog.cpp \
@@ -40,8 +38,6 @@ ui_dialog_libuidialog_a_SOURCES = \
ui/dialog/inkscape-preferences.h \
ui/dialog/input.cpp \
ui/dialog/input.h \
- ui/dialog/layer-editor.cpp \
- ui/dialog/layer-editor.h \
ui/dialog/livepatheffect-editor.cpp \
ui/dialog/livepatheffect-editor.h \
ui/dialog/memory.cpp \
@@ -54,19 +50,13 @@ ui_dialog_libuidialog_a_SOURCES = \
ui/dialog/scriptdialog.h \
ui/dialog/svg-fonts-dialog.cpp \
ui/dialog/svg-fonts-dialog.h \
- ui/dialog/text-properties.cpp \
- ui/dialog/text-properties.h \
ui/dialog/tracedialog.cpp \
ui/dialog/tracedialog.h \
ui/dialog/transformation.cpp \
ui/dialog/transformation.h \
- ui/dialog/tree-editor.cpp \
- ui/dialog/tree-editor.h \
ui/dialog/undo-history.cpp \
ui/dialog/undo-history.h \
$(inkboard_dialogs) \
- ui/dialog/xml-editor.cpp \
- ui/dialog/xml-editor.h \
ui/dialog/aboutbox.cpp \
ui/dialog/aboutbox.h \
ui/dialog/ocaldialogs.cpp \
diff --git a/src/ui/dialog/export.cpp b/src/ui/dialog/export.cpp
deleted file mode 100644
index f95944c30..000000000
--- a/src/ui/dialog/export.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * \brief Export dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include "export.h"
-#include "verbs.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-Export::Export()
- : UI::Widget::Panel("", "dialogs.export", SP_VERB_FILE_EXPORT),
- _page_export(1, 1)
-{
- _getContents()->set_spacing(4);
-
- // Notebook for individual transformations
- _getContents()->pack_start(_notebook, true, true);
-
- _notebook.append_page(_page_export, _("Export"));
-
- // TODO: Insert widgets
-
- show_all_children();
-}
-
-Export::~Export()
-{
-}
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/export.h b/src/ui/dialog/export.h
deleted file mode 100644
index 5d83ae5df..000000000
--- a/src/ui/dialog/export.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * \brief Export dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifndef INKSCAPE_UI_DIALOG_EXPORT_H
-#define INKSCAPE_UI_DIALOG_EXPORT_H
-
-#include <gtkmm/notebook.h>
-#include <glibmm/i18n.h>
-
-#include "ui/widget/panel.h"
-#include "ui/widget/notebook-page.h"
-
-using namespace Inkscape::UI::Widget;
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-class Export : public UI::Widget::Panel {
-public:
- Export();
- virtual ~Export();
-
- static Export& getInstance() { return *new Export(); }
-
-protected:
- Gtk::Notebook _notebook;
-
- NotebookPage _page_export;
-
-private:
- Export(Export const &d);
- Export& operator=(Export const &d);
-};
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-#endif // INKSCAPE_UI_DIALOG_EXPORT_H
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/layer-editor.cpp b/src/ui/dialog/layer-editor.cpp
deleted file mode 100644
index 2b596e821..000000000
--- a/src/ui/dialog/layer-editor.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * \brief Layer Editor dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include "layer-editor.h"
-#include "verbs.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-
-LayerEditor::LayerEditor()
- : UI::Widget::Panel("", "dialogs.layers", SP_VERB_NONE)
-{
- // TODO: Insert widgets
-
- show_all_children();
-}
-
-LayerEditor::~LayerEditor()
-{
-}
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/layer-editor.h b/src/ui/dialog/layer-editor.h
deleted file mode 100644
index 0bb98dabf..000000000
--- a/src/ui/dialog/layer-editor.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * \brief Layer Editor dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifndef INKSCAPE_UI_DIALOG_LAYER_EDITOR_H
-#define INKSCAPE_UI_DIALOG_LAYER_EDITOR_H
-
-#include "ui/widget/panel.h"
-
-#include <glibmm/i18n.h>
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-class LayerEditor : public UI::Widget::Panel {
-public:
- LayerEditor();
- virtual ~LayerEditor();
-
- static int get_verb();
-
- static LayerEditor &getInstance() { return *new LayerEditor(); }
-
-protected:
-
-private:
- LayerEditor(LayerEditor const &d);
- LayerEditor& operator=(LayerEditor const &d);
-};
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-#endif // INKSCAPE_UI_DIALOG_LAYER_EDITOR_H
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/text-properties.cpp b/src/ui/dialog/text-properties.cpp
deleted file mode 100644
index 5ad08f01f..000000000
--- a/src/ui/dialog/text-properties.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * \brief Text Properties dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include "text-properties.h"
-#include "verbs.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-TextProperties::TextProperties()
- : UI::Widget::Panel("", "dialogs.textandfont", SP_VERB_DIALOG_TEXT),
- _page_font(1, 1),
- _page_text(1, 1)
-{
- Gtk::Box *contents = _getContents();
-
- contents->set_spacing(4);
-
- // Notebook for individual transformations
- contents->pack_start(_notebook, true, true);
-
- // TODO: Insert widgets
- _notebook.append_page(_page_font, _("Font"));
- _notebook.append_page(_page_text, _("Text"));
-
- set_size_request(450, 300);
-
- show_all_children();
-}
-
-TextProperties::~TextProperties()
-{
-}
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/text-properties.h b/src/ui/dialog/text-properties.h
deleted file mode 100644
index f6ef0d861..000000000
--- a/src/ui/dialog/text-properties.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * \brief Text Properties dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifndef INKSCAPE_UI_DIALOG_TEXT_PROPERTIES_H
-#define INKSCAPE_UI_DIALOG_TEXT_PROPERTIES_H
-
-#include <gtkmm/notebook.h>
-#include <glibmm/i18n.h>
-
-#include "ui/widget/panel.h"
-#include "ui/widget/notebook-page.h"
-
-using namespace Inkscape::UI::Widget;
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-class TextProperties : public UI::Widget::Panel {
-public:
- TextProperties();
- virtual ~TextProperties();
-
- static int get_verb();
-
- static TextProperties &getInstance() { return *new TextProperties(); }
-
-protected:
- Gtk::Notebook _notebook;
-
- NotebookPage _page_font;
- NotebookPage _page_text;
-
-private:
- TextProperties(TextProperties const &d);
- TextProperties& operator=(TextProperties const &d);
-};
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-#endif // INKSCAPE_UI_DIALOG_TEXT_PROPERTIES_H
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/tree-editor.cpp b/src/ui/dialog/tree-editor.cpp
deleted file mode 100644
index 6da5c486b..000000000
--- a/src/ui/dialog/tree-editor.cpp
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * \brief Tree Editor - Abstract base class for dialogs that allow
- * editing properties of tree-organized data.
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include "tree-editor.h"
-#include "verbs.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-TreeEditor::TreeEditor(Behavior::BehaviorFactory behavior_factory)
- : Dialog (behavior_factory, "dialogs.treeeditor", SP_VERB_NONE /*FIXME*/)
-{
- get_vbox()->pack_start(_hbox);
-
- _hbox.add(_leftWin);
- _leftWin.add(_leftTree);
-
- // Only show the scrollbars when they are necessary
- _leftWin.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
-
- // TODO: Create the tree model
-
- show_all_children();
-}
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/tree-editor.h b/src/ui/dialog/tree-editor.h
deleted file mode 100644
index 18bdfe974..000000000
--- a/src/ui/dialog/tree-editor.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * \brief Tree Editor - Abstract base class for dialogs that allow
- * editing properties of tree-organized data.
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifndef INKSCAPE_DIALOG_TREE_EDITOR_H
-#define INKSCAPE_DIALOG_TREE_EDITOR_H
-
-#include <gtkmm/box.h>
-#include <gtkmm/scrolledwindow.h>
-#include <gtkmm/treeview.h>
-#include <glibmm/i18n.h>
-
-#include "dialog.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-class TreeEditor : public Dialog {
-public:
- TreeEditor(Behavior::BehaviorFactory behavior_factory);
- virtual ~TreeEditor();
-
-protected:
-
- Gtk::HBox _hbox;
- Gtk::ScrolledWindow _leftWin;
- Gtk::TreeView _leftTree;
-
- // TODO: Add the tree model
- // Glib::RefPtr<ExampleTreeModel> _refTreeModel;
-
-private:
- TreeEditor(TreeEditor const &d);
- TreeEditor& operator=(TreeEditor const &d);
-};
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-#endif // INKSCAPE_UI_DIALOG_TREE_EDITOR_H
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/xml-editor.cpp b/src/ui/dialog/xml-editor.cpp
deleted file mode 100644
index 7411bc7dc..000000000
--- a/src/ui/dialog/xml-editor.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * \brief XML Editor dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include "xml-editor.h"
-#include "verbs.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-XmlEditor::XmlEditor()
- : UI::Widget::Panel("", "dialogs.xml", SP_VERB_DIALOG_XML_EDITOR)
-{
- // TODO: Insert widgets
-
- show_all_children();
-}
-
-XmlEditor::~XmlEditor()
-{
-}
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/ui/dialog/xml-editor.h b/src/ui/dialog/xml-editor.h
deleted file mode 100644
index 89df6fbc1..000000000
--- a/src/ui/dialog/xml-editor.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * \brief XML Editor dialog
- *
- * Authors:
- * Bryce W. Harrington <bryce@bryceharrington.org>
- *
- * Copyright (C) 2004, 2005 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifndef INKSCAPE_DIALOG_XML_EDITOR_H
-#define INKSCAPE_DIALOG_XML_EDITOR_H
-
-#include "ui/widget/panel.h"
-
-#include <glibmm/i18n.h>
-
-namespace Inkscape {
-namespace UI {
-namespace Dialog {
-
-class XmlEditor : public UI::Widget::Panel {
-public:
- XmlEditor();
- virtual ~XmlEditor();
-
- static XmlEditor &getInstance() { return *new XmlEditor(); }
-
-protected:
-
-private:
- XmlEditor(XmlEditor const &d);
- XmlEditor& operator=(XmlEditor const &d);
-};
-
-} // namespace Dialog
-} // namespace UI
-} // namespace Inkscape
-
-#endif // INKSCAPE_UI_DIALOG_XML_EDITOR_H
-
-/*
- Local Variables:
- mode:c++
- c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
- indent-tabs-mode:nil
- fill-column:99
- End:
-*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :