diff engine/core/eventchannel/key/ec_keyevent.h @ 630:010da1d1ee1c

* Removed old and unused functions: set/getSourceWidget()
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 04 Oct 2010 21:29:12 +0000
parents abfe54ebae15
children
line wrap: on
line diff
--- a/engine/core/eventchannel/key/ec_keyevent.h	Mon Oct 04 20:52:06 2010 +0000
+++ b/engine/core/eventchannel/key/ec_keyevent.h	Mon Oct 04 21:29:12 2010 +0000
@@ -49,12 +49,12 @@
 			PRESSED = 0,
 			RELEASED
 		};
-		
+
 		/** Constructor
 		 */
-		KeyEvent(): 
-			InputEvent(), 
-			m_eventtype(UNKNOWN), 
+		KeyEvent():
+			InputEvent(),
+			m_eventtype(UNKNOWN),
 			m_isnumericpad(false),
 			m_key(Key()) {}
 
@@ -64,10 +64,10 @@
 
 		KeyEventType getType() const { return m_eventtype; }
 		void setType(KeyEventType type) { m_eventtype = type; }
-	
+
 		bool isNumericPad() const { return m_isnumericpad; }
 		void setNumericPad(bool ispad) { m_isnumericpad = ispad; }
-	
+
 		const Key& getKey() const { return m_key; }
 		void setKey(const Key& key) { m_key = key; }
 
@@ -86,8 +86,6 @@
 		virtual bool isConsumedByWidgets() const { return InputEvent::isConsumedByWidgets(); }
 		virtual IEventSource* getSource() { return InputEvent::getSource(); }
 		virtual void setSource(IEventSource* source) { InputEvent::setSource(source); }
-		virtual gcn::Widget* getSourceWidget() { return InputEvent::getSourceWidget(); }
-		virtual void setSourceWidget(gcn::Widget* widget) { InputEvent::setSourceWidget(widget); }
 		virtual int getTimeStamp() const { return InputEvent::getTimeStamp(); }
 		virtual void setTimeStamp(int timestamp ) { InputEvent::setTimeStamp(timestamp); }