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
f5b57774
Kaydet (Commit)
f5b57774
authored
Eyl 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: I6f8ffaf59a1b22b66d3b92246384cd3203808bcf
üst
5a915202
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
10 deletions
+8
-10
dbwiz.cxx
dbaccess/source/ui/dlg/dbwiz.cxx
+2
-3
dbwizsetup.cxx
dbaccess/source/ui/dlg/dbwizsetup.cxx
+1
-2
generalpage.cxx
dbaccess/source/ui/dlg/generalpage.cxx
+1
-1
generalpage.hxx
dbaccess/source/ui/dlg/generalpage.hxx
+2
-2
dbwiz.hxx
dbaccess/source/ui/inc/dbwiz.hxx
+1
-1
dbwizsetup.hxx
dbaccess/source/ui/inc/dbwizsetup.hxx
+1
-1
No files found.
dbaccess/source/ui/dlg/dbwiz.cxx
Dosyayı görüntüle @
f5b57774
...
@@ -111,13 +111,12 @@ void ODbTypeWizDialog::dispose()
...
@@ -111,13 +111,12 @@ void ODbTypeWizDialog::dispose()
svt
::
OWizardMachine
::
dispose
();
svt
::
OWizardMachine
::
dispose
();
}
}
IMPL_LINK
(
ODbTypeWizDialog
,
OnTypeSelected
,
OGeneralPage
*
,
_pTabPage
)
IMPL_LINK
_TYPED
(
ODbTypeWizDialog
,
OnTypeSelected
,
OGeneralPage
&
,
_rTabPage
,
void
)
{
{
m_eType
=
_
pTabPage
->
GetSelectedType
();
m_eType
=
_
rTabPage
.
GetSelectedType
();
const
bool
bURLRequired
=
m_pCollection
->
isConnectionUrlRequired
(
m_eType
);
const
bool
bURLRequired
=
m_pCollection
->
isConnectionUrlRequired
(
m_eType
);
enableButtons
(
WizardButtonFlags
::
NEXT
,
bURLRequired
);
enableButtons
(
WizardButtonFlags
::
NEXT
,
bURLRequired
);
enableButtons
(
WizardButtonFlags
::
FINISH
,
!
bURLRequired
);
enableButtons
(
WizardButtonFlags
::
FINISH
,
!
bURLRequired
);
return
1L
;
}
}
WizardTypes
::
WizardState
ODbTypeWizDialog
::
determineNextState
(
WizardState
_nCurrentState
)
const
WizardTypes
::
WizardState
ODbTypeWizDialog
::
determineNextState
(
WizardState
_nCurrentState
)
const
...
...
dbaccess/source/ui/dlg/dbwizsetup.cxx
Dosyayı görüntüle @
f5b57774
...
@@ -278,10 +278,9 @@ void ODbTypeWizDialogSetup::dispose()
...
@@ -278,10 +278,9 @@ void ODbTypeWizDialogSetup::dispose()
svt
::
RoadmapWizard
::
dispose
();
svt
::
RoadmapWizard
::
dispose
();
}
}
IMPL_LINK
(
ODbTypeWizDialogSetup
,
OnTypeSelected
,
OGeneralPage
*
,
/*_pTabPage*/
)
IMPL_LINK
_NOARG_TYPED
(
ODbTypeWizDialogSetup
,
OnTypeSelected
,
OGeneralPage
&
,
void
)
{
{
activateDatabasePath
();
activateDatabasePath
();
return
1L
;
}
}
void
lcl_removeUnused
(
const
::
comphelper
::
NamedValueCollection
&
_aOld
,
const
::
comphelper
::
NamedValueCollection
&
_aNew
,
::
comphelper
::
NamedValueCollection
&
_rDSInfo
)
void
lcl_removeUnused
(
const
::
comphelper
::
NamedValueCollection
&
_aOld
,
const
::
comphelper
::
NamedValueCollection
&
_aNew
,
::
comphelper
::
NamedValueCollection
&
_rDSInfo
)
...
...
dbaccess/source/ui/dlg/generalpage.cxx
Dosyayı görüntüle @
f5b57774
...
@@ -218,7 +218,7 @@ namespace dbaui
...
@@ -218,7 +218,7 @@ namespace dbaui
switchMessage
(
_sURLPrefix
);
switchMessage
(
_sURLPrefix
);
if
(
m_aTypeSelectHandler
.
IsSet
()
)
if
(
m_aTypeSelectHandler
.
IsSet
()
)
m_aTypeSelectHandler
.
Call
(
this
);
m_aTypeSelectHandler
.
Call
(
*
this
);
}
}
void
OGeneralPage
::
implInitControls
(
const
SfxItemSet
&
_rSet
,
bool
_bSaveValue
)
void
OGeneralPage
::
implInitControls
(
const
SfxItemSet
&
_rSet
,
bool
_bSaveValue
)
...
...
dbaccess/source/ui/dlg/generalpage.hxx
Dosyayı görüntüle @
f5b57774
...
@@ -49,7 +49,7 @@ namespace dbaui
...
@@ -49,7 +49,7 @@ namespace dbaui
};
};
SPECIAL_MESSAGE
m_eLastMessage
;
SPECIAL_MESSAGE
m_eLastMessage
;
Link
<
>
m_aTypeSelectHandler
;
/// to be called if a new type is selected
Link
<
OGeneralPage
&
,
void
>
m_aTypeSelectHandler
;
/// to be called if a new type is selected
bool
m_bDisplayingInvalid
:
1
;
/// the currently displayed data source is deleted
bool
m_bDisplayingInvalid
:
1
;
/// the currently displayed data source is deleted
bool
m_bInitTypeList
:
1
;
bool
m_bInitTypeList
:
1
;
bool
approveDatasourceType
(
const
OUString
&
_sURLPrefix
,
OUString
&
_inout_rDisplayName
);
bool
approveDatasourceType
(
const
OUString
&
_sURLPrefix
,
OUString
&
_inout_rDisplayName
);
...
@@ -69,7 +69,7 @@ namespace dbaui
...
@@ -69,7 +69,7 @@ namespace dbaui
virtual
void
dispose
()
SAL_OVERRIDE
;
virtual
void
dispose
()
SAL_OVERRIDE
;
/// set a handler which gets called every time the user selects a new type
/// set a handler which gets called every time the user selects a new type
void
SetTypeSelectHandler
(
const
Link
<>&
_rHandler
)
{
m_aTypeSelectHandler
=
_rHandler
;
}
void
SetTypeSelectHandler
(
const
Link
<
OGeneralPage
&
,
void
>&
_rHandler
)
{
m_aTypeSelectHandler
=
_rHandler
;
}
/// get the currently selected datasource type
/// get the currently selected datasource type
OUString
GetSelectedType
()
const
{
return
m_eCurrentSelection
;
}
OUString
GetSelectedType
()
const
{
return
m_eCurrentSelection
;
}
...
...
dbaccess/source/ui/inc/dbwiz.hxx
Dosyayı görüntüle @
f5b57774
...
@@ -119,7 +119,7 @@ protected:
...
@@ -119,7 +119,7 @@ protected:
ApplyResult
implApplyChanges
();
ApplyResult
implApplyChanges
();
private
:
private
:
DECL_LINK
(
OnTypeSelected
,
OGeneralPage
*
);
DECL_LINK
_TYPED
(
OnTypeSelected
,
OGeneralPage
&
,
void
);
};
};
}
// namespace dbaui
}
// namespace dbaui
...
...
dbaccess/source/ui/inc/dbwizsetup.hxx
Dosyayı görüntüle @
f5b57774
...
@@ -175,7 +175,7 @@ private:
...
@@ -175,7 +175,7 @@ private:
void
updateTypeDependentStates
();
void
updateTypeDependentStates
();
bool
callSaveAsDialog
();
bool
callSaveAsDialog
();
bool
IsConnectionUrlRequired
();
bool
IsConnectionUrlRequired
();
DECL_LINK
(
OnTypeSelected
,
OGeneralPage
*
);
DECL_LINK
_TYPED
(
OnTypeSelected
,
OGeneralPage
&
,
void
);
DECL_LINK_TYPED
(
OnChangeCreationMode
,
OGeneralPageWizard
*
,
void
);
DECL_LINK_TYPED
(
OnChangeCreationMode
,
OGeneralPageWizard
*
,
void
);
DECL_LINK
(
OnRecentDocumentSelected
,
OGeneralPageWizard
*
);
DECL_LINK
(
OnRecentDocumentSelected
,
OGeneralPageWizard
*
);
DECL_LINK
(
OnSingleDocumentChosen
,
OGeneralPageWizard
*
);
DECL_LINK
(
OnSingleDocumentChosen
,
OGeneralPageWizard
*
);
...
...
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