devtools: move constructors implementation into cxx
Change-Id: Ic1b0b88bebe076e99107f6ae0eb379bb2d2db09f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110735 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
committed by
Tomaž Vajngerl
parent
c113708245
commit
5a3b9b4b34
@@ -28,13 +28,7 @@ private:
|
||||
|
||||
public:
|
||||
DocumentModelTreeHandler(std::unique_ptr<weld::TreeView>& pDocumentModelTree,
|
||||
css::uno::Reference<css::uno::XInterface> const& xDocument)
|
||||
: mpDocumentModelTree(pDocumentModelTree)
|
||||
, mxDocument(xDocument)
|
||||
{
|
||||
mpDocumentModelTree->connect_expanding(
|
||||
LINK(this, DocumentModelTreeHandler, ExpandingHandler));
|
||||
}
|
||||
css::uno::Reference<css::uno::XInterface> const& xDocument);
|
||||
|
||||
DECL_LINK(ExpandingHandler, const weld::TreeIter&, bool);
|
||||
|
||||
|
@@ -26,13 +26,7 @@ private:
|
||||
|
||||
public:
|
||||
ObjectInspectorTreeHandler(std::unique_ptr<weld::TreeView>& pObjectInspectorTree,
|
||||
std::unique_ptr<weld::Label>& pClassNameLabel)
|
||||
: mpObjectInspectorTree(pObjectInspectorTree)
|
||||
, mpClassNameLabel(pClassNameLabel)
|
||||
{
|
||||
mpObjectInspectorTree->connect_expanding(
|
||||
LINK(this, ObjectInspectorTreeHandler, ExpandingHandler));
|
||||
}
|
||||
std::unique_ptr<weld::Label>& pClassNameLabel);
|
||||
|
||||
DECL_LINK(ExpandingHandler, const weld::TreeIter&, bool);
|
||||
|
||||
|
@@ -566,6 +566,15 @@ public:
|
||||
|
||||
} // end anonymous namespace
|
||||
|
||||
DocumentModelTreeHandler::DocumentModelTreeHandler(
|
||||
std::unique_ptr<weld::TreeView>& pDocumentModelTree,
|
||||
css::uno::Reference<css::uno::XInterface> const& xDocument)
|
||||
: mpDocumentModelTree(pDocumentModelTree)
|
||||
, mxDocument(xDocument)
|
||||
{
|
||||
mpDocumentModelTree->connect_expanding(LINK(this, DocumentModelTreeHandler, ExpandingHandler));
|
||||
}
|
||||
|
||||
uno::Reference<uno::XInterface> DocumentModelTreeHandler::getObjectByID(OUString const& rID)
|
||||
{
|
||||
uno::Reference<uno::XInterface> xObject;
|
||||
|
@@ -428,6 +428,16 @@ public:
|
||||
|
||||
} // end anonymous namespace
|
||||
|
||||
ObjectInspectorTreeHandler::ObjectInspectorTreeHandler(
|
||||
std::unique_ptr<weld::TreeView>& pObjectInspectorTree,
|
||||
std::unique_ptr<weld::Label>& pClassNameLabel)
|
||||
: mpObjectInspectorTree(pObjectInspectorTree)
|
||||
, mpClassNameLabel(pClassNameLabel)
|
||||
{
|
||||
mpObjectInspectorTree->connect_expanding(
|
||||
LINK(this, ObjectInspectorTreeHandler, ExpandingHandler));
|
||||
}
|
||||
|
||||
IMPL_LINK(ObjectInspectorTreeHandler, ExpandingHandler, weld::TreeIter const&, rParent, bool)
|
||||
{
|
||||
OUString sID = mpObjectInspectorTree->get_id(rParent);
|
||||
|
Reference in New Issue
Block a user