Lines Matching defs:temp
81 long temp;
85 label.ToLong(&temp);
86 return temp;
97 long temp;
99 temp=UNLIMITED;
102 temp=GetSpeedFromString(item->GetItemLabelText());
104 thePrefs::SetMaxUpload(temp);
123 long temp;
125 temp=UNLIMITED;
128 temp=GetSpeedFromString(item->GetItemLabelText());
130 thePrefs::SetMaxDownload(temp);
330 wxString temp = CFormat(_("Nickname: %s")) % ( thePrefs::GetUserNick().IsEmpty() ? wxString(_("No Nickname Selected!")) : thePrefs::GetUserNick() );
332 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
337 wxString temp = _("ClientID: ");
340 temp += CFormat(wxT("%u")) % theApp->GetED2KID();
342 temp += _("Not connected");
344 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
365 wxString temp = CFormat(_("IP: %s")) % ( (theApp->GetPublicIP()) ? Uint32toStringIP(theApp->GetPublicIP()) : wxString(_("Unknown")) );
367 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
372 wxString temp;
374 temp = CFormat(_("TCP port: %d")) % thePrefs::GetPort();
376 temp=_("TCP port: Not ready");
378 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
383 wxString temp;
385 temp = CFormat(_("UDP port: %d")) % thePrefs::GetEffectiveUDPPort();
387 temp=_("UDP port: Not ready");
389 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
394 wxString temp;
396 temp=_("Online Signature: Enabled");
399 temp=_("Online Signature: Disabled");
401 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
406 wxString temp = CFormat(_("Uptime: %s")) % CastSecondsToHM(theStats::GetUptimeSeconds());
407 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
412 wxString temp = CFormat(_("Shared files: %d")) % theStats::GetSharedFileCount();
413 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
418 wxString temp = CFormat(_("Queued clients: %d")) % theStats::GetWaitingUserCount();
419 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
424 wxString temp = CastItoXBytes(theStats::GetTotalReceivedBytes());
425 temp = CFormat(_("Total DL: %s")) % temp;
426 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
431 wxString temp = CastItoXBytes(theStats::GetTotalSentBytes());
432 temp = CFormat(_("Total UL: %s")) % temp;
433 ClientInfoMenu->Append(TRAY_MENU_CLIENTINFO_ITEM,temp);
464 wxString temp = CFormat(wxT("%u %s")) % tempspeed % _("kB/s");
465 UploadSpeedMenu->Append((int)UPLOAD_ITEM1+i+1,temp);
485 wxString temp = CFormat(wxT("%d %s")) % tempspeed % _("kB/s");
486 DownloadSpeedMenu->Append((int)DOWNLOAD_ITEM1+i+1,temp);