MCPcopy Create free account
hub / github.com/SpartanJ/eepp / refreshTab

Method refreshTab

src/tools/ecode/uibuildsettings.cpp:794–802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794void UIBuildSettings::refreshTab() {
795 if ( !mTab )
796 return;
797 mTab->setText(
798 String::format( ( i18n( "build_settings", "Build Settings" ) + ": %s" ).toUtf8().c_str(),
799 mBuild.mName.c_str() ) );
800 std::string hashName = String::toString( String::hash( mIsNew ? "new_name" : mBuild.mName ) );
801 mTab->setId( "build_settings_" + hashName );
802}
803
804void UIBuildSettings::bindTable( const std::string& name, const std::string& key,
805 ProjectBuildKeyVal& data ) {

Callers

nothing calls this directly

Calls 7

formatFunction · 0.85
hashFunction · 0.85
c_strMethod · 0.80
toUtf8Method · 0.80
toStringFunction · 0.50
setTextMethod · 0.45
setIdMethod · 0.45

Tested by

no test coverage detected