From 214f4d073de54ed1d7960210b41b1e9d0dc538da Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 15 Oct 2009 20:12:37 +0200 Subject: remove "using namespace" statements from header files "using namespace" in headers also affects all files that include the header which is unwanted and unexpected in most cases. --- src/findbar.hh | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'src/findbar.hh') diff --git a/src/findbar.hh b/src/findbar.hh index 84922ac0..ba7ed8ed 100644 --- a/src/findbar.hh +++ b/src/findbar.hh @@ -9,22 +9,20 @@ #include #include -using namespace fltk; - /* * Searchbar to find text in page. */ -class Findbar : public Group { - Button *clrb; - HighlightButton *hide_btn, *next_btn, *prev_btn; - CheckButton *check_btn; - xpmImage *hideImg; - Input *i; +class Findbar : public fltk::Group { + fltk::Button *clrb; + fltk::HighlightButton *hide_btn, *next_btn, *prev_btn; + fltk::CheckButton *check_btn; + fltk::xpmImage *hideImg; + fltk::Input *i; - static void search_cb (Widget *, void *); - static void searchBackwards_cb (Widget *, void *); - static void search_cb2 (Widget *, void *); - static void hide_cb (Widget *, void *); + static void search_cb (fltk::Widget *, void *); + static void searchBackwards_cb (fltk::Widget *, void *); + static void search_cb2 (fltk::Widget *, void *); + static void hide_cb (fltk::Widget *, void *); public: Findbar(int width, int height); -- cgit v1.2.3