summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-11 13:27:40 +0200
committerNoel Grandin <noel@peralex.com>2015-09-14 10:00:44 +0200
commit2a4ccc0c1e836fb7cde991c1233ca5a63599ec8b (patch)
tree74fee8c81b010cfef46fab0b96e5eb984726d25a /include
parent6532cb0e5ec3a59c248b332e868c4c03c31659f1 (diff)
convert Link<> to typed
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8
Diffstat (limited to 'include')
-rw-r--r--include/svtools/ServerDetailsControls.hxx2
-rw-r--r--include/svx/compressgraphicdialog.hxx2
-rw-r--r--include/vcl/button.hxx4
-rw-r--r--include/vcl/layout.hxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/include/svtools/ServerDetailsControls.hxx b/include/svtools/ServerDetailsControls.hxx
index 334778b7dd8b..5f69525e154f 100644
--- a/include/svtools/ServerDetailsControls.hxx
+++ b/include/svtools/ServerDetailsControls.hxx
@@ -103,7 +103,7 @@ class DavDetailsContainer : public HostDetailsContainer
virtual bool verifyScheme( const OUString& rScheme ) SAL_OVERRIDE;
private:
- DECL_LINK ( ToggledDavsHdl, CheckBox * );
+ DECL_LINK_TYPED( ToggledDavsHdl, CheckBox&, void );
};
class SmbDetailsContainer : public DetailsContainer
diff --git a/include/svx/compressgraphicdialog.hxx b/include/svx/compressgraphicdialog.hxx
index eacf312abb99..f14a51709581 100644
--- a/include/svx/compressgraphicdialog.hxx
+++ b/include/svx/compressgraphicdialog.hxx
@@ -67,7 +67,7 @@ private:
DECL_LINK( NewHeightModifiedHdl, void* );
DECL_LINK( ResolutionModifiedHdl, void* );
DECL_LINK_TYPED( ToggleCompressionRB, RadioButton&, void );
- DECL_LINK( ToggleReduceResolutionRB, void* );
+ DECL_LINK_TYPED( ToggleReduceResolutionRB, CheckBox&, void );
DECL_LINK_TYPED( CalculateClickHdl, Button*, void );
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 5717ebcaf5e5..408eda900569 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -409,7 +409,7 @@ private:
TriState meState;
TriState meSaveValue;
bool mbTriState;
- Link<> maToggleHdl;
+ Link<CheckBox&,void> maToggleHdl;
// when mbLegacyNoTextAlign is set then the old behaviour where
// the WB_LEFT, WB_RIGHT & WB_CENTER affect the image placement
// occurs, otherwise the image ( checkbox box ) is placed
@@ -482,7 +482,7 @@ public:
Size CalcMinimumSize( long nMaxWidth = 0 ) const;
virtual Size GetOptimalSize() const SAL_OVERRIDE;
- void SetToggleHdl( const Link<>& rLink ) { maToggleHdl = rLink; }
+ void SetToggleHdl( const Link<CheckBox&,void>& rLink ) { maToggleHdl = rLink; }
void SetLegacyNoTextAlign( bool bVal ) { mbLegacyNoTextAlign = bVal; }
virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE;
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index e0a72bc9c2cb..3dab30bd3e83 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -506,7 +506,7 @@ private:
bool m_bResizeTopLevel;
VclPtr<DisclosureButton> m_pDisclosureButton;
Link<> maExpandedHdl;
- DECL_DLLPRIVATE_LINK(ClickHdl, DisclosureButton* pBtn);
+ DECL_DLLPRIVATE_LINK_TYPED(ClickHdl, CheckBox&, void);
};
class VCL_DLLPUBLIC VclScrolledWindow : public VclBin