Lines Matching refs:theApp
45 #include "amule.h" // Needed for theApp
97 theApp->glob_prefs->GetCategory(0)->title = GetCatTitle(thePrefs::GetAllcatFilter());
98 theApp->glob_prefs->GetCategory(0)->path = thePrefs::GetIncomingDir();
101 for ( uint32 i = 0; i < theApp->glob_prefs->GetCatCount(); i++ ) {
102 m_dlTab->AddPage( new wxPanel(m_dlTab), theApp->glob_prefs->GetCategory(i)->title );
149 theApp->amuledlg->m_searchwnd->UpdateCatChoice();
154 uint32 nrCats = theApp->glob_prefs->GetCatCount();
162 for (CDownQueueRem::const_iterator it = theApp->downloadqueue->begin(); it != theApp->downloadqueue->end(); ++it) {
166 theApp->downloadqueue->CopyFileList(fileList, true);
197 wxString label = theApp->glob_prefs->GetCategory(i)->title;
237 if (theApp->glob_prefs->GetCatCount() >= 99) {
262 theApp->downloadqueue->ResetCatParts(index);
263 theApp->glob_prefs->RemoveCat(index);
265 if ( theApp->glob_prefs->GetCatCount() == 1 ) {
268 theApp->glob_prefs->SaveCats();
269 theApp->amuledlg->m_searchwnd->UpdateCatChoice();
300 theApp->glob_prefs->GetCategory(0)->title = GetCatTitle( thePrefs::GetAllcatFilter() );
306 theApp->glob_prefs->SaveCats();