summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-21 08:03:25 +0200
committerNoel Grandin <noel@peralex.com>2015-09-21 08:03:52 +0200
commit1e67e94f1a308ca60d4934e9fe9d5c048225ebe8 (patch)
treec3bdf0fcec6912bc84e835fe48a80ee9f9391106 /include
parentc916152d8562cab868d4c522748ac30029fad179 (diff)
convert Link<> to typed
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
Diffstat (limited to 'include')
-rw-r--r--include/dbaccess/ToolBoxHelper.hxx4
-rw-r--r--include/sfx2/sidebar/FocusManager.hxx2
-rw-r--r--include/toolkit/awt/vclxaccessiblecomponent.hxx2
-rw-r--r--include/vcl/svapp.hxx4
-rw-r--r--include/vcl/tabctrl.hxx2
-rw-r--r--include/vcl/window.hxx4
6 files changed, 9 insertions, 9 deletions
diff --git a/include/dbaccess/ToolBoxHelper.hxx b/include/dbaccess/ToolBoxHelper.hxx
index b64bf85272f1..3c6ed20e4802 100644
--- a/include/dbaccess/ToolBoxHelper.hxx
+++ b/include/dbaccess/ToolBoxHelper.hxx
@@ -28,7 +28,7 @@
class SvtMiscOptions;
class ToolBox;
-class VclWindowEvent;
+class VclSimpleEvent;
namespace dbaui
{
@@ -72,7 +72,7 @@ namespace dbaui
protected:
DECL_LINK_TYPED(ConfigOptionsChanged, LinkParamNone*, void);
- DECL_LINK(SettingsChanged, VclWindowEvent* );
+ DECL_LINK_TYPED(SettingsChanged, VclSimpleEvent&, void );
};
}
#endif // INCLUDED_DBACCESS_TOOLBOXHELPER_HXX
diff --git a/include/sfx2/sidebar/FocusManager.hxx b/include/sfx2/sidebar/FocusManager.hxx
index 93b78b871ac1..a7ffd5e1ffa2 100644
--- a/include/sfx2/sidebar/FocusManager.hxx
+++ b/include/sfx2/sidebar/FocusManager.hxx
@@ -97,7 +97,7 @@ private:
/** Listen for key events for panels and buttons.
*/
DECL_LINK_TYPED( WindowEventListener, VclWindowEvent&, void);
- DECL_LINK(ChildEventListener, VclSimpleEvent*);
+ DECL_LINK_TYPED(ChildEventListener, VclWindowEvent&, void);
void ClearPanels();
void ClearButtons();
diff --git a/include/toolkit/awt/vclxaccessiblecomponent.hxx b/include/toolkit/awt/vclxaccessiblecomponent.hxx
index bd0c739568d9..13233a4bdeb2 100644
--- a/include/toolkit/awt/vclxaccessiblecomponent.hxx
+++ b/include/toolkit/awt/vclxaccessiblecomponent.hxx
@@ -70,7 +70,7 @@ private:
protected:
DECL_LINK_TYPED( WindowEventListener, VclWindowEvent&, void );
- DECL_LINK( WindowChildEventListener, VclSimpleEvent* );
+ DECL_LINK_TYPED( WindowChildEventListener, VclWindowEvent&, void );
virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
virtual void ProcessWindowChildEvent( const VclWindowEvent& rVclWindowEvent );
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 1365215afd5f..c2b6d045466e 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -760,7 +760,7 @@ public:
@see RemoveEventListener, AddKeyListener, RemoveKeyListener
*/
- static void AddEventListener( const Link<>& rEventListener );
+ static void AddEventListener( const Link<VclSimpleEvent&,void>& rEventListener );
/** Remove a VCL event listener from the application.
@@ -768,7 +768,7 @@ public:
@see AddEventListener, AddKeyListener, RemoveKeyListener
*/
- static void RemoveEventListener( const Link<>& rEventListener );
+ static void RemoveEventListener( const Link<VclSimpleEvent&,void>& rEventListener );
/** Add a keypress listener to the application. If keypress listener exists,
then initialize the application's keypress event listener with a new one, then
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index 69e488692766..fa5b94761acf 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -78,7 +78,7 @@ private:
SAL_DLLPRIVATE bool ImplHandleKeyEvent( const KeyEvent& rKeyEvent );
DECL_DLLPRIVATE_LINK( ImplListBoxSelectHdl, void* );
- DECL_DLLPRIVATE_LINK( ImplWindowEventListener, VclSimpleEvent* );
+ DECL_DLLPRIVATE_LINK_TYPED( ImplWindowEventListener, VclWindowEvent&, void );
protected:
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 0ea1042f11cd..9c968f51c68e 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -882,8 +882,8 @@ public:
void AddEventListener( const Link<VclWindowEvent&,void>& rEventListener );
void RemoveEventListener( const Link<VclWindowEvent&,void>& rEventListener );
- void AddChildEventListener( const Link<>& rEventListener );
- void RemoveChildEventListener( const Link<>& rEventListener );
+ void AddChildEventListener( const Link<VclWindowEvent&,void>& rEventListener );
+ void RemoveChildEventListener( const Link<VclWindowEvent&,void>& rEventListener );
ImplSVEvent * PostUserEvent( const Link<void*,void>& rLink, void* pCaller = NULL, bool bReferenceLink = false );
void RemoveUserEvent( ImplSVEvent * nUserEvent );