summaryrefslogtreecommitdiff
path: root/tubes
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-20 17:22:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-21 07:44:43 +0000
commit382eb1a23c390154619c385414bdbe6f6e461173 (patch)
treedbd1970c3d36903b78ed4c754f5faf14f57755c7 /tubes
parent652933e8fe46b24049ad0a6e61811727b1965aea (diff)
remove untyped Link<>
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'tubes')
-rw-r--r--tubes/source/contacts.cxx25
1 files changed, 10 insertions, 15 deletions
diff --git a/tubes/source/contacts.cxx b/tubes/source/contacts.cxx
index 08388805352a..6f8ae2c0ec58 100644
--- a/tubes/source/contacts.cxx
+++ b/tubes/source/contacts.cxx
@@ -31,11 +31,11 @@ class TubeContacts : public ModelessDialog
ListBox* mpList;
Collaboration* mpCollaboration;
- DECL_LINK( BtnDemoHdl, void * );
- DECL_LINK( BtnConnectHdl, void * );
- DECL_LINK( BtnGroupHdl, void * );
- DECL_LINK( BtnInviteHdl, void * );
- DECL_LINK( BtnListenHdl, void * );
+ DECL_LINK_TYPED( BtnDemoHdl, Button*, void );
+ DECL_LINK_TYPED( BtnConnectHdl, Button*, void );
+ DECL_LINK_TYPED( BtnGroupHdl, Button*, void );
+ DECL_LINK_TYPED( BtnInviteHdl, Button*, void );
+ DECL_LINK_TYPED( BtnListenHdl, Button*, void );
AccountContactPairV maACs;
@@ -175,34 +175,29 @@ public:
}
};
-IMPL_LINK_NOARG( TubeContacts, BtnDemoHdl )
+IMPL_LINK_NOARG_TYPED( TubeContacts, BtnDemoHdl, Button*, void )
{
StartDemoSession();
- return 0;
}
-IMPL_LINK_NOARG( TubeContacts, BtnConnectHdl )
+IMPL_LINK_NOARG_TYPED( TubeContacts, BtnConnectHdl, Button*, void )
{
StartBuddySession();
- return 0;
}
-IMPL_LINK_NOARG( TubeContacts, BtnGroupHdl )
+IMPL_LINK_NOARG_TYPED( TubeContacts, BtnGroupHdl, Button*, void )
{
StartGroupSession();
- return 0;
}
-IMPL_LINK_NOARG( TubeContacts, BtnInviteHdl )
+IMPL_LINK_NOARG_TYPED( TubeContacts, BtnInviteHdl, Button*, void )
{
Invite();
- return 0;
}
-IMPL_LINK_NOARG( TubeContacts, BtnListenHdl )
+IMPL_LINK_NOARG_TYPED( TubeContacts, BtnListenHdl, Button*, void )
{
Listen();
- return 0;
}
} // anonymous namespace