[nemiver/varobjs-support] Rename VarInspector2 into VarInspector



commit 046a3e9f86ae6c75fc83a8b957c347da012b43a7
Author: Dodji Seketeli <dodji redhat com>
Date:   Sat Apr 4 11:57:54 2009 +0200

    Rename VarInspector2 into VarInspector
    
    	* src/persp/dbgperspective/nmv-var-inspector.[cc|h]: Rename
    	VarInspector2 into VarInspector.
    	* src/persp/dbgperspective/nmv-var-inspector-dialog.cc: Adjust.
---
 .../dbgperspective/nmv-var-inspector-dialog.cc     |    4 +-
 src/persp/dbgperspective/nmv-var-inspector.cc      |   22 ++++++++++----------
 src/persp/dbgperspective/nmv-var-inspector.h       |   18 ++++++++--------
 3 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/src/persp/dbgperspective/nmv-var-inspector-dialog.cc b/src/persp/dbgperspective/nmv-var-inspector-dialog.cc
index efa5119..7913722 100644
--- a/src/persp/dbgperspective/nmv-var-inspector-dialog.cc
+++ b/src/persp/dbgperspective/nmv-var-inspector-dialog.cc
@@ -51,7 +51,7 @@ class VarInspectorDialog::Priv {
     Gtk::ComboBoxEntry *var_name_entry;
     Glib::RefPtr<Gtk::ListStore> m_variable_history;
     Gtk::Button *inspect_button;
-    SafePtr<VarInspector2> var_inspector;
+    SafePtr<VarInspector> var_inspector;
     Gtk::Dialog &dialog;
     Glib::RefPtr<Gnome::Glade::Xml> glade;
     IDebuggerSafePtr debugger;
@@ -93,7 +93,7 @@ public:
         Gtk::Box *box =
             ui_utils::get_widget_from_glade<Gtk::Box> (glade,
                                                        "inspectorwidgetbox");
-        var_inspector.reset (new VarInspector2 (debugger));
+        var_inspector.reset (new VarInspector (debugger));
         THROW_IF_FAIL (var_inspector);
         Gtk::ScrolledWindow *scr = Gtk::manage (new Gtk::ScrolledWindow);
         scr->set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
diff --git a/src/persp/dbgperspective/nmv-var-inspector.cc b/src/persp/dbgperspective/nmv-var-inspector.cc
index 4945fa7..b4e11e6 100644
--- a/src/persp/dbgperspective/nmv-var-inspector.cc
+++ b/src/persp/dbgperspective/nmv-var-inspector.cc
@@ -39,8 +39,8 @@ namespace cmn = nemiver::common;
 
 NEMIVER_BEGIN_NAMESPACE (nemiver)
 
-class VarInspector2::Priv : public sigc::trackable {
-    friend class VarInspector2;
+class VarInspector::Priv : public sigc::trackable {
+    friend class VarInspector;
     Priv ();
 
     bool requested_variable;
@@ -146,7 +146,7 @@ class VarInspector2::Priv : public sigc::trackable {
             THROW_IF_FAIL (var_walker);
             var_walker->visited_variable_signal ().connect
                 (sigc::mem_fun
-                 (this, &VarInspector2::Priv::on_visited_variable_signal));
+                 (this, &VarInspector::Priv::on_visited_variable_signal));
         }
         return var_walker;
     }
@@ -220,20 +220,20 @@ public:
         re_init_tree_view ();
         connect_to_signals ();
     }
-};//end class VarInspector2::Priv
+};//end class VarInspector::Priv
 
-VarInspector2::VarInspector2 (IDebuggerSafePtr &a_debugger)
+VarInspector::VarInspector (IDebuggerSafePtr &a_debugger)
 {
     m_priv.reset (new Priv (a_debugger));
 }
 
-VarInspector2::~VarInspector2 ()
+VarInspector::~VarInspector ()
 {
     LOG_D ("deleted", "destructor-domain");
 }
 
 Gtk::Widget&
-VarInspector2::widget () const
+VarInspector::widget () const
 {
     THROW_IF_FAIL (m_priv);
     THROW_IF_FAIL (m_priv->tree_view);
@@ -241,7 +241,7 @@ VarInspector2::widget () const
 }
 
 void
-VarInspector2::set_variable (IDebugger::VariableSafePtr &a_variable)
+VarInspector::set_variable (IDebugger::VariableSafePtr &a_variable)
 {
     THROW_IF_FAIL (m_priv);
 
@@ -249,7 +249,7 @@ VarInspector2::set_variable (IDebugger::VariableSafePtr &a_variable)
 }
 
 void
-VarInspector2::inspect_variable (const UString &a_variable_name)
+VarInspector::inspect_variable (const UString &a_variable_name)
 {
     if (a_variable_name == "") {return;}
     THROW_IF_FAIL (m_priv);
@@ -261,7 +261,7 @@ VarInspector2::inspect_variable (const UString &a_variable_name)
 }
 
 IDebugger::VariableSafePtr
-VarInspector2::get_variable () const
+VarInspector::get_variable () const
 {
     THROW_IF_FAIL (m_priv);
 
@@ -269,7 +269,7 @@ VarInspector2::get_variable () const
 }
 
 void
-VarInspector2::clear ()
+VarInspector::clear ()
 {
     THROW_IF_FAIL (m_priv);
     m_priv->re_init_tree_view ();
diff --git a/src/persp/dbgperspective/nmv-var-inspector.h b/src/persp/dbgperspective/nmv-var-inspector.h
index df92f92..82cd243 100644
--- a/src/persp/dbgperspective/nmv-var-inspector.h
+++ b/src/persp/dbgperspective/nmv-var-inspector.h
@@ -22,8 +22,8 @@
  *
  *See COPYRIGHT file copyright information.
  */
-#ifndef __NMV_VAR_INSPECTOR2_H__
-#define __NMV_VAR_INSPECTOR2_H__
+#ifndef __NMV_VAR_INSPECTOR_H__
+#define __NMV_VAR_INSPECTOR_H__
 
 #include "common/nmv-object.h"
 #include "common/nmv-safe-ptr-utils.h"
@@ -39,22 +39,22 @@ namespace common {
     class UString;
 }
 
-class VarInspector2 : public nemiver::common::Object {
-    VarInspector2 (const VarInspector2 &);
-    VarInspector2& operator= (const VarInspector2 &);
-    VarInspector2 ();
+class VarInspector : public nemiver::common::Object {
+    VarInspector (const VarInspector &);
+    VarInspector& operator= (const VarInspector &);
+    VarInspector ();
     class Priv;
     SafePtr<Priv> m_priv;
 
 public:
-    VarInspector2 (IDebuggerSafePtr &a_debugger);
-    virtual ~VarInspector2 ();
+    VarInspector (IDebuggerSafePtr &a_debugger);
+    virtual ~VarInspector ();
     Gtk::Widget& widget () const;
     void set_variable (IDebugger::VariableSafePtr &a_variable);
     void inspect_variable (const UString &a_variable_name);
     IDebugger::VariableSafePtr get_variable () const;
     void clear ();
-};//end class VarInspector2
+};//end class VarInspector
 
 NEMIVER_END_NAMESPACE (nemiver)
 #endif //__NMV_VAR_INSPECTOR_H__



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]