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
87fabc0f
Kaydet (Commit)
87fabc0f
authored
Nis 30, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use typed OTextConnectionHelper::SetClickHandler Link
Change-Id: I4d60400f4cc3f34529d632e52b676007f87ff646
üst
ed85e11a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
DBSetupConnectionPages.cxx
dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
+1
-2
DBSetupConnectionPages.hxx
dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
+1
-1
TextConnectionHelper.hxx
dbaccess/source/ui/dlg/TextConnectionHelper.hxx
+2
-2
No files found.
dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
Dosyayı görüntüle @
87fabc0f
...
@@ -85,11 +85,10 @@ using namespace ::com::sun::star;
...
@@ -85,11 +85,10 @@ using namespace ::com::sun::star;
OConnectionTabPageSetup
::
dispose
();
OConnectionTabPageSetup
::
dispose
();
}
}
IMPL_LINK
(
OTextConnectionPageSetup
,
ImplGetExtensionHdl
,
OTextConnectionHelper
*
,
/*_pTextConnectionHelper*/
)
IMPL_LINK
_NOARG_TYPED
(
OTextConnectionPageSetup
,
ImplGetExtensionHdl
,
OTextConnectionHelper
*
,
void
)
{
{
SetRoadmapStateValue
(
!
m_pTextConnectionHelper
->
GetExtension
().
isEmpty
()
&&
OConnectionTabPageSetup
::
checkTestConnection
());
SetRoadmapStateValue
(
!
m_pTextConnectionHelper
->
GetExtension
().
isEmpty
()
&&
OConnectionTabPageSetup
::
checkTestConnection
());
callModifiedHdl
();
callModifiedHdl
();
return
sal_True
;
}
}
bool
OTextConnectionPageSetup
::
checkTestConnection
()
bool
OTextConnectionPageSetup
::
checkTestConnection
()
...
...
dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx
Dosyayı görüntüle @
87fabc0f
...
@@ -74,7 +74,7 @@ namespace dbaui
...
@@ -74,7 +74,7 @@ namespace dbaui
bool
checkTestConnection
()
SAL_OVERRIDE
;
bool
checkTestConnection
()
SAL_OVERRIDE
;
private
:
private
:
DECL_LINK
(
ImplGetExtensionHdl
,
OTextConnectionHelper
*
);
DECL_LINK
_TYPED
(
ImplGetExtensionHdl
,
OTextConnectionHelper
*
,
void
);
};
};
// OLDAPConnectionPageSetup
// OLDAPConnectionPageSetup
...
...
dbaccess/source/ui/dlg/TextConnectionHelper.hxx
Dosyayı görüntüle @
87fabc0f
...
@@ -75,7 +75,7 @@ namespace dbaui
...
@@ -75,7 +75,7 @@ namespace dbaui
OUString
m_aTextSeparatorList
;
OUString
m_aTextSeparatorList
;
OUString
m_aTextNone
;
OUString
m_aTextNone
;
OUString
m_aOldExtension
;
OUString
m_aOldExtension
;
Link
<
>
m_aGetExtensionHandler
;
/// to be called if a new type is selected
Link
<
OTextConnectionHelper
*
,
void
>
m_aGetExtensionHandler
;
/// to be called if a new type is selected
short
m_nAvailableSections
;
short
m_nAvailableSections
;
...
@@ -95,7 +95,7 @@ namespace dbaui
...
@@ -95,7 +95,7 @@ namespace dbaui
void
implInitControls
(
const
SfxItemSet
&
_rSet
,
bool
_bValid
);
void
implInitControls
(
const
SfxItemSet
&
_rSet
,
bool
_bValid
);
void
fillControls
(
::
std
::
vector
<
ISaveValueWrapper
*
>&
_rControlList
);
void
fillControls
(
::
std
::
vector
<
ISaveValueWrapper
*
>&
_rControlList
);
void
fillWindows
(
::
std
::
vector
<
ISaveValueWrapper
*
>&
_rControlList
);
void
fillWindows
(
::
std
::
vector
<
ISaveValueWrapper
*
>&
_rControlList
);
void
SetClickHandler
(
const
Link
<>&
_rHandler
)
{
m_aGetExtensionHandler
=
_rHandler
;
}
void
SetClickHandler
(
const
Link
<
OTextConnectionHelper
*
,
void
>&
_rHandler
)
{
m_aGetExtensionHandler
=
_rHandler
;
}
OUString
GetExtension
();
OUString
GetExtension
();
bool
FillItemSet
(
SfxItemSet
&
rSet
,
const
bool
bChangedSomething
);
bool
FillItemSet
(
SfxItemSet
&
rSet
,
const
bool
bChangedSomething
);
bool
prepareLeave
();
bool
prepareLeave
();
...
...
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