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
0aae2a87
Kaydet (Commit)
0aae2a87
authored
Tem 01, 2015
tarafından
Szymon Kłos
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RemoteFilesDialog: methods implementations
Change-Id: I3938a17fe180273ec9845720290b1503d15bfcc3
üst
fb156b90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
RemoteFilesDialog.hxx
include/svtools/RemoteFilesDialog.hxx
+2
-1
RemoteFilesDialog.cxx
svtools/source/dialogs/RemoteFilesDialog.cxx
+10
-8
No files found.
include/svtools/RemoteFilesDialog.hxx
Dosyayı görüntüle @
0aae2a87
...
...
@@ -44,6 +44,7 @@ using namespace ::com::sun::star::beans;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
ucb
;
using
namespace
::
com
::
sun
::
star
::
task
;
using
namespace
::
com
::
sun
::
star
::
ui
::
dialogs
;
using
namespace
::
comphelper
;
using
namespace
::
svt
;
...
...
@@ -85,7 +86,7 @@ public:
virtual
SvtFileView
*
GetView
();
virtual
void
SetHasFilename
(
bool
bHasFilename
);
virtual
void
SetHasFilename
(
bool
);
virtual
void
SetBlackList
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
rBlackList
);
virtual
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
GetBlackList
()
const
;
virtual
void
SetStandardDir
(
const
OUString
&
rStdDir
);
...
...
svtools/source/dialogs/RemoteFilesDialog.cxx
Dosyayı görüntüle @
0aae2a87
...
...
@@ -749,9 +749,8 @@ SvtFileView* RemoteFilesDialog::GetView()
return
m_pFileView
;
}
void
RemoteFilesDialog
::
SetHasFilename
(
bool
bHasFilename
)
void
RemoteFilesDialog
::
SetHasFilename
(
bool
)
{
// TODO
}
void
RemoteFilesDialog
::
SetBlackList
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
rBlackList
)
...
...
@@ -846,6 +845,7 @@ const OUString& RemoteFilesDialog::GetPath()
std
::
vector
<
OUString
>
RemoteFilesDialog
::
GetPathList
()
const
{
// TODO
std
::
vector
<
OUString
>
aPaths
;
aPaths
.
push_back
(
m_sPath
);
return
aPaths
;
...
...
@@ -853,8 +853,12 @@ std::vector<OUString> RemoteFilesDialog::GetPathList() const
bool
RemoteFilesDialog
::
ContentIsFolder
(
const
OUString
&
rURL
)
{
// TODO
return
false
;
Reference
<
XComponentContext
>
xContext
=
::
comphelper
::
getProcessComponentContext
();
Reference
<
XInteractionHandler
>
xInteractionHandler
(
InteractionHandler
::
createWithParent
(
xContext
,
0
),
UNO_QUERY_THROW
);
Reference
<
XCommandEnvironment
>
xEnv
=
new
::
ucbhelper
::
CommandEnvironment
(
xInteractionHandler
,
Reference
<
XProgressHandler
>
()
);
::
ucbhelper
::
Content
aContent
(
rURL
,
xEnv
,
xContext
);
return
aContent
.
isFolder
();
}
sal_Int32
RemoteFilesDialog
::
getTargetColorDepth
()
...
...
@@ -886,14 +890,12 @@ bool RemoteFilesDialog::getShowState()
return
false
;
}
Control
*
RemoteFilesDialog
::
getControl
(
sal_Int16
_nControlId
,
bool
_bLabelContr
ol
)
const
Control
*
RemoteFilesDialog
::
getControl
(
sal_Int16
,
bo
ol
)
const
{
// TODO
return
NULL
;
}
void
RemoteFilesDialog
::
enableControl
(
sal_Int16
_nControlId
,
bool
_bEnable
)
void
RemoteFilesDialog
::
enableControl
(
sal_Int16
,
bool
)
{
// TODO
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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