Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
59418d8e
Kaydet (Commit)
59418d8e
authored
Eki 16, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I66ad4562f33b68172557d759a26b9e19d19e2c0e
üst
13720874
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
commoncontrol.cxx
extensions/source/propctrlr/commoncontrol.cxx
+1
-2
commoncontrol.hxx
extensions/source/propctrlr/commoncontrol.hxx
+1
-2
standardcontrol.hxx
extensions/source/propctrlr/standardcontrol.hxx
+3
-3
usercontrol.cxx
extensions/source/propctrlr/usercontrol.cxx
+1
-1
No files found.
extensions/source/propctrlr/commoncontrol.cxx
Dosyayı görüntüle @
59418d8e
...
...
@@ -100,10 +100,9 @@ namespace pcr
setModified
();
}
IMPL_LINK_NOARG
(
CommonBehaviourControlHelper
,
ModifiedHdl
)
IMPL_LINK_NOARG
_TYPED
(
CommonBehaviourControlHelper
,
ModifiedHdl
,
ListBox
&
,
void
)
{
setModified
();
return
0
;
}
IMPL_LINK_NOARG_TYPED
(
CommonBehaviourControlHelper
,
GetFocusHdl
,
Control
&
,
void
)
...
...
extensions/source/propctrlr/commoncontrol.hxx
Dosyayı görüntüle @
59418d8e
...
...
@@ -89,9 +89,8 @@ namespace pcr
virtual
vcl
::
Window
*
getVclWindow
()
=
0
;
/// may be used by derived classes, they forward the event to the PropCtrListener
DECL_LINK
(
ModifiedHdl
,
void
*
);
DECL_LINK
_TYPED
(
ModifiedHdl
,
ListBox
&
,
void
);
DECL_LINK_TYPED
(
EditModifiedHdl
,
Edit
&
,
void
);
DECL_LINK_TYPED
(
SelectHdl
,
ListBox
&
,
void
);
DECL_LINK_TYPED
(
GetFocusHdl
,
Control
&
,
void
);
DECL_LINK_TYPED
(
LoseFocusHdl
,
Control
&
,
void
);
};
...
...
extensions/source/propctrlr/standardcontrol.hxx
Dosyayı görüntüle @
59418d8e
...
...
@@ -61,10 +61,10 @@ namespace pcr
TListboxWindow
::
SetSelectHdl
(
LINK
(
this
,
ListLikeControlWithModifyHandler
,
OnSelect
)
);
}
void
SetModifyHdl
(
const
Link
<>&
_rLink
)
{
aModifyHdl
=
_rLink
;;
}
void
SetModifyHdl
(
const
Link
<
ListBox
&
,
void
>&
_rLink
)
{
aModifyHdl
=
_rLink
;;
}
private
:
DECL_LINK_TYPED
(
OnSelect
,
ListBox
&
,
void
);
Link
<>
aModifyHdl
;
Link
<
ListBox
&
,
void
>
aModifyHdl
;
};
template
<
class
LISTBOX_WINDOW
>
...
...
@@ -74,7 +74,7 @@ namespace pcr
template
<
class
LISTBOX_WINDOW
>
void
ListLikeControlWithModifyHandler
<
LISTBOX_WINDOW
>::
OnSelect
(
ListBox
&
rListBox
)
{
aModifyHdl
.
Call
(
&
rListBox
);
aModifyHdl
.
Call
(
rListBox
);
}
//= OTimeControl
...
...
extensions/source/propctrlr/usercontrol.cxx
Dosyayı görüntüle @
59418d8e
...
...
@@ -56,7 +56,7 @@ namespace pcr
{
SetText
(
""
);
if
(
m_pHelper
)
m_pHelper
->
ModifiedHdl
(
this
);
m_pHelper
->
setModified
(
);
return
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment