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
6e1658ea
Kaydet (Commit)
6e1658ea
authored
Kas 01, 2007
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS dba24b (1.32.130); FILE MERGED
2007/10/16 08:31:48 oj 1.32.130.1: #i56898# post 2nd user event
üst
e5f235be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
TableWindowListBox.cxx
dbaccess/source/ui/querydesign/TableWindowListBox.cxx
+15
-4
No files found.
dbaccess/source/ui/querydesign/TableWindowListBox.cxx
Dosyayı görüntüle @
6e1658ea
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: TableWindowListBox.cxx,v $
*
* $Revision: 1.3
2
$
* $Revision: 1.3
3
$
*
* last change: $Author:
obo $ $Date: 2006-09-17 07:26:11
$
* last change: $Author:
hr $ $Date: 2007-11-01 15:34:24
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -88,6 +88,7 @@ OTableWindowListBox::OTableWindowListBox( OTableWindow* pParent )
,
m_aMousePos
(
Point
(
0
,
0
)
)
,
m_pTabWin
(
pParent
)
,
m_nDropEvent
(
0
)
,
m_nUiEvent
(
0
)
,
m_bReallyScrolled
(
sal_False
)
,
m_bDragSource
(
sal_False
)
{
...
...
@@ -107,7 +108,9 @@ void OTableWindowListBox::dragFinished( )
// first show the error msg when existing
m_pTabWin
->
getDesignView
()
->
getController
()
->
showError
(
m_pTabWin
->
getDesignView
()
->
getController
()
->
clearOccuredError
());
// second look for ui activities which should happen after d&d
m_pTabWin
->
getTableView
()
->
lookForUiActivities
();
if
(
m_nUiEvent
)
Application
::
RemoveUserEvent
(
m_nUiEvent
);
m_nUiEvent
=
Application
::
PostUserEvent
(
LINK
(
this
,
OTableWindowListBox
,
LookForUiHdl
));
}
//------------------------------------------------------------------------------
...
...
@@ -116,6 +119,8 @@ OTableWindowListBox::~OTableWindowListBox()
DBG_DTOR
(
OTableWindowListBox
,
NULL
);
if
(
m_nDropEvent
)
Application
::
RemoveUserEvent
(
m_nDropEvent
);
if
(
m_nUiEvent
)
Application
::
RemoveUserEvent
(
m_nUiEvent
);
if
(
m_aScrollTimer
.
IsActive
()
)
m_aScrollTimer
.
Stop
();
m_pTabWin
=
NULL
;
...
...
@@ -330,6 +335,13 @@ sal_Int8 OTableWindowListBox::AcceptDrop( const AcceptDropEvent& _rEvt )
}
// -----------------------------------------------------------------------------
//------------------------------------------------------------------------------
IMPL_LINK
(
OTableWindowListBox
,
LookForUiHdl
,
void
*
,
/*EMPTY_ARG*/
)
{
m_nUiEvent
=
0
;
m_pTabWin
->
getTableView
()
->
lookForUiActivities
();
return
0L
;
}
//------------------------------------------------------------------------------
IMPL_LINK
(
OTableWindowListBox
,
DropHdl
,
void
*
,
/*EMPTY_ARG*/
)
{
...
...
@@ -355,7 +367,6 @@ sal_Int8 OTableWindowListBox::ExecuteDrop( const ExecuteDropEvent& _rEvt )
TransferableDataHelper
aDropped
(
_rEvt
.
maDropEvent
.
Transferable
);
if
(
!
m_bDragSource
&&
OJoinExchObj
::
isFormatAvailable
(
aDropped
.
GetDataFlavorExVector
()))
{
// don't drop into the window if it's the drag source itself
m_aDropInfo
.
aSource
=
OJoinExchangeData
(
this
);
m_aDropInfo
.
aDest
=
OJoinExchObj
::
GetSourceDescription
(
_rEvt
.
maDropEvent
.
Transferable
);
...
...
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