Home
last modified time | relevance | path

Searched refs:TargetModel (Results 1 – 25 of 31) sorted by relevance

12

/haiku/src/kits/tracker/infowindow/
H A DInfoWindow.cpp124 BModelOpener modelOpener(TargetModel()); in BInfoWindow()
125 if (TargetModel()->InitCheck() != B_OK) in BInfoWindow()
128 fHeaderView = new HeaderView(TargetModel()); in BInfoWindow()
134 fGeneralInfoView = new GeneralInfoView(TargetModel()); in BInfoWindow()
146 tabView->AddTab(new AttributesView(TargetModel())); in BInfoWindow()
193 return *TargetModel()->NodeRef() == *node; in IsShowing()
200 if (TargetModel()->InitCheck() != B_OK) { in Show()
224 if (!TargetModel()->IsVolume() && !TargetModel()->IsRoot()) { in Show()
225 if (TargetModel()->IsDirectory()) { in Show()
232 fGeneralInfoView->SetLastSize(TargetModel()->StatBuf()->st_size); in Show()
[all …]
H A DInfoWindow.h64 Model* TargetModel() const;
105 BInfoWindow::TargetModel() const in TargetModel() function
/haiku/src/kits/tracker/
H A DPoseList.cpp49 ASSERT(pose->TargetModel()); in FindPose()
50 if (*pose->TargetModel()->NodeRef() == *node) { in FindPose()
68 ASSERT(pose->TargetModel()); in FindPose()
69 if (*pose->TargetModel()->EntryRef() == *entry) { in FindPose()
93 Model* model = pose->TargetModel(); in DeepFindPose()
124 Model *model = pose->TargetModel(); in FindAllPoses()
140 Model model(pose->TargetModel()->EntryRef(), true); in FindAllPoses()
156 ASSERT(pose->TargetModel()); in FindPoseByFileName()
157 if (strcmp(pose->TargetModel()->EntryRef()->name, name) == 0) { in FindPoseByFileName()
H A DVirtualDirectoryPoseView.cpp120 if (fRootDefinitionFileRef.node < 0 || *ref != *TargetModel()->EntryRef()) in InitDirentIterator()
129 *TargetModel()->NodeRef(), fDirectoryPaths); in InitDirentIterator()
150 TTracker::WatchNode(TargetModel()->NodeRef(), in StartWatching()
246 if (manager->TranslateDirectoryEntry(*TargetModel()->NodeRef(), in _EntryCreated()
256 if (nodeRef == *pose->TargetModel()->NodeRef()) { in _EntryCreated()
264 manager->DirectoryRemoved(*pose->TargetModel()->NodeRef()); in _EntryCreated()
270 *pose->TargetModel()->NodeRef(), *pose->TargetModel()->EntryRef()); in _EntryCreated()
297 if (nodeRef == *TargetModel()->NodeRef()) in _EntryRemoved()
308 NotOwningEntryRef poseEntryRef = *pose->TargetModel()->EntryRef(); in _EntryRemoved()
315 *pose->TargetModel()->NodeRef(), in _EntryRemoved()
[all …]
H A DContainerWindow.cpp131 const node_ref* ref1 = item1->TargetModel()->NodeRef(); in CompareContainerWindowNodeRef()
132 const node_ref* ref2 = item2->TargetModel()->NodeRef(); in CompareContainerWindowNodeRef()
733 ->FirstItem()->TargetModel()->EntryRef() : NULL, in RepopulateMenus()
767 if (!TargetModel()->IsRoot() && !TargetModel()->IsTrash()) in Init()
918 if (!TargetModel()->IsRoot() && opener.Node() != NULL) { in RestoreStateCommon()
944 TargetModel()->GetPath(&path); in UpdateTitle()
948 SetTitle(TargetModel()->Name()); in UpdateTitle()
952 Navigator()->UpdateLocation(TargetModel(), kActionUpdatePath); in UpdateTitle()
964 if (!TargetModel()->IsRoot() && opener.Node() != NULL) { in UpdateBackgroundImage()
1197 BContainerWindow::TargetModel() const in TargetModel() function in BContainerWindow
[all …]
H A DPoseList.h91 Model* model = pose->TargetModel(); in EachPoseAndModel()
106 Model* model = pose->TargetModel(); in EachPoseAndModel()
121 Model* model = pose->TargetModel(); in EachPoseAndModel()
136 Model* model = pose->TargetModel(); in EachPoseAndModel()
150 Model* model = pose->TargetModel()->ResolveIfLink(); in EachPoseAndResolvedModel()
165 Model* model = pose->TargetModel()->ResolveIfLink(); in EachPoseAndResolvedModel()
180 Model* model = pose->TargetModel()->ResolveIfLink(); in EachPoseAndResolvedModel()
195 Model* model = pose->TargetModel()->ResolveIfLink(); in EachPoseAndResolvedModel()
H A DFilePanelPriv.cpp361 ref == *panel->TargetModel()->EntryRef() ? 0 : 100000, 200000, in MessageDropFilter()
410 if (*(panel->TargetModel()->NodeRef()) == itemNode) { in FSFilter()
411 panel->TargetModel()->UpdateEntryRef(&dirNode, name); in FSFilter()
412 panel->SetTo(panel->TargetModel()->EntryRef()); in FSFilter()
426 if (*(panel->TargetModel()->NodeRef()) == itemNode) { in FSFilter()
600 Model* model = selectionList->FirstItem()->TargetModel(); in AdjustButton()
619 Model* model = selectionList->ItemAt(index)->TargetModel(); in AdjustButton()
669 *ref = *pose->TargetModel()->EntryRef(); in GetNextEntryRef()
715 BEntry entry(TargetModel()->EntryRef()); in Init()
1074 EnableNamedMenuItem(fMenuBar, kNewFolder, !TargetModel()->IsRoot() in MenusBeginning()
[all …]
H A DDraggableContainerIcon.cpp74 if (window->TargetModel()->IsTrash() || window->TargetModel()->IsPrintersDir()) in MouseDown()
80 if (IconCache::sIconCache->IconHitTest(where, window->TargetModel(), kNormalIcon, fIconSize)) { in MouseDown()
116 Model* model = window->TargetModel(); in MouseMoved()
215 IconCache::sIconCache->Draw(window->TargetModel(), this, in Draw()
H A DPoseView.cpp208 index)->TargetModel()->EntryRef()))); in CopySelectionListToEntryRefList()
363 if (TargetModel() != NULL && TargetModel()->IsTrash()) in InitCommon()
366 AddPoses(TargetModel()); in InitCommon()
392 if (TargetModel() != NULL && TargetModel()->IsRoot()) { in RestoreColumnState()
513 if (TargetModel() != NULL && TargetModel()->IsRoot()) { in RestoreState()
658 if (TargetModel() != NULL && TargetModel()->IsRoot()) { in SaveColumnState()
697 if (TargetModel() != NULL && TargetModel()->IsRoot()) { in SaveState()
747 Model* targetModel = TargetModel(); in SavePoseLocations()
750 BVolume volume(TargetModel()->NodeRef()->device); in SavePoseLocations()
768 Model* model = pose->TargetModel(); in SavePoseLocations()
[all …]
H A DQueryPoseView.cpp158 message.AddRef("refs", TargetModel()->EntryRef()); in EditQueries()
226 AddPoses(TargetModel()); in Refresh()
227 TargetModel()->CloseNode(); in Refresh()
244 DeletePose(pose->TargetModel()->NodeRef()); in AddPosesCompleted()
365 TargetModel()->OpenNode(); in InitDirentIterator()
366 filter->LoadDirectoryFiltersFromFile(TargetModel()->Node()); in InitDirentIterator()
367 TargetModel()->CloseNode(); in InitDirentIterator()
385 BModelOpener opener(TargetModel()); in SearchForType()
391 = TargetModel()->Node()->GetAttrInfo(kAttrQueryInitialMime, in SearchForType()
394 TargetModel()->Node()->ReadAttrString(kAttrQueryInitialMime, in SearchForType()
H A DPoseViewScripting.cpp295 launchMessage.AddRef("refs", pose->TargetModel()->EntryRef()); in ExecuteProperty()
447 new entry_ref(*pose->TargetModel()->EntryRef())); in DeleteProperty()
503 if (TargetModel() == NULL) in GetProperty()
506 reply->AddRef("result", TargetModel()->EntryRef()); in GetProperty()
515 TargetModel()->EntryRef()); in GetProperty()
546 pose->TargetModel()->EntryRef()); in GetProperty()
564 PoseAtIndex(index)->TargetModel()->EntryRef()); in GetProperty()
584 PoseAtIndex(index)->TargetModel()->EntryRef()); in GetProperty()
608 reply->AddRef("result", pose->TargetModel()->EntryRef()); in GetProperty()
H A DNavigator.cpp233 if (Window() && Window()->TargetModel()) in SendNavigationMessage()
234 nodeRef = Window()->TargetModel()->NodeRef(); in SendNavigationMessage()
297 if (Window() && Window()->TargetModel()) { in GoTo()
298 Window()->TargetModel()->GetPath(&path); in GoTo()
H A DPendingNodeMonitorCache.cpp137 } else if (item->Match(pose->TargetModel()->NodeRef())) { in PoseCreatedOrMoved()
141 pose->TargetModel()->PrintToStream(); in PoseCreatedOrMoved()
H A DCountView.cpp291 if (fPoseView->IsFilePanel() || fPoseView->TargetModel() == NULL) in MouseDown()
294 if (!window->TargetModel()->IsRoot()) { in MouseDown()
297 if (entry.SetTo(window->TargetModel()->EntryRef()) == B_OK) in MouseDown()
H A DPose.h84 Model* TargetModel() const;
162 BPose::TargetModel() const in TargetModel() function
H A DDirMenu.cpp194 entry.SetTo(item->TargetModel()->EntryRef()); in Populate()
226 window->TargetModel()->NodeRef(), sizeof (node_ref)); in AddItemToDirMenu()
H A DOpenWithWindow.cpp288 (void*)selectedAppPose->TargetModel()->EntryRef()); in MakeDefaultAndOpen()
729 BEntry entry(pose->TargetModel()->EntryRef()); in OpenSelection()
733 errorString.ReplaceFirst("%appname", pose->TargetModel()->Name()); in OpenSelection()
742 if (OpenWithRelation(pose->TargetModel()) == kNoRelation) { in OpenSelection()
751 warning.ReplaceFirst("%appname", pose->TargetModel()->Name()); in OpenSelection()
768 message.AddRef("handler", pose->TargetModel()->EntryRef()); in OpenSelection()
798 Model* firstSelected = SelectionList()->FirstItem()->TargetModel(); in Pulse()
819 TargetModel()->EntryRef()) != fPreferredRef); in Pulse()
1329 window->TargetModel()->NodeRef(), sizeof(node_ref)); in DoneBuildingItemList()
H A DNavMenu.cpp150 const Model* model = item->TargetModel(); in SpringLoadedFolderSetMenuStates()
288 originatingWindow->TargetModel()->NodeRef(), sizeof(node_ref)); in BNavMenu()
321 originatingWindow->TargetModel()->NodeRef(), sizeof (node_ref)); in BNavMenu()
727 return item1->TargetModel()->CompareFolderNamesFirst( in CompareFolderNamesFirstOne()
728 item2->TargetModel()); in CompareFolderNamesFirstOne()
H A DModel.h286 Model* TargetModel() const;
540 ModelNodeLazyOpener::TargetModel() const in TargetModel() function
H A DTracker.cpp376 if (window->TargetModel() != NULL && !window->TargetModel()->IsDesktop()) { in QuitRequested()
377 if (window->TargetModel()->IsRoot()) { in QuitRequested()
382 const entry_ref* ref = window->TargetModel()->EntryRef(); in QuitRequested()
388 = GetVolumeFlags(window->TargetModel()); in QuitRequested()
1400 if (window && window->TargetModel()) { in CloseWindowAndChildren()
1402 wind_entry.SetTo(window->TargetModel()->EntryRef()); in CloseWindowAndChildren()
1404 if ((*window->TargetModel()->NodeRef() == *node) in CloseWindowAndChildren()
H A DPose.cpp367 ASSERT(TargetModel()->IsSymLink()); in UpdateBrokenSymLink()
368 ASSERT(TargetModel()->LinkTo() == NULL); in UpdateBrokenSymLink()
369 if (!TargetModel()->IsSymLink() || TargetModel()->LinkTo() != NULL) in UpdateBrokenSymLink()
997 TargetModel()->PrintToStream(); in PrintToStream()
H A DWidgetAttributeText.h104 Model* TargetModel() const;
140 WidgetAttributeText::TargetModel() const in TargetModel() function
H A DDesktopPoseView.cpp127 ASSERT(TargetModel()); in FSNotification()
/haiku/src/add-ons/tracker/iconvader/
H A DIconVader.cpp93 if (pose->TargetModel()->IsFile()) in process_refs()
95 if (pose->TargetModel()->IsDirectory()) in process_refs()
97 if (pose->TargetModel()->IsSymLink()) in process_refs()
/haiku/headers/private/tracker/
H A DIconMenuItem.h98 const Model* TargetModel() const;
117 ModelMenuItem::TargetModel() const in TargetModel() function

12