Code

Translations. French translation minor update.
[inkscape.git] / src / ui / dialog / tracedialog.h
index 0e352ce10be751a51f136af3c53265c3cf2fb537..b52162aba7464d0dc34e338bf27cd51409a3e756 100644 (file)
@@ -1,21 +1,19 @@
-#ifndef __TRACEDIALOG_H__
-#define __TRACEDIALOG_H__
-/*
- * A simple dialog for setting the parameters for autotracing a
- * bitmap <image> into an svg <path>
- *
- * Authors:
+/** @file
+ * @brief Bitmap tracing settings dialog
+ */
+/* Authors:
  *   Bob Jamison
  *   Other dudes from The Inkscape Organization
  *
  * Copyright (C) 2004, 2005 Authors
- *
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#ifndef __TRACEDIALOG_H__
+#define __TRACEDIALOG_H__
 
 #include "verbs.h"
-#include "dialog.h"
+#include "ui/widget/panel.h"
 
 namespace Inkscape {
 namespace UI {
@@ -25,24 +23,23 @@ namespace Dialog {
 /**
  * A dialog that displays log messages
  */
-class TraceDialog : public Dialog
+class TraceDialog : public UI::Widget::Panel
 {
 
 public:
 
-
     /**
      * Constructor
      */
-    TraceDialog(Behavior::BehaviorFactory behavior_factory) : 
-       Dialog (behavior_factory, "dialogs.trace", SP_VERB_SELECTION_TRACE)
-        {}
+    TraceDialog() : 
+     UI::Widget::Panel("", "/dialogs/trace", SP_VERB_SELECTION_TRACE)
+     {}
 
 
     /**
      * Factory method
      */
-    static TraceDialog *create(Behavior::BehaviorFactory behavior_factory);
+    static TraceDialog &getInstance();
 
     /**
      * Destructor
@@ -57,8 +54,15 @@ public:
 } //namespace UI
 } //namespace Inkscape
 
-
-
-
 #endif /* __TRACEDIALOG_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:fileencoding=utf-8:textwidth=99 :