summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/selectorsdialog.h
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-06-10 14:19:39 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-06-10 14:19:39 +0000
commit57831670d5acd7fa11e1f6fdfe189ba36639e323 (patch)
treed5969a3c0d4b0d6d22b6ff73ca1f491a443c1374 /src/ui/dialog/selectorsdialog.h
parentMove from XMLDialog to another paned dialog (diff)
downloadinkscape-57831670d5acd7fa11e1f6fdfe189ba36639e323.tar.gz
inkscape-57831670d5acd7fa11e1f6fdfe189ba36639e323.zip
Fixing coding style
Diffstat (limited to 'src/ui/dialog/selectorsdialog.h')
-rw-r--r--src/ui/dialog/selectorsdialog.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/ui/dialog/selectorsdialog.h b/src/ui/dialog/selectorsdialog.h
index 9a1a4b497..a1aa187bb 100644
--- a/src/ui/dialog/selectorsdialog.h
+++ b/src/ui/dialog/selectorsdialog.h
@@ -15,6 +15,10 @@
#ifndef SELECTORSDIALOG_H
#define SELECTORSDIALOG_H
+#include "ui/dialog/desktop-tracker.h"
+#include "ui/dialog/dialog-manager.h"
+#include "ui/dialog/styledialog.h"
+#include "ui/widget/panel.h"
#include <gtkmm/dialog.h>
#include <gtkmm/paned.h>
#include <gtkmm/scrolledwindow.h>
@@ -24,10 +28,6 @@
#include <gtkmm/treestore.h>
#include <gtkmm/treeview.h>
#include <ui/widget/panel.h>
-#include "ui/dialog/dialog-manager.h"
-#include "ui/dialog/styledialog.h"
-#include "ui/dialog/desktop-tracker.h"
-#include "ui/widget/panel.h"
#include "xml/helper-observer.h"
@@ -48,7 +48,7 @@ namespace Dialog {
*/
class SelectorsDialog : public Widget::Panel {
-public:
+ public:
~SelectorsDialog() override;
// No default constructor, noncopyable, nonassignable
SelectorsDialog();
@@ -56,7 +56,8 @@ public:
SelectorsDialog operator=(SelectorsDialog const &d) = delete;
static SelectorsDialog &getInstance() { return *new SelectorsDialog(); }
-private:
+
+ private:
// Monitor <style> element for changes.
class NodeObserver;
@@ -64,7 +65,7 @@ private:
class NodeWatcher;
enum SelectorType { CLASS, ID, TAG };
void fixCSSSelectors(Glib::ustring &selector);
- std::vector<SelectorsDialog::NodeWatcher*> _nodeWatchers;
+ std::vector<SelectorsDialog::NodeWatcher *> _nodeWatchers;
void _nodeAdded( Inkscape::XML::Node &repr );
void _nodeRemoved( Inkscape::XML::Node &repr );
void _nodeChanged( Inkscape::XML::Node &repr );
@@ -107,7 +108,7 @@ private:
static Glib::RefPtr<SelectorsDialog::TreeStore> create(SelectorsDialog *styledialog);
private:
- SelectorsDialog *_selectorsdialog;
+ SelectorsDialog *_selectorsdialog;
};
// TreeView
@@ -117,7 +118,7 @@ private:
// Widgets
Gtk::Paned _paned;
Gtk::Switch _direction;
- Gtk::Box _button_box;
+ Gtk::Box _button_box;
Gtk::Box _selectors_box;
Gtk::ScrolledWindow _scrolled_window_style;
Gtk::ScrolledWindow _scrolled_window_selectors;