/haiku/src/kits/tracker/ |
H A D | FilePanelPriv.h | 109 BPoseView* NewPoseView(Model* model, uint32);
|
H A D | FindPanel.cpp | 1939 Model model(&entry, true); 1940 if (model.InitCheck() != B_OK) 1945 menu->AddItem(new ModelMenuItem(&model, model.Name(), message)); 3077 Model model(&ref); 3078 if (model.IsQuery()) 3079 ProcessOneRef(&model); 3082 PRINT(("transient query killer: %s not a query\n", model.Name())); 3092 QueryOldEnough(Model* model) argument 3101 localtime_r(&model 3113 ProcessOneRef(Model* model) argument [all...] |
H A D | IconCache.cpp | 493 Model* model = modelOpener->TargetModel(); local 495 const char* fileType = model->MimeType(); 496 const char* nodePreferredApp = model->PreferredAppSignature(); 567 model->PrintToStream(); 579 Model* model, IconSource &source, 588 entry = fNodeCache.FindItem(model->NodeRef()); 608 BVolume volume(model->NodeRef()->device); 617 ("File %s; Line %d # adding entry for model %s\n", 618 __FILE__, __LINE__, model->Name())); 619 entry = fNodeCache.AddItem(model 576 GetVolumeIcon(AutoLock<SimpleIconCache>*nodeCacheLocker, AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap) argument 671 GetWellKnownIcon(AutoLock<SimpleIconCache>*, AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap) argument 784 GetNodeIcon(ModelNodeLazyOpener* modelOpener, AutoLock<SimpleIconCache>* nodeCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource& source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap, IconCacheEntry* entry, bool permanent) argument 849 GetGenericIcon(AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconSource &source, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap, IconCacheEntry* entry) argument 881 GetFallbackIcon(AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingOpenCache, Model* model, IconDrawMode mode, BSize size, LazyBitmapAllocator* lazyBitmap, IconCacheEntry* entry) argument 909 Preload(AutoLock<SimpleIconCache>* nodeCacheLocker, AutoLock<SimpleIconCache>* sharedCacheLocker, AutoLock<SimpleIconCache>** resultingCache, Model* model, IconDrawMode mode, BSize size, bool permanent) argument 1098 Draw(Model* model, BView* view, BPoint where, IconDrawMode mode, BSize size, bool async) argument 1128 SyncDraw(Model* model, BView* view, BPoint where, IconDrawMode mode, BSize size, void (*blitFunc)(BView*, BPoint, BBitmap*, void*), void* passThruState) argument 1151 Preload(Model* model, IconDrawMode mode, BSize size, bool permanent) argument 1199 Deleting(const Model* model) argument 1211 Removing(const Model* model) argument 1229 IconChanged(Model* model) argument 1374 IconHitTest(BPoint where, const Model* model, IconDrawMode mode, BSize size) argument 1775 IconChanged(const Model* model) argument [all...] |
H A D | IconCache.h | 347 // model for this node is getting deleted 371 // draw an icon for a model, load the icon from the appropriate 377 // draw an icon for a model, load the icon from the appropriate 390 void Removing(const Model* model); 467 Model* model, IconDrawMode mode, BSize size,
|
H A D | IconMenuItem.cpp | 70 ModelMenuItem::ModelMenuItem(const Model* model, const char* title, argument 75 fModel(*model), 87 if (model->IsRoot()) 88 SetLabel(model->Name()); 96 ModelMenuItem::ModelMenuItem(const Model* model, BMenu* menu, bool drawText, argument 100 fModel(*model), 231 SpecialModelMenuItem::SpecialModelMenuItem(const Model* model, BMenu* menu) argument 232 : ModelMenuItem(model, menu)
|
H A D | Model.cpp | 838 Model::SetLinkTo(Model* model) argument 841 ASSERT(!fLinkTo || (fLinkTo != model)); 844 fLinkTo = model; 1029 Model model(&entry); 1030 if (model.InitCheck() != B_OK) 1033 return model.CanHandleDrops(); 1108 // check if this model lists the type of dropped document as supported 1144 // we already know this model supports the file as a supertype, 1312 PRINT(("model name %s, entry name %s, inode %" B_PRIdINO ", dev %" 1321 PRINT(("model typ [all...] |
H A D | Model.h | 145 // where is this model getting it's icon from 183 // by model 272 // and have close up model when done, etc. 276 ModelNodeLazyOpener(Model* model, bool writable = false, 295 BModelOpener(Model* model) argument 296 : ModelNodeLazyOpener(model, false, false) 303 BModelWriteOpener(Model* model) argument 304 : ModelNodeLazyOpener(model, true, false) 481 ModelNodeLazyOpener::ModelNodeLazyOpener(Model* model, bool writable, argument 484 fModel(model), [all...] |
H A D | NavMenu.cpp | 150 const Model* model = item->TargetModel(); local 151 if (!model) 154 if (model->IsSymLink()) { 155 // find out what the model is, resolve if symlink 156 BEntry entry(model->EntryRef(), true); 172 } else if (model->IsDirectory() || model->IsRoot() || model->IsVolume()) 175 else if (model->IsFile() || model 571 AddOneItem(Model* model) argument 583 NewModelItem(Model* model, const BMessage* invokeMessage, const BMessenger& target, bool suppressFolderHierarchy, BContainerWindow* parentWindow, const BObjectList<BString>* typeslist, TrackingHookData* hook) argument 687 Model* model = new Model(&entry); local 787 AddNavDir(const Model* model, uint32 what, BHandler* target, bool populateSubmenu) argument 809 AddNavParentDir(const char* name,const Model* model, uint32 what, BHandler* target) argument 828 AddNavParentDir(const Model* model, uint32 what, BHandler* target) argument [all...] |
H A D | Navigator.cpp | 58 BNavigator::BNavigator(const Model* model) argument 65 model->GetPath(&fPath);
|
H A D | NodePreloader.cpp | 102 Model* model = fModelList.ItemAt(count); local 103 if (*model->NodeRef() == itemNode) 104 return model; 126 Model* model = FindModel(itemNode); local 127 if (model == NULL) 130 //PRINT(("preloader removing file %s\n", model->Name())); 131 IconCache::sIconCache->Removing(model); 132 fModelList.RemoveItem(model); 145 Model* model = FindModel(itemNode); local 146 if (model 190 Model* model = new Model(&ref, true); local [all...] |
H A D | OpenWithWindow.cpp | 617 Model model(ref, true, true); 618 if (model.InitCheck() != B_OK) 621 BString mimeType(model.MimeType()); 624 // if model is of unknown type, try mimeseting it first 625 model.Mimeset(true); 630 if (model.PreferredAppSignature()[0]) { 632 if (be_roster->FindApp(model.PreferredAppSignature(), &preferredRef) 634 queryIterator->PushUniqueSignature(model.PreferredAppSignature()); 639 mimeType = model.MimeType(); 960 OpenWithPoseView::OpenWithRelation(const Model* model) cons 970 OpenWithRelationDescription(const Model* model, BString* description) const argument 997 Model *model = new Model(ref, true, true); local 1009 RelationCachingModelProxy(Model* model) argument 1220 Model* model = fSupportingAppList->ItemAt(index)->fModel; local 1248 Model* model = proxy->fModel; local 1297 Model* model = proxy->fModel; local 1561 RelationDescription(const BMessage* entriesToOpen, const Model* model, BString* description) const argument [all...] |
H A D | OpenWithWindow.h | 158 virtual BPoseView* NewPoseView(Model* model, uint32 viewMode); 288 RelationCachingModelProxy(Model* model);
|
H A D | Pose.cpp | 70 // symlink pose uses the resolved model to retrieve the icon, if not broken 73 BPose::BPose(Model* model, BPoseView* view, uint32 clipboardMode, argument 76 fModel(model), 91 if (model->IsVolume()) { 93 dev_t device = model->NodeRef()->device;
|
H A D | PoseView.cpp | 223 BPoseView::BPoseView(Model* model, uint32 viewMode) argument 237 fModel(model), 778 Model* model = pose->TargetModel(); local 781 if (model->IsRoot()) 784 poseInfo.fInitedDirectory = model->EntryRef()->directory; 790 ModelNodeLazyOpener opener(model, true); 795 extendedPoseInfo = ReadExtendedPoseInfo(model); 817 if (model->InitCheck() != B_OK) { 822 ASSERT(model); 823 ASSERT(model 1265 AddPoses(Model* model) argument 1433 Model* model = 0; local 1624 Model* model = pose->TargetModel(); local 1746 Model* model = new Model(&entry); local 1756 CreatePose(Model* model, PoseInfo* poseInfo, bool insertionSort, int32* indexPtr, BRect* boundsPointer, bool forceDraw) argument 1925 Model* model = models[modelIndex]; local 2040 PoseVisible(const Model* model, const PoseInfo* poseInfo) argument 2047 ShouldShowPose(const Model* model, const PoseInfo* poseInfo) argument 2930 ReadPoseInfo(Model* model, PoseInfo* poseInfo) argument 3010 ReadExtendedPoseInfo(Model* model) argument 3739 Model* model = pose->TargetModel(); local 5152 Model* model = selectionList->ItemAt(i)->ResolvedModel(); local 5206 UpdateWasBrokenSymlinkBinder(BPose* pose, Model* model, int32 index, BPoseView* poseView, BObjectList<Model>* fBrokenLinks) argument 5242 PoseHandleDeviceUnmounted(BPose* pose, Model* model, int32 index, BPoseView* poseView, dev_t device) argument 5256 OneMetaMimeChanged(BPose* pose, Model* model, int32 index, BPoseView* poseView, const char* type) argument 5426 Model* model = new Model(&dirNode, &itemNode, name); local 5608 Model* model = new Model(dirNode, itemNode, name, true); local 7567 AddPoseRefToMessage(Model* model, BMessage* message) argument 8357 Model* model = pose->TargetModel(); local [all...] |
H A D | PoseView.h | 492 virtual void AddPoses(Model* model = NULL); 493 // if <model> is zero, PoseView has other means of iterating 510 static void PoseHandleDeviceUnmounted(BPose* pose, Model* model, 512 static void RemoveNonBootDesktopModels(BPose*, Model* model, int32, 1297 BPoseView::FindPose(const Model* model, int32* index) const argument 1299 return CurrentPoseList()->FindPose(model, index);
|
H A D | QueryContainerWindow.cpp | 67 BQueryContainerWindow::NewPoseView(Model* model, uint32) argument 69 return new BQueryPoseView(model); 81 BQueryContainerWindow::CreatePoseView(Model* model) argument 83 fPoseView = NewPoseView(model, kListMode);
|
H A D | QueryContainerWindow.h | 62 virtual BPoseView* NewPoseView(Model* model, uint32 viewMode);
|
H A D | QueryPoseView.cpp | 80 BQueryPoseView::BQueryPoseView(Model* model) argument 82 BPoseView(model, kListMode), 407 QueryEntryListCollection::QueryEntryListCollection(Model* model, argument 416 BNode* modelNode = model->Node();
|
H A D | Tests.cpp | 201 Model model(&entry, true); 206 if (model.IsDirectory()) 209 IconCache::sIconCache->Draw(&model, view, 257 BModel model(&entry, true); 262 if (model.IsDirectory()) 267 = BIconCache::GetIconCache(&model, kIconSize);
|
H A D | TextWidget.cpp | 70 BTextWidget::BTextWidget(Model* model, BColumn* column, BPoseView* view) argument 72 fText(WidgetAttributeText::NewWidgetText(model, column, view)), 78 fSymLink(model->IsSymLink()),
|
H A D | Thumbnails.cpp | 124 GenerateThumbnailJob(Model* model, const BFile& file, argument 127 fMimeType(model->MimeType()), 269 GenerateThumbnail(Model* model, color_space colorSpace, BSize size) argument 275 if ((*it)->fNodeRef == *model->NodeRef()) 280 BFile* file = dynamic_cast<BFile*>(model->Node()); 289 GenerateThumbnailJob* job = new(std::nothrow) GenerateThumbnailJob(model, 331 GetThumbnailFromAttr(Model* model, BBitmap* icon, BSize size) argument 333 if (model == NULL || icon == NULL) 336 status_t result = model->InitCheck(); 344 BNode* node = model [all...] |
H A D | Thumbnails.h | 23 status_t GetThumbnailFromAttr(Model* model, BBitmap* icon, BSize size);
|
H A D | Tracker.cpp | 198 GetVolumeFlags(Model* model) argument 201 if (model->IsVolume()) { 209 if (!strcmp(info.volume_name,model->Name())) 214 if (!fs_stat_dev(model->NodeRef()->device,&info)) 299 Model* model = new Model(&entry, true); local 300 if (model->InitCheck() == B_OK) { 304 deskWindow->CreatePoseView(model); 308 // create model for root of everything 310 Model model(&entry); 311 if (model 852 Model* model = NULL; local 1071 OpenContainerWindow(Model* model, BMessage* originalRefsList, OpenSelector openSelector, uint32 openFlags, bool checkAlreadyOpen, const BMessage* stateMessage) argument 1186 Model* model = new Model(&entry); local 1518 Model* model = new Model(&entry); local 1547 Model* model = new Model(&entry); local [all...] |
H A D | VirtualDirectoryEntryList.cpp | 24 VirtualDirectoryEntryList::VirtualDirectoryEntryList(Model* model) argument 38 fStatus = manager->ResolveDirectoryPaths(*model->NodeRef(), 39 *model->EntryRef(), directoryPaths, &fDefinitionFileRef);
|
H A D | VirtualDirectoryPoseView.cpp | 30 VirtualDirectoryPoseView::VirtualDirectoryPoseView(Model* model) argument 32 BPoseView(model, kListMode), 46 manager->GetRootDefinitionFile(*model->NodeRef(), fRootDefinitionFileRef); 47 fIsRoot = fRootDefinitionFileRef == *model->NodeRef(); 495 Model* model = TargetModel(); local 496 status_t error = manager->ResolveDirectoryPaths(*model->NodeRef(), 497 *model->EntryRef(), fDirectoryPaths); 501 manager->GetDefinitionFileChangeTime(*model->NodeRef(), fFileChangeTime);
|