• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/unix/

Lines Matching defs:sTmp

132         wxString sTmp = GetLine(i).BeforeFirst(wxT('='));
133 return sTmp;
141 wxString sTmp = GetLine(i).AfterFirst(wxT('='));
142 return sTmp;
342 wxString sTmp(pc);
343 int equal_pos = sTmp.Find( wxT('=') );
346 wxString left_of_equal = sTmp.Left( equal_pos );
384 sTmp = right_of_equal;
385 sTmp.Replace( wxT("%f"), wxT("%s") );
386 sTmp.Prepend( wxT("open=") );
387 entry->Add(sTmp);
391 sTmp = right_of_equal;
392 sTmp.Replace( wxT("%f"), wxT("%s") );
393 sTmp.Prepend( wxT("view=") );
394 entry->Add(sTmp);
398 sTmp = right_of_equal;
399 sTmp.Replace( wxT("%f"), wxT("%s") );
400 sTmp.Prepend( wxT("print=") );
401 entry->Add(sTmp);
409 sTmp = right_of_equal;
410 if (sTmp.Contains( wxT(",") ))
411 sTmp = sTmp.BeforeFirst( wxT(',') );
412 sTmp.Prepend( wxT("open=") );
413 sTmp.Append( wxT(" %s") );
414 entry->Add(sTmp);
421 if (sTmp.Contains(wxT('/')))
433 curMimeType = sTmp.BeforeFirst(wxT(':'));
685 wxString sTmp = wxT(".kde/share/mimelnk/");
687 CheckKDEDirsExist(sHome, sTmp + sMime.BeforeFirst(wxT('/')) );
688 sTmp = sHome + wxT('/') + sTmp + sMime + wxT(".kdelnk");
691 bool bMimeExists = mimeoutfile.Open(sTmp);
694 bTemp = mimeoutfile.Create(sTmp);
700 sTmp = wxT(".kde/share/applnk/");
701 CheckKDEDirsExist(sHome, sTmp + sMime.AfterFirst(wxT('/')) );
702 sTmp = sHome + wxT('/') + sTmp + sMime.AfterFirst(wxT('/')) + wxT(".kdelnk");
705 bAppExists = appoutfile.Open(sTmp);
708 bTemp = appoutfile.Create(sTmp);
742 sTmp = m_aIcons[index];
747 mimeoutfile.AddLine(wxT("Icon=") + sTmp );
750 appoutfile.AddLine(wxT("Icon=") + sTmp );
752 sTmp = wxT(" ") + m_aExtensions[index];
754 wxStringTokenizer tokenizer(sTmp, wxT(" "));
755 sTmp = wxT("Patterns=");
756 mimeoutfile.CommentLine(sTmp);
761 sTmp += e;
765 mimeoutfile.AddLine(sTmp);
769 sTmp = entries->GetCommandForVerb(wxT("open"));
770 sTmp.Replace( wxT("%s"), wxT("%f") );
774 mimeoutfile.AddLine(wxT("DefaultApp=") + sTmp);
776 sTmp.Replace( wxT("%f"), wxT("") );
779 appoutfile.AddLine(wxT("Exec=") + sTmp);
907 wxString sTmp;
908 nIndex = file.GetCmd(wxT("DefaultApp"), sTmp);
913 nIndex = file.GetCmd(wxT("Exec"), sTmp);
919 if (0 == sTmp.Replace( wxT("%f"), wxT("%s") ))
920 sTmp += wxT(" %s");
921 entry->AddOrReplaceVerb(wxString(wxT("open")), sTmp );
1318 wxString sTmp;
1320 while ( (i < m_index.GetCount() ) && sTmp.empty() )
1322 sTmp = m_manager->GetCommand( verb, m_index[i] );
1326 return wxFileType::ExpandCommand(sTmp, params);
1331 wxString sTmp;
1333 while ( (i < m_index.GetCount() ) && sTmp.empty() )
1335 sTmp = m_manager->m_aIcons[m_index[i]];
1339 if ( sTmp.empty() )
1344 iconLoc->SetFileName(sTmp);
1364 wxString vrb, cmd, sTmp;
1759 wxString sTmp = strType.Append( wxT(' '), 40 - strType.Len() );
1760 sTmp += m_aExtensions[index];
1761 file.AddLine(sTmp);
1841 wxString sTmp = strType + wxT(" \\");
1843 file.InsertLine(sTmp, nIndex);
1847 sTmp = wxT("desc=\"") + m_aDescriptions[index]+ wxT("\" \\"); //.trim ??
1851 file.InsertLine(sTmp, nIndex);
1856 sTmp = wxT("exts=\"") + sExts.Trim(false).Trim() + wxT("\"");
1860 file.InsertLine(sTmp, nIndex);
1902 wxString sTmp;
1904 sTmp = m_aTypes[index];
1906 int nIndex = file.pIndexOf(sTmp);
1929 sTmp += wxT(";") + sCmd; //includes wxT(" %s ");
1935 file.InsertLine(sTmp, nIndex);
1976 sTmp += wxT("; \\");
1977 file.InsertLine(sTmp, nIndex);
1978 sTmp = s;
1987 sTmp += wxT("; \\");
1988 file.InsertLine(sTmp, nIndex);
1990 sTmp = wxT(" description=\"") + m_aDescriptions[index] + wxT("\"");
1995 sTmp += wxT("; \\");
1996 file.InsertLine(sTmp, nIndex);
1998 sTmp = wxT(" x11-bitmap=\"") + m_aIcons[index] + wxT("\"");
2007 sTmp += wxT("; \\");
2008 file.InsertLine(sTmp, nIndex);
2010 sTmp = wxT(" ") + entries->GetVerbCmd(i);
2014 file.InsertLine(sTmp, nIndex);
2294 wxString command, testcmd, sV, sTmp;
2304 sTmp = sPairs->GetVerbCmd (i);
2305 if ( sTmp.Contains(sV) )
2306 command = sTmp.AfterFirst(wxT('='));
2346 wxString sTmp = strExtensions;
2349 sTmp.Trim().Trim(false);
2351 while (!sTmp.empty())
2353 sExts.Add(sTmp.AfterLast(wxT(' ')));
2354 sTmp = sTmp.BeforeLast(wxT(' '));