summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-17 20:23:33 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-04 21:41:25 +0100
commitad276ae0d4679aee9d7e6082fa602b49c6fd940a (patch)
treedf3ff4eb6a315faaf722815c4af1e6398a40e81f /src/gui/window.h
parent33130dd288f5842f0edde0fff8618cdfe3afc856 (diff)
downloadmana-client-ad276ae0d4679aee9d7e6082fa602b49c6fd940a.tar.gz
mana-client-ad276ae0d4679aee9d7e6082fa602b49c6fd940a.tar.bz2
mana-client-ad276ae0d4679aee9d7e6082fa602b49c6fd940a.tar.xz
mana-client-ad276ae0d4679aee9d7e6082fa602b49c6fd940a.zip
Code reformatting
Mainly making sure 'const std::string &' is used everywhere instead of 'std::string const &'. The former has always been the preferred order in this project. (cherry picked from mainline)
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index 984c6f06..d40e8c91 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -163,8 +163,7 @@ class Window : public gcn::Window, gcn::WidgetListener
*
* @return The parent window or <code>NULL</code> if there is none.
*/
- Window*
- getParentWindow() { return mParent; }
+ Window *getParentWindow() { return mParent; }
/**
* Schedule this window for deletion. It will be deleted at the start
@@ -204,14 +203,12 @@ class Window : public gcn::Window, gcn::WidgetListener
/**
* Sets the name of the window. This is not the window title.
*/
- void
- setWindowName(const std::string &name) { mWindowName = name; }
+ void setWindowName(const std::string &name) { mWindowName = name; }
/**
* Returns the name of the window. This is not the window title.
*/
- const std::string&
- getWindowName() { return mWindowName; }
+ const std::string &getWindowName() { return mWindowName; }
/**
* Reads the position (and the size for resizable windows) in the