diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-12 21:15:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-12 21:15:40 +0000 |
| commit | ebdf25bf6710c9cf585489302dcd8ca23b9b226a (patch) | |
| tree | 1ff6b682d8035209a6a122635ce4c90e5b8e61c5 /src/Toolbar.cc | |
| parent | 4969c1b08453a4048c94f207f0c02287bdbc1d0c (diff) | |
removed all 'using namespace std;' calls.
Diffstat (limited to 'src/Toolbar.cc')
| -rw-r--r-- | src/Toolbar.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 5d5e924a..fd219144 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -64,7 +64,7 @@ #include <strstream> #include <string> -using namespace std; +using std::ends; Toolbar::Toolbar(BScreen &scrn, Resource &conf) : screen(scrn), openbox(scrn.getOpenbox()), config(conf) @@ -215,7 +215,7 @@ Toolbar::~Toolbar() { void Toolbar::setOnTop(bool b) { m_ontop = b; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.onTop" << ends; config.setValue(s.str(), m_ontop ? "True" : "False"); s.rdbuf()->freeze(0); @@ -223,7 +223,7 @@ void Toolbar::setOnTop(bool b) { void Toolbar::setAutoHide(bool b) { m_autohide = b; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.autoHide" << ends; config.setValue(s.str(), m_autohide ? "True" : "False"); @@ -232,7 +232,7 @@ void Toolbar::setAutoHide(bool b) { void Toolbar::setWidthPercent(int w) { m_width_percent = w; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.widthPercent" << ends; config.setValue(s.str(), m_width_percent); @@ -241,7 +241,7 @@ void Toolbar::setWidthPercent(int w) { void Toolbar::setPlacement(int p) { m_placement = p; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.placement" << ends; const char *placement; @@ -265,8 +265,8 @@ void Toolbar::save() { } void Toolbar::load() { - ostrstream rscreen, rname, rclass; - string s; + std::ostrstream rscreen, rname, rclass; + std::string s; bool b; long l; rscreen << "session.screen" << screen.getScreenNumber() << '.' << ends; |
