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
468e6071
Kaydet (Commit)
468e6071
authored
Nis 30, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use typed OGeneralPageWizard::SetCreationModeHandler Link
Change-Id: I3ec59f2a736d230eeb9f6e5db49af16f3e570afd
üst
0223dd75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
dbwizsetup.cxx
dbaccess/source/ui/dlg/dbwizsetup.cxx
+1
-2
generalpage.hxx
dbaccess/source/ui/dlg/generalpage.hxx
+2
-2
dbwizsetup.hxx
dbaccess/source/ui/inc/dbwizsetup.hxx
+1
-1
No files found.
dbaccess/source/ui/dlg/dbwizsetup.cxx
Dosyayı görüntüle @
468e6071
...
...
@@ -604,10 +604,9 @@ IMPL_LINK_TYPED(ODbTypeWizDialogSetup, ImplClickHdl, OMySQLIntroPageSetup*, _pMy
activatePath
(
static_cast
<
PathId
>
(
m_pCollection
->
getIndexOf
(
sURLPrefix
)
+
1
),
true
);
}
IMPL_LINK
(
ODbTypeWizDialogSetup
,
OnChangeCreationMode
,
OGeneralPageWizard
*
,
/*_pGeneralPage*/
)
IMPL_LINK
_NOARG_TYPED
(
ODbTypeWizDialogSetup
,
OnChangeCreationMode
,
OGeneralPageWizard
*
,
void
)
{
activateDatabasePath
();
return
sal_True
;
}
IMPL_LINK
(
ODbTypeWizDialogSetup
,
OnRecentDocumentSelected
,
OGeneralPageWizard
*
,
/*_pGeneralPage*/
)
...
...
dbaccess/source/ui/dlg/generalpage.hxx
Dosyayı görüntüle @
468e6071
...
...
@@ -151,7 +151,7 @@ namespace dbaui
DocumentDescriptor
m_aBrowsedDocument
;
CreationMode
m_eOriginalCreationMode
;
Link
<
>
m_aCreationModeHandler
;
/// to be called if a new type is selected
Link
<
OGeneralPageWizard
*
,
void
>
m_aCreationModeHandler
;
/// to be called if a new type is selected
Link
<>
m_aDocumentSelectionHandler
;
/// to be called when a document in the RecentDoc list is selected
Link
<>
m_aChooseDocumentHandler
;
/// to be called when a recent document has been definitely chosen
...
...
@@ -162,7 +162,7 @@ namespace dbaui
void
insertEmbeddedDBTypeEntryData
(
const
OUString
&
_sType
,
const
OUString
&
sDisplayName
);
public
:
void
SetCreationModeHandler
(
const
Link
<>&
_rHandler
)
{
m_aCreationModeHandler
=
_rHandler
;
}
void
SetCreationModeHandler
(
const
Link
<
OGeneralPageWizard
*
,
void
>&
_rHandler
)
{
m_aCreationModeHandler
=
_rHandler
;
}
CreationMode
GetDatabaseCreationMode
()
const
;
void
SetDocumentSelectionHandler
(
const
Link
<>&
_rHandler
)
{
m_aDocumentSelectionHandler
=
_rHandler
;
}
...
...
dbaccess/source/ui/inc/dbwizsetup.hxx
Dosyayı görüntüle @
468e6071
...
...
@@ -176,7 +176,7 @@ private:
bool
callSaveAsDialog
();
bool
IsConnectionUrlRequired
();
DECL_LINK
(
OnTypeSelected
,
OGeneralPage
*
);
DECL_LINK
(
OnChangeCreationMode
,
OGeneralPageWizard
*
);
DECL_LINK
_TYPED
(
OnChangeCreationMode
,
OGeneralPageWizard
*
,
void
);
DECL_LINK
(
OnRecentDocumentSelected
,
OGeneralPageWizard
*
);
DECL_LINK
(
OnSingleDocumentChosen
,
OGeneralPageWizard
*
);
DECL_LINK_TYPED
(
ImplClickHdl
,
OMySQLIntroPageSetup
*
,
void
);
...
...
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