Lines Matching defs:cat
575 Category_Struct *cat = new Category_Struct;
576 cat->title = cat_tag.GetTagByName(EC_TAG_CATEGORY_TITLE)->GetStringData();
577 cat->path = CPath(cat_tag.GetTagByName(EC_TAG_CATEGORY_PATH)->GetStringData());
578 cat->comment = cat_tag.GetTagByName(EC_TAG_CATEGORY_COMMENT)->GetStringData();
579 cat->color = cat_tag.GetTagByName(EC_TAG_CATEGORY_COLOR)->GetInt();
580 cat->prio = cat_tag.GetTagByName(EC_TAG_CATEGORY_PRIO)->GetInt();
581 theApp->glob_prefs->AddCat(cat);
584 Category_Struct *cat = new Category_Struct;
585 cat->title = _("All");
586 cat->color = 0;
587 cat->prio = PR_NORMAL;
588 theApp->glob_prefs->AddCat(cat);
629 int cat = catTag->GetInt();
630 Category_Struct* cs = theApp->glob_prefs->GetCategory(cat);
635 theApp->amuledlg->m_transferwnd->UpdateCategory(cat);
670 uint8 cat,
678 CEC_Category_Tag tag(cat, name, path.GetRaw(), comment, color, prio);
682 Category_Struct *category = m_CatList[cat];
693 void CPreferencesRem::RemoveCat(uint8 cat)
696 CEC_Category_Tag tag(cat, EC_DETAIL_CMD);
699 CPreferences::RemoveCat(cat);
1517 bool CDownQueueRem::AddLink(const wxString &link, uint8 cat)
1521 link_tag.AddTag(CECTag(EC_TAG_PARTFILE_CAT, cat));
1529 void CDownQueueRem::ResetCatParts(int cat)
1536 file->RemoveCategory(cat);
1738 void CDownQueueRem::Category(CPartFile *file, uint8 cat)
1741 file->SetCategory(cat);
1744 hashtag.AddTag(CECTag(EC_TAG_PARTFILE_CAT, cat));