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
545fafea
Kaydet (Commit)
545fafea
authored
Kas 06, 2014
tarafından
Tobias Madl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
changed some timer to idle
Change-Id: Ibd3a4f66cec6fde4fadc064f27ac44901d005b15
üst
7523b588
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
17 deletions
+17
-17
doc.hxx
sw/inc/doc.hxx
+1
-1
docnew.cxx
sw/source/core/doc/docnew.cxx
+3
-3
labfmt.cxx
sw/source/ui/envelp/labfmt.cxx
+4
-4
labfmt.hxx
sw/source/ui/envelp/labfmt.hxx
+1
-1
navipi.hxx
sw/source/uibase/inc/navipi.hxx
+1
-1
navipi.cxx
sw/source/uibase/utlui/navipi.cxx
+7
-7
No files found.
sw/inc/doc.hxx
Dosyayı görüntüle @
545fafea
...
...
@@ -268,7 +268,7 @@ class SW_DLLPUBLIC SwDoc :
/* @@@MAINTAINABILITY-HORROR@@@
Timer should not be members of the model
*/
Timer
maOLEModifiedTimer
;
//< Timer for update modified OLE-Objecs
Idle
maOLEModifiedIdle
;
//< Timer for update modified OLE-Objecs
SwDBData
maDBData
;
//< database descriptor
OUString
msTOIAutoMarkURL
;
//< URL of table of index AutoMark file
boost
::
ptr_vector
<
boost
::
nullable
<
OUString
>
>
maPatternNms
;
// Array for names of document-templates
...
...
sw/source/core/doc/docnew.cxx
Dosyayı görüntüle @
545fafea
...
...
@@ -340,8 +340,8 @@ SwDoc::SwDoc()
new
SwTxtNode
(
SwNodeIndex
(
GetNodes
().
GetEndOfContent
()
),
getIDocumentStylePoolAccess
().
GetTxtCollFromPool
(
RES_POOLCOLL_STANDARD
));
maOLEModified
Timer
.
SetTimeout
(
1000
);
maOLEModified
Timer
.
SetTimeout
Hdl
(
LINK
(
this
,
SwDoc
,
DoUpdateModifiedOLE
));
maOLEModified
Idle
.
SetPriority
(
VCL_IDLE_PRIORITY_LOWEST
);
maOLEModified
Idle
.
SetIdle
Hdl
(
LINK
(
this
,
SwDoc
,
DoUpdateModifiedOLE
));
#if HAVE_FEATURE_DBCONNECTIVITY
// Create DBManager
...
...
@@ -785,7 +785,7 @@ void SwDoc::SetPreviewPrtData( const SwPagePreviewPrtData* pNew )
void
SwDoc
::
SetOLEObjModified
()
{
if
(
getIDocumentLayoutAccess
().
GetCurrentViewShell
()
)
maOLEModified
Timer
.
Start
();
if
(
getIDocumentLayoutAccess
().
GetCurrentViewShell
()
)
maOLEModified
Idle
.
Start
();
}
/** SwDoc: Reading and writing of the layout cache. */
...
...
sw/source/ui/envelp/labfmt.cxx
Dosyayı görüntüle @
545fafea
...
...
@@ -347,8 +347,8 @@ SwLabFmtPage::SwLabFmtPage(vcl::Window* pParent, const SfxItemSet& rSet)
m_pSavePB
->
SetClickHdl
(
LINK
(
this
,
SwLabFmtPage
,
SaveHdl
));
// Set timer
aPreview
Timer
.
SetTimeout
(
1000
);
aPreview
Timer
.
SetTimeout
Hdl
(
LINK
(
this
,
SwLabFmtPage
,
PreviewHdl
));
aPreview
Idle
.
SetPriority
(
VCL_IDLE_PRIORITY_LOWEST
);
aPreview
Idle
.
SetIdle
Hdl
(
LINK
(
this
,
SwLabFmtPage
,
PreviewHdl
));
}
SwLabFmtPage
::~
SwLabFmtPage
()
...
...
@@ -359,7 +359,7 @@ SwLabFmtPage::~SwLabFmtPage()
IMPL_LINK_NOARG_INLINE_START
(
SwLabFmtPage
,
ModifyHdl
)
{
bModified
=
true
;
aPreview
Timer
.
Start
();
aPreview
Idle
.
Start
();
return
0
;
}
IMPL_LINK_NOARG_INLINE_END
(
SwLabFmtPage
,
ModifyHdl
)
...
...
@@ -367,7 +367,7 @@ IMPL_LINK_NOARG_INLINE_END(SwLabFmtPage, ModifyHdl)
// Invalidate preview
IMPL_LINK_NOARG_INLINE_START
(
SwLabFmtPage
,
PreviewHdl
)
{
aPreview
Timer
.
Stop
();
aPreview
Idle
.
Stop
();
ChangeMinMax
();
FillItem
(
aItem
);
m_pPreview
->
UpdateItem
(
aItem
);
...
...
sw/source/ui/envelp/labfmt.hxx
Dosyayı görüntüle @
545fafea
...
...
@@ -83,7 +83,7 @@ class SwLabFmtPage : public SfxTabPage
MetricField
*
m_pPHeightField
;
PushButton
*
m_pSavePB
;
Timer
aPreviewTimer
;
Idle
aPreviewIdle
;
bool
bModified
;
SwLabItem
aItem
;
...
...
sw/source/uibase/inc/navipi.hxx
Dosyayı görüntüle @
545fafea
...
...
@@ -60,7 +60,7 @@ class SwNavigationPI : public vcl::Window,
SwContentTree
aContentTree
;
SwGlobalTree
aGlobalTree
;
ListBox
aDocListBox
;
Timer
aPageChgTimer
;
Idle
aPageChgIdle
;
OUString
sContentFileName
;
OUString
aContextArr
[
3
];
OUString
aStatusArr
[
4
];
...
...
sw/source/uibase/utlui/navipi.cxx
Dosyayı görüntüle @
545fafea
...
...
@@ -466,8 +466,8 @@ IMPL_LINK( SwNavigationPI, EditAction, NumEditAction *, pEdit )
SwView
*
pView
=
GetCreateView
();
if
(
pView
)
{
if
(
aPageChg
Timer
.
IsActive
())
aPageChg
Timer
.
Stop
();
if
(
aPageChg
Idle
.
IsActive
())
aPageChg
Idle
.
Stop
();
pCreateView
->
GetWrtShell
().
GotoPage
((
sal_uInt16
)
pEdit
->
GetValue
(),
true
);
pCreateView
->
GetEditWin
().
GrabFocus
();
pCreateView
->
GetViewFrame
()
->
GetBindings
().
Invalidate
(
FN_STAT_PAGE
);
...
...
@@ -833,8 +833,8 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings,
else
aContentTree
.
GrabFocus
();
UsePage
(
0
);
aPageChg
Timer
.
SetTimeout
Hdl
(
LINK
(
this
,
SwNavigationPI
,
ChangePageHdl
));
aPageChg
Timer
.
SetTimeout
(
PAGE_CHANGE_TIMEOU
T
);
aPageChg
Idle
.
SetIdle
Hdl
(
LINK
(
this
,
SwNavigationPI
,
ChangePageHdl
));
aPageChg
Idle
.
SetPriority
(
VCL_IDLE_PRIORITY_LOWES
T
);
aContentTree
.
SetAccessibleName
(
SW_RESSTR
(
STR_ACCESS_TL_CONTENT
));
aGlobalTree
.
SetAccessibleName
(
SW_RESSTR
(
STR_ACCESS_TL_GLOBAL
));
...
...
@@ -1295,9 +1295,9 @@ IMPL_LINK_NOARG(SwNavigationPI, ChangePageHdl)
IMPL_LINK_NOARG
(
SwNavigationPI
,
PageEditModifyHdl
)
{
if
(
aPageChg
Timer
.
IsActive
())
aPageChg
Timer
.
Stop
();
aPageChg
Timer
.
Start
();
if
(
aPageChg
Idle
.
IsActive
())
aPageChg
Idle
.
Stop
();
aPageChg
Idle
.
Start
();
return
0
;
}
...
...
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