From 70f4bcdde45e94dbe27300a5069994aebc523cab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 01:10:26 +0000 Subject: Remove using declarations from headers. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4288 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/Port.hpp | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'src/gui/Port.hpp') diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp index 0781127f..e8801e5f 100644 --- a/src/gui/Port.hpp +++ b/src/gui/Port.hpp @@ -28,7 +28,6 @@ namespace Raul { class Atom; class URI; } namespace Ingen { namespace Client { class PortModel; } -using Ingen::Client::PortModel; namespace GUI { @@ -43,15 +42,15 @@ class Port : public Ganv::Port { public: static Port* create( - App& app, - Ganv::Module& module, - SharedPtr pm, - bool human_name, - bool flip = false); + App& app, + Ganv::Module& module, + SharedPtr pm, + bool human_name, + bool flip = false); ~Port(); - SharedPtr model() const { return _port_model.lock(); } + SharedPtr model() const { return _port_model.lock(); } bool show_menu(GdkEventButton* ev); void update_metadata(); @@ -62,11 +61,11 @@ public: void set_selected(gboolean b); private: - Port(App& app, - Ganv::Module& module, - SharedPtr pm, - const std::string& name, - bool flip = false); + Port(App& app, + Ganv::Module& module, + SharedPtr pm, + const std::string& name, + bool flip = false); PatchBox* get_patch_box() const; @@ -76,10 +75,10 @@ private: void on_value_changed(GVariant* value); bool on_event(GdkEvent* ev); - App& _app; - WeakPtr _port_model; - bool _pressed : 1; - bool _flipped : 1; + App& _app; + WeakPtr _port_model; + bool _pressed : 1; + bool _flipped : 1; }; } // namespace GUI -- cgit v1.2.1