diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-02-19 20:48:09 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-02-19 20:48:09 +0000 |
| commit | 6e272e78c148590660e3443caefce378800260c3 (patch) | |
| tree | 6440f0b74ad32266110af6ae030f2823b12b898e /src/ui | |
| parent | Fixed unintialized variables and minor misc warnings (diff) | |
| download | inkscape-6e272e78c148590660e3443caefce378800260c3.tar.gz inkscape-6e272e78c148590660e3443caefce378800260c3.zip | |
Cleaned up DOS line ends that had snuck in.
(bzr r2399)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/widget/entry.cpp | 70 | ||||
| -rw-r--r-- | src/ui/widget/entry.h | 88 |
2 files changed, 79 insertions, 79 deletions
diff --git a/src/ui/widget/entry.cpp b/src/ui/widget/entry.cpp index 6159b4fe5..7b19ac861 100644 --- a/src/ui/widget/entry.cpp +++ b/src/ui/widget/entry.cpp @@ -1,35 +1,35 @@ -/** \file
- *
- * \brief Helperclass for Gtk::Entry widgets
- *
- * Authors:
- * Johan Engelen <goejendaagh@zonnet.nl>
- *
- * Copyright (C) 2006 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include "entry.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Widget {
-
-Entry::Entry( Glib::ustring const &label, Glib::ustring const &tooltip,
- Glib::ustring const &suffix,
- Glib::ustring const &icon,
- bool mnemonic)
- : Labelled(label, tooltip, new Gtk::Entry(), suffix, icon, mnemonic)
-{
-}
-
-
-} // namespace Widget
-} // namespace UI
-} // namespace Inkscape
-
+/** \file + * + * \brief Helperclass for Gtk::Entry widgets + * + * Authors: + * Johan Engelen <goejendaagh@zonnet.nl> + * + * Copyright (C) 2006 Authors + * + * Released under GNU GPL. Read the file 'COPYING' for more information + */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#include "entry.h" + +namespace Inkscape { +namespace UI { +namespace Widget { + +Entry::Entry( Glib::ustring const &label, Glib::ustring const &tooltip, + Glib::ustring const &suffix, + Glib::ustring const &icon, + bool mnemonic) + : Labelled(label, tooltip, new Gtk::Entry(), suffix, icon, mnemonic) +{ +} + + +} // namespace Widget +} // namespace UI +} // namespace Inkscape + diff --git a/src/ui/widget/entry.h b/src/ui/widget/entry.h index 06cb19bef..bb6c1321a 100644 --- a/src/ui/widget/entry.h +++ b/src/ui/widget/entry.h @@ -1,44 +1,44 @@ -/** \file
- *
- * \brief Helperclass for Gtk::Entry widgets
- *
- * Authors:
- * Johan Engelen <goejendaagh@zonnet.nl>
- *
- * Copyright (C) 2006 Authors
- *
- * Released under GNU GPL. Read the file 'COPYING' for more information.
- */
-
-#ifndef INKSCAPE_UI_WIDGET_ENTRY__H
-#define INKSCAPE_UI_WIDGET_ENTRY__H
-
-#include <gtkmm/entry.h>
-#include <gtkmm/tooltips.h>
-#include <gtkmm/label.h>
-#include <gtkmm/box.h>
-#include "labelled.h"
-
-namespace Inkscape {
-namespace UI {
-namespace Widget {
-
-class Entry : public Labelled
-{
-public:
- Entry( Glib::ustring const &label,
- Glib::ustring const &tooltip,
- Glib::ustring const &suffix = "",
- Glib::ustring const &icon = "",
- bool mnemonic = true);
-
- // TO DO: add methods to access Gtk::Entry widget
-
- Gtk::Entry* getEntry() {return (Gtk::Entry*)(_widget);};
-};
-
-} // namespace Widget
-} // namespace UI
-} // namespace Inkscape
-
-#endif // INKSCAPE_UI_WIDGET_ENTRY__H
+/** \file + * + * \brief Helperclass for Gtk::Entry widgets + * + * Authors: + * Johan Engelen <goejendaagh@zonnet.nl> + * + * Copyright (C) 2006 Authors + * + * Released under GNU GPL. Read the file 'COPYING' for more information. + */ + +#ifndef INKSCAPE_UI_WIDGET_ENTRY__H +#define INKSCAPE_UI_WIDGET_ENTRY__H + +#include <gtkmm/entry.h> +#include <gtkmm/tooltips.h> +#include <gtkmm/label.h> +#include <gtkmm/box.h> +#include "labelled.h" + +namespace Inkscape { +namespace UI { +namespace Widget { + +class Entry : public Labelled +{ +public: + Entry( Glib::ustring const &label, + Glib::ustring const &tooltip, + Glib::ustring const &suffix = "", + Glib::ustring const &icon = "", + bool mnemonic = true); + + // TO DO: add methods to access Gtk::Entry widget + + Gtk::Entry* getEntry() {return (Gtk::Entry*)(_widget);}; +}; + +} // namespace Widget +} // namespace UI +} // namespace Inkscape + +#endif // INKSCAPE_UI_WIDGET_ENTRY__H |
