From 6343a24c5cd0a998e00ae05fc6abe2081be21c71 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 3 Oct 2011 00:24:15 -0700 Subject: Doxygen cleanup. (bzr r10660) --- src/ui/widget/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/widget/text.cpp') diff --git a/src/ui/widget/text.cpp b/src/ui/widget/text.cpp index 581491f0e..a5540e428 100644 --- a/src/ui/widget/text.cpp +++ b/src/ui/widget/text.cpp @@ -1,5 +1,5 @@ /** - * \brief Text Widget - A labelled text box, with spin buttons and optional + * Text Widget - A labelled text box, with spin buttons and optional * icon or suffix, for entering arbitrary number values. * * Authors: -- cgit v1.2.3 From 2633767789e4264b13ef91a684accf734fb4e94f Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 26 Oct 2011 21:55:51 -0700 Subject: Fixing more broken and split doc comments. (bzr r10697) --- src/ui/widget/text.cpp | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) (limited to 'src/ui/widget/text.cpp') diff --git a/src/ui/widget/text.cpp b/src/ui/widget/text.cpp index a5540e428..b79bea067 100644 --- a/src/ui/widget/text.cpp +++ b/src/ui/widget/text.cpp @@ -1,7 +1,4 @@ -/** - * Text Widget - A labelled text box, with spin buttons and optional - * icon or suffix, for entering arbitrary number values. - * +/* * Authors: * Carl Hetherington * Maximilian Albert @@ -22,16 +19,6 @@ namespace Inkscape { namespace UI { namespace Widget { -/** - * Construct a Text Widget. - * - * \param label Label. - * \param suffix Suffix, placed after the widget (defaults to ""). - * \param icon Icon filename, placed before the label (defaults to ""). - * \param mnemonic Mnemonic toggle; if true, an underscore (_) in the label - * indicates the next character should be used for the - * mnemonic accelerator key (defaults to false). - */ Text::Text(Glib::ustring const &label, Glib::ustring const &tooltip, Glib::ustring const &suffix, Glib::ustring const &icon, @@ -41,26 +28,20 @@ Text::Text(Glib::ustring const &label, Glib::ustring const &tooltip, { } -/** Get the text in the entry */ -const char * -Text::getText() const +const char *Text::getText() const { g_assert(_widget != NULL); return static_cast(_widget)->get_text().c_str(); } -/** Sets the text of the text entry */ -void -Text::setText(const char* text) +void Text::setText(const char* text) { g_assert(_widget != NULL); setProgrammatically = true; // callback is supposed to reset back, if it cares static_cast(_widget)->set_text(text); // FIXME: set correctly } -/** Signal raised when the spin button's value changes */ -Glib::SignalProxy0 -Text::signal_activate() +Glib::SignalProxy0 Text::signal_activate() { return static_cast(_widget)->signal_activate(); } -- cgit v1.2.3