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
a7244509
Kaydet (Commit)
a7244509
authored
Eyl 15, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: Ied94f9defc1650822b8d09713e3d2f6fa2b8611d
üst
11c4f58f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
newhelp.cxx
sfx2/source/appl/newhelp.cxx
+3
-5
newhelp.hxx
sfx2/source/appl/newhelp.hxx
+7
-7
No files found.
sfx2/source/appl/newhelp.cxx
Dosyayı görüntüle @
a7244509
...
...
@@ -719,7 +719,7 @@ void IndexTabPage_Impl::InitializeIndex()
m_pIndexCB
->
SetUpdateMode
(
true
);
if
(
!
sKeyword
.
isEmpty
()
)
aKeywordLink
.
Call
(
this
);
aKeywordLink
.
Call
(
*
this
);
}
#undef INSERT_DATA
...
...
@@ -749,7 +749,7 @@ IMPL_LINK_TYPED( IndexTabPage_Impl, IdleHdl, Idle*, pIdle, void )
IMPL_LINK_TYPED
(
IndexTabPage_Impl
,
TimeoutHdl
,
Timer
*
,
pTimer
,
void
)
{
if
(
&
aKeywordTimer
==
pTimer
&&
!
sKeyword
.
isEmpty
())
aKeywordLink
.
Call
(
this
);
aKeywordLink
.
Call
(
*
this
);
}
void
IndexTabPage_Impl
::
ActivatePage
()
...
...
@@ -1616,7 +1616,7 @@ IMPL_LINK_NOARG_TYPED(SfxHelpIndexWindow_Impl, SelectFactoryHdl, Idle *, void)
}
}
IMPL_LINK_NOARG
(
SfxHelpIndexWindow_Impl
,
KeywordHdl
)
IMPL_LINK_NOARG
_TYPED
(
SfxHelpIndexWindow_Impl
,
KeywordHdl
,
IndexTabPage_Impl
&
,
void
)
{
// keyword found on index?
bool
bIndex
=
pIPage
->
HasKeyword
();
...
...
@@ -1636,8 +1636,6 @@ IMPL_LINK_NOARG(SfxHelpIndexWindow_Impl, KeywordHdl)
pIPage
->
OpenKeyword
();
else
if
(
!
pSPage
->
OpenKeyword
(
sKeyword
)
)
pParentWin
->
ShowStartPage
();
return
0
;
}
void
SfxHelpIndexWindow_Impl
::
Resize
()
...
...
sfx2/source/appl/newhelp.hxx
Dosyayı görüntüle @
a7244509
...
...
@@ -127,7 +127,7 @@ private:
Idle
aFactoryIdle
;
Timer
aKeywordTimer
;
Link
<
>
aKeywordLink
;
Link
<
IndexTabPage_Impl
&
,
void
>
aKeywordLink
;
OUString
sFactory
;
OUString
sKeyword
;
...
...
@@ -154,12 +154,12 @@ public:
inline
OUString
GetFactory
()
const
{
return
sFactory
;
}
OUString
GetSelectEntry
()
const
;
inline
void
SetFocusOnBox
()
{
m_pIndexCB
->
GrabFocus
();
}
inline
bool
HasFocusOnEdit
()
const
{
return
m_pIndexCB
->
HasChildPathFocus
();
}
inline
bool
HasFocusOnEdit
()
const
{
return
m_pIndexCB
->
HasChildPathFocus
();
}
inline
void
SetKeywordHdl
(
const
Link
<>&
rLink
)
{
aKeywordLink
=
rLink
;
}
inline
void
SetKeywordHdl
(
const
Link
<
IndexTabPage_Impl
&
,
void
>&
rLink
)
{
aKeywordLink
=
rLink
;
}
void
SetKeyword
(
const
OUString
&
rKeyword
);
bool
HasKeyword
()
const
;
bool
HasKeywordIgnoreCase
();
bool
HasKeyword
()
const
;
bool
HasKeywordIgnoreCase
();
void
OpenKeyword
();
inline
void
SelectExecutableEntry
()
{
m_pIndexCB
->
SelectExecutableEntry
();
}
...
...
@@ -289,7 +289,7 @@ private:
Link
<>
aSelectFactoryLink
;
Link
<>
aPageDoubleClickLink
;
Link
<
>
aIndexKeywordLink
;
Link
<
IndexTabPage_Impl
&
,
void
>
aIndexKeywordLink
;
OUString
sKeyword
;
VclPtr
<
SfxHelpWindow_Impl
>
pParentWin
;
...
...
@@ -316,7 +316,7 @@ private:
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK_TYPED
(
InitHdl
,
Idle
*
,
void
);
DECL_LINK_TYPED
(
SelectFactoryHdl
,
Idle
*
,
void
);
DECL_LINK
(
KeywordHdl
,
void
*
);
DECL_LINK
_TYPED
(
KeywordHdl
,
IndexTabPage_Impl
&
,
void
);
DECL_LINK_TYPED
(
ContentTabPageDoubleClickHdl
,
SvTreeListBox
*
,
bool
);
public
:
...
...
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