当前位置: 首页>>代码示例>>C++>>正文


C++ saveSettings函数代码示例

本文整理汇总了C++中saveSettings函数的典型用法代码示例。如果您正苦于以下问题:C++ saveSettings函数的具体用法?C++ saveSettings怎么用?C++ saveSettings使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了saveSettings函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: saveSettings

void ofxTimeMeasurements::_appExited(ofEventArgs &e){
	saveSettings();
}
开发者ID:herjunodimas,项目名称:ofxTimeMeasurements,代码行数:3,代码来源:ofxTimeMeasurements.cpp

示例2: parse_command

void parse_command(int connfd, CControld::Header * rmessage)
{
	
	if(rmessage->version != CControld::ACTVERSION)
	{
		perror("[controld] wrong version\n");
		return;
	}

	switch (rmessage->cmd)
	{
	case CControld::CMD_SHUTDOWN:
		shutdownBox();
		break;

	case CControld::CMD_SAVECONFIG:
		saveSettings();
		break;

	case CControld::CMD_SETVOLUME:
	case CControld::CMD_SETVOLUME_AVS:
		CControld::commandVolume msg_commandVolume;
		read(connfd, &msg_commandVolume, sizeof(msg_commandVolume));

		if (rmessage->cmd == CControld::CMD_SETVOLUME)
		{
			settings.volume = msg_commandVolume.volume;
			config->setInt32("volume", settings.volume);
			zapit.setVolume(map_volume(msg_commandVolume.volume, false), map_volume(msg_commandVolume.volume, false));
		}
		else
		{
			settings.volume_avs = msg_commandVolume.volume;
			config->setInt32("volume_avs", settings.volume_avs);
			audioControl::setVolume(map_volume(msg_commandVolume.volume, true));
		}
		lcdd.setVolume(msg_commandVolume.volume);
		eventServer->sendEvent(CControldClient::EVT_VOLUMECHANGED, CEventServer::INITID_CONTROLD, &msg_commandVolume.volume, sizeof(msg_commandVolume.volume));
		break;

	case CControld::CMD_MUTE:
		settings.mute = true;
		config->setBool("mute", settings.mute);
		zapit.muteAudio(true);
		lcdd.setMute(true);
		eventServer->sendEvent(CControldClient::EVT_MUTECHANGED, CEventServer::INITID_CONTROLD, &settings.mute, sizeof(settings.mute));
		break;
	case CControld::CMD_MUTE_AVS:
		settings.mute_avs = true;
		config->setBool("mute_avs", settings.mute_avs);
		audioControl::setMute(true);
		lcdd.setMute(true);
		eventServer->sendEvent(CControldClient::EVT_MUTECHANGED, CEventServer::INITID_CONTROLD, &settings.mute_avs, sizeof(settings.mute_avs));
		break;
	case CControld::CMD_UNMUTE:
		settings.mute = false;
		config->setBool("mute", settings.mute);
		zapit.muteAudio(false);
		lcdd.setMute(settings.mute_avs);
		eventServer->sendEvent(CControldClient::EVT_MUTECHANGED, CEventServer::INITID_CONTROLD, &settings.mute_avs, sizeof(settings.mute_avs));
		break;
	case CControld::CMD_UNMUTE_AVS:
		settings.mute_avs = false;
		config->setBool("mute_avs", settings.mute_avs);
		audioControl::setMute(false);
		lcdd.setMute(settings.mute);
		eventServer->sendEvent(CControldClient::EVT_MUTECHANGED, CEventServer::INITID_CONTROLD, &settings.mute, sizeof(settings.mute));
		break;

		case CControld::CMD_SETANALOGMODE:
			CControld::commandAnalogMode msgmd;
			read(connfd, &msgmd, sizeof(msgmd));
			zapit.setAudioMode(msgmd.mode);
			break;
		case CControld::CMD_SETVIDEOFORMAT:
			//printf("[controld] set videoformat\n");
			CControld::commandVideoFormat msg2;
			read(connfd, &msg2, sizeof(msg2));
			setVideoFormat(msg2.format);
			break;
		case CControld::CMD_SETVIDEOOUTPUT:
			//printf("[controld] set videooutput\n");
			CControld::commandVideoOutput msg3;
			read(connfd, &msg3, sizeof(msg3));
			setvideooutput(msg3.output);
			break;
		case CControld::CMD_SETBOXTYPE:
			//printf("[controld] set boxtype\n");    //-------------------dummy!!!!!!!!!!
			CControld::commandBoxType msg4;
			read(connfd, &msg4, sizeof(msg4));
			setBoxType();
			break;
		case CControld::CMD_SETSCARTMODE:
			//printf("[controld] set scartmode\n");
			CControld::commandScartMode msg5;
			read(connfd, &msg5, sizeof(msg5));
			setScartMode(msg5.mode);
			break;
		case CControld::CMD_SETVIDEOPOWERDOWN:
			//printf("[controld] set scartmode\n");
//.........这里部分代码省略.........
开发者ID:GWARDAR,项目名称:OpenPLi-1,代码行数:101,代码来源:controld.cpp

示例3: doProfileAutoSelect

void doProfileAutoSelect()
{
	g_autoSelectProfile = !g_autoSelectProfile;
	::SendMessage(nppData._nppHandle, NPPM_SETMENUITEMCHECK, funcItem[g_fiAutoProfile]._cmdID, g_autoSelectProfile ? TRUE : FALSE);
	saveSettings();
}
开发者ID:bruderstein,项目名称:ZenCoding-Python,代码行数:6,代码来源:ZenCoding-Python.cpp

示例4: saveSettings

void Application::delItemFavorite(int idx)
{
    favModel->delItemFavorite(idx);

    saveSettings();
}
开发者ID:giapdangle,项目名称:calaos_mobile,代码行数:6,代码来源:Application.cpp

示例5: saveSettings

/**
 * @brief edit::on_pushButton_clicked handler for save button
 */
void edit::on_pushButton_clicked()
{
    saveSettings();
    this->close();
    dashb->show();
}
开发者ID:Leonmey,项目名称:CS3307-Data-Visualization-Tool,代码行数:9,代码来源:edit.cpp

示例6: QSettings

void Settings::loadSettings(QString name)
{
    _settings = new QSettings("QDChat_", name);
    saveSettings(name);
}
开发者ID:D3MONIQDev,项目名称:qdchat,代码行数:5,代码来源:settings.cpp

示例7: saveSettings

void MainWindow::closeEvent( QCloseEvent *event )
{
    saveSettings();
}
开发者ID:yangguang-ecnu,项目名称:fibernavigator2,代码行数:4,代码来源:mainwindow.cpp

示例8: saveSettings

	void Application::destroyScene()
	{
		saveSettings();

		StateManager::getInstance().rollbackToState(nullptr);

		GridManager::getInstance().shutdown();
		delete GridManager::getInstancePtr();

		PropertyFieldManager::getInstance().shutdown();
		delete PropertyFieldManager::getInstancePtr();

		EditorToolTip::getInstance().shutdown();
		delete EditorToolTip::getInstancePtr();

		ColourManager::getInstance().shutdown();
		delete ColourManager::getInstancePtr();

		BackwardCompatibilityManager::getInstance().shutdown();
		delete BackwardCompatibilityManager::getInstancePtr();

		RecentFilesManager::getInstance().shutdown();
		delete RecentFilesManager::getInstancePtr();

		StateManager::getInstance().shutdown();
		delete StateManager::getInstancePtr();

		GroupMessage::getInstance().shutdown();
		delete GroupMessage::getInstancePtr();

		DialogManager::getInstance().shutdown();
		delete DialogManager::getInstancePtr();

		MessageBoxManager::getInstance().shutdown();
		delete MessageBoxManager::getInstancePtr();

		UndoManager::getInstance().shutdown();
		delete UndoManager::getInstancePtr();

		EditorWidgets::getInstance().shutdown();
		delete EditorWidgets::getInstancePtr();

		WidgetTypes::getInstance().shutdown();
		delete WidgetTypes::getInstancePtr();

		HotKeyManager::getInstance().shutdown();
		delete HotKeyManager::getInstancePtr();

		WidgetCreatorManager::getInstance().shutdown();
		delete WidgetCreatorManager::getInstancePtr();

		WidgetSelectorManager::getInstance().shutdown();
		delete WidgetSelectorManager::getInstancePtr();

		CommandManager::getInstance().shutdown();
		delete CommandManager::getInstancePtr();

		SettingsManager::getInstance().saveSettingsFile("SettingsResult.xml");
		SettingsManager::getInstance().saveUserSettingsFile();
		delete SettingsManager::getInstancePtr();

		std::string subWidgetCategory = MyGUI::SubWidgetManager::getInstance().getCategoryName();
		MyGUI::FactoryManager::getInstance().unregisterFactory<MyGUI::FilterNone>(subWidgetCategory);

		std::string layerCategory = MyGUI::LayerManager::getInstance().getCategoryName();
		MyGUI::FactoryManager::getInstance().unregisterFactory<MyGUI::RTTLayer>(layerCategory);
	}
开发者ID:2asoft,项目名称:MMO-Framework,代码行数:67,代码来源:Application.cpp

示例9: closeMPQ

MainWindow::~MainWindow()
{
    closeMPQ();
    saveSettings();
    delete ui;
}
开发者ID:FlyingTarrasque,项目名称:freeablo,代码行数:6,代码来源:mainwindow.cpp

示例10: saveSettings

void WHTMLReport::process ()
{
  saveSettings();
  Instrumentation::coverage_method_t coverage_method=CoverageSettings::object().getCoverageMethod();
  int global_coverage_level = global_coverage_level_p->value();

  CSMes::DisplayLevelType_t global_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  if (!statistic_global_coverage_p->isChecked())
    global_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  else if (global_coverage_output_all_level_p->isChecked())
    global_coverage_display_mode=CSMes::ALL_LEVEL;
  else if (global_coverage_output_selected_level_p->isChecked())
    global_coverage_display_mode=CSMes::SELECTED_LEVEL;
  else if (global_coverage_output_selected_level_and_level_1_p->isChecked())
    global_coverage_display_mode=CSMes::SELECTED_LEVEL_AND_LEVEL_1;

  CSMes::DisplayLevelType_t method_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  if (!statistic_method_p->isChecked())
    method_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  else if (methods_output_all_level_p->isChecked())
    method_coverage_display_mode=CSMes::ALL_LEVEL;
  else if (methods_output_selected_level_p->isChecked())
    method_coverage_display_mode=CSMes::SELECTED_LEVEL;
  else if (methods_output_selected_level_and_level_1_p->isChecked())
    method_coverage_display_mode=CSMes::SELECTED_LEVEL_AND_LEVEL_1;
  CSMes::DisplaySortingType_t method_coverage_sorting_mode=CSMes::SORT_NONE;
  if (methods_sorting_coverage_p->isChecked())
    method_coverage_sorting_mode=CSMes::SORT_COVERAGE;
  else if (methods_sorting_name_p->isChecked())
    method_coverage_sorting_mode=CSMes::SORT_NAME;

  CSMes::DisplayLevelType_t execution_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  if (!statistic_executions_p->isChecked())
    execution_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  else if (executions_output_all_level_p->isChecked())
    execution_coverage_display_mode=CSMes::ALL_LEVEL;
  else if (executions_output_selected_level_p->isChecked())
    execution_coverage_display_mode=CSMes::SELECTED_LEVEL;
  else if (executions_output_selected_level_and_level_1_p->isChecked())
    execution_coverage_display_mode=CSMes::SELECTED_LEVEL_AND_LEVEL_1;
  CSMes::DisplaySortingType_t execution_coverage_sorting_mode=CSMes::SORT_NONE;
  if (executions_sorting_coverage_p->isChecked())
    execution_coverage_sorting_mode=CSMes::SORT_COVERAGE;
  else if (executions_sorting_name_p->isChecked())
    execution_coverage_sorting_mode=CSMes::SORT_NAME;

  CSMes::DisplayLevelType_t source_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  if (!statistic_sources_p->isChecked())
    source_coverage_display_mode=CSMes::DISPLAY_NOTHING;
  else if (sources_output_all_level_p->isChecked())
    source_coverage_display_mode=CSMes::ALL_LEVEL;
  else if (sources_output_selected_level_p->isChecked())
    source_coverage_display_mode=CSMes::SELECTED_LEVEL;
  else if (sources_output_selected_level_and_level_1_p->isChecked())
    source_coverage_display_mode=CSMes::SELECTED_LEVEL_AND_LEVEL_1;
  CSMes::DisplaySortingType_t source_coverage_sorting_mode=CSMes::SORT_NONE;
  if (sources_sorting_coverage_p->isChecked())
    source_coverage_sorting_mode=CSMes::SORT_COVERAGE;
  else if (sources_sorting_name_p->isChecked())
    source_coverage_sorting_mode=CSMes::SORT_NAME;

  if (!csmes_p->exportHtmlReport(
        documentType(),
        file(),
        title_p->text(),
        icon_p->text(),
        css_file_p->text(),

        global_coverage_display_mode,
        method_coverage_display_mode,
        method_coverage_sorting_mode,
        source_coverage_display_mode,
        source_coverage_sorting_mode,
        execution_coverage_display_mode,
        execution_coverage_sorting_mode,

        executions_level_p->value(),

        toc_p->isChecked(),
        code_fragments_manually_validated_p->isChecked() && code_fragments_p->isChecked() ,
        code_fragments_unexecuted_p->isChecked() && code_fragments_p->isChecked(),
        code_fragments_executed_p->isChecked() && code_fragments_p->isChecked(),

        executions_filter_active_p->isChecked(),
        executions_filter_min_p->value(),
        executions_filter_max_p->value(),

        sources_filter_active_p->isChecked(),
        sources_filter_min_p->value(),
        sources_filter_max_p->value(),


        methods_filter_active_p->isChecked(),
        methods_filter_min_p->value(),
        methods_filter_max_p->value(),

        executions_watermark_medium_level_p->value(),
        executions_watermark_low_level_p->value(),
        global_coverage_watermark_medium_level_p->value(),
        global_coverage_watermark_low_level_p->value(),
//.........这里部分代码省略.........
开发者ID:testcocoon,项目名称:testcocoon,代码行数:101,代码来源:WHTMLReport.cpp

示例11: while

//--------------------------------------------------------------
void testApp::update(){
	// check for waiting messages
    
	while(receiver.hasWaitingMessages()){
        
        lastCmdTime = ofGetElapsedTimeMillis();
        
		// get the next message
		ofxOscMessage m;
                
		receiver.getNextMessage(&m);

        
        if ( m.getAddress() == "/l" ){ // Set a single led
            
            ledData[m.getArgAsInt32(0)].set(m.getArgAsInt32(1), m.getArgAsInt32(2), m.getArgAsInt32(3), 255);
                        
            lastLedCmdTime = ofGetElapsedTimeMillis();
            autoMode = false;
            
        } else if ( m.getAddress() == "/p" ) { // Set all
            
            //if( ofGetElapsedTimeMillis() - lastLedCmdTime > 2 ) {
                                
                int led = 1;
                int section = m.getArgAsInt32(0);
                int start   = section;
                int end     = start+120;
                
                for(int i=start; i<end && i<height; i++) {
                    
                    if(led+2 < m.getNumArgs()) {
                        ledData[i].set(m.getArgAsInt32(led),m.getArgAsInt32(led+1),m.getArgAsInt32(led+2));
                    }
                    
                    led +=3;
                }
                lastLedCmdTime = ofGetElapsedTimeMillis();
                
            //}
            autoMode = false;
            
        } else if ( m.getAddress() == "/c" ) {
            // Compressed data not yet implemented
            if( ofGetElapsedTimeMillis() - lastLedCmdTime > 2 ) {
                
                lastLedCmdTime = ofGetElapsedTimeMillis();
            
            }
            
       
        } else if ( m.getAddress() == "/status" ) {
            
            ofxOscMessage r;
            r.setAddress("/status");
            r.addStringArg(m.getArgAsString(0));
            if(autoMode) {
                r.addIntArg(2);
                r.addStringArg("Not receiving data. Running auto mode.");
            } else {
                r.addIntArg(1);
                r.addStringArg("All good, alive and listening.");
            }
            
            r.addStringArg(hostname);
            sender.sendMessage(r);
            
        } else if ( m.getAddress() == "/debug" ) {
            
            if(m.getArgAsInt32(0) == 1) {
                ofSetLogLevel(OF_LOG_VERBOSE);
            } else {
                ofSetLogLevel(OF_LOG_SILENT);
            }
            
        
        } else if ( m.getAddress() == "/setLength" ) {
            height  = m.getArgAsInt32(0);
            led     = new ofxLEDsLPD8806(height);
            ledData.assign(height,ofColor());
            ofLogNotice() << " Set LED length to " << height;

		} else if ( m.getAddress() == "/setId" ) {
            
            clientId = m.getArgAsInt32(0);
            saveSettings();
            state = STATE_CONNECTED;
            
            ofLogNotice() << " Set ID to " << clientId;

        } else if ( m.getAddress() == "/setMaster" ) {
            
            sender.setup(masterHostname, masterPort);
            masterHostname = m.getArgAsString(0);
            saveSettings();
            
            ofLogNotice() << " Set Master hostname to " << masterHostname;
            
        }
//.........这里部分代码省略.........
开发者ID:mrbichel,项目名称:leafLed,代码行数:101,代码来源:testApp.cpp

示例12: saveSettings

void testApp::s0Events(ofxUIEventArgs &e){
    
    string name = e.widget->getName();
    
    if(e.widget->getKind() == 12){ //no key events whilst text is focussed
        
        ofxUITextInput * t = (ofxUITextInput *) e.widget;
        
        if(t->getTriggerType() == OFX_UI_TEXTINPUT_ON_FOCUS){
            t->setTriggerType(OFX_UI_TEXTINPUT_ON_UNFOCUS);
            isTextFocus = true;
        }else{
            t->setTriggerType(OFX_UI_TEXTINPUT_ON_FOCUS);
            isTextFocus = false;
        }
        
    }
    
    
    if(isMouseDown){
        
        if(!isSaveDialog && !isLoadDialog){
            if(name == "SAVE"){
                confLab->setLabel("CONFIRM SAVE FILE");
                isSaveDialog = true; isLoadDialog = false;
                dialog->setVisible(true);
            }
            
            if(name == "LOAD"){
                isLoadDialog = true; isSaveDialog = false;
                confLab->setLabel("CONFIRM LOAD FILE");
                dialog->setVisible(true);
            }
        }else{
            
            if(isSaveDialog){
                
                if(name == "OK"){
                    saveSettings(fileNameInput->getTextString());
                    dialog->setVisible(false);
                    isSaveDialog = false;
                }else{
                    isSaveDialog = false;
                    dialog->setVisible(false);
                }
            }
            
            if(isLoadDialog){
                
                if(name == "OK"){
                    loadSettings(fileNameInput->getTextString());
                    dialog->setVisible(false);
                    isLoadDialog = false;
                }else{
                    isLoadDialog = false;
                    dialog->setVisible(false);
                }
            }
            
        }
        
        
        
        
    }
    
    
	
}
开发者ID:kimon-satan,项目名称:danceTracker,代码行数:69,代码来源:testApp.cpp

示例13: saveSettings

void QgsColorDialogV2::closeEvent( QCloseEvent *e )
{
  saveSettings();
  QDialog::closeEvent( e );
}
开发者ID:NyakudyaA,项目名称:QGIS,代码行数:5,代码来源:qgscolordialog.cpp

示例14: HAL_INFO

bool RTIMUSettings::loadSettings()
{
    char buf[200];
    char key[200];
    char val[200];
    RTFLOAT ftemp;

    //  preset general defaults

    m_imuType = RTIMU_TYPE_AUTODISCOVER;
    m_I2CSlaveAddress = 0;
    m_I2CBus = 1;
    m_fusionType = RTFUSION_TYPE_RTQF;
    m_compassCalValid = false;

    //  MPU9150 defaults

    m_MPU9150GyroAccelSampleRate = 50;
    m_MPU9150CompassSampleRate = 25;
    m_MPU9150GyroAccelLpf = MPU9150_LPF_20;
    m_MPU9150GyroFsr = MPU9150_GYROFSR_1000;
    m_MPU9150AccelFsr = MPU9150_ACCELFSR_8;

    //  GD20HM303D defaults

    m_GD20HM303DGyroSampleRate = L3GD20H_SAMPLERATE_50;
    m_GD20HM303DGyroBW = L3GD20H_BANDWIDTH_1;
    m_GD20HM303DGyroHpf = L3GD20H_HPF_4;
    m_GD20HM303DGyroFsr = L3GD20H_FSR_500;

    m_GD20HM303DAccelSampleRate = LSM303D_ACCEL_SAMPLERATE_50;
    m_GD20HM303DAccelFsr = LSM303D_ACCEL_FSR_8;
    m_GD20HM303DAccelLpf = LSM303D_ACCEL_LPF_50;

    m_GD20HM303DCompassSampleRate = LSM303D_COMPASS_SAMPLERATE_50;
    m_GD20HM303DCompassFsr = LSM303D_COMPASS_FSR_2;

    //  GD20M303DLHC defaults

    m_GD20M303DLHCGyroSampleRate = L3GD20_SAMPLERATE_95;
    m_GD20M303DLHCGyroBW = L3GD20_BANDWIDTH_1;
    m_GD20M303DLHCGyroHpf = L3GD20_HPF_4;
    m_GD20M303DLHCGyroFsr = L3GD20H_FSR_500;

    m_GD20M303DLHCAccelSampleRate = LSM303DLHC_ACCEL_SAMPLERATE_50;
    m_GD20M303DLHCAccelFsr = LSM303DLHC_ACCEL_FSR_8;

    m_GD20M303DLHCCompassSampleRate = LSM303DLHC_COMPASS_SAMPLERATE_30;
    m_GD20M303DLHCCompassFsr = LSM303DLHC_COMPASS_FSR_1_3;

    //  LSM9DS0 defaults

    m_LSM9DS0GyroSampleRate = LSM9DS0_GYRO_SAMPLERATE_95;
    m_LSM9DS0GyroBW = LSM9DS0_GYRO_BANDWIDTH_1;
    m_LSM9DS0GyroHpf = LSM9DS0_GYRO_HPF_4;
    m_LSM9DS0GyroFsr = LSM9DS0_GYRO_FSR_500;

    m_LSM9DS0AccelSampleRate = LSM9DS0_ACCEL_SAMPLERATE_50;
    m_LSM9DS0AccelFsr = LSM9DS0_ACCEL_FSR_8;
    m_LSM9DS0AccelLpf = LSM9DS0_ACCEL_LPF_50;

    m_LSM9DS0CompassSampleRate = LSM9DS0_COMPASS_SAMPLERATE_50;
    m_LSM9DS0CompassFsr = LSM9DS0_COMPASS_FSR_2;

    //  check to see if settings file exists

    if (!(m_fd = fopen(m_filename, "r"))) {
        HAL_INFO("Settings file not found. Using defaults and creating settings file\n");
        return saveSettings();
    }

    while (fgets(buf, 200, m_fd)) {
        if ((buf[0] == '#') || (buf[0] == ' ') || (buf[0] == '\n'))
            // just a comment
            continue;

        if (sscanf(buf, "%[^=]=%s", key, val) != 2) {
            HAL_ERROR1("Bad line in settings file: %s\n", buf);
            fclose(m_fd);
            return false;
        }

        //  now decode keys

        //  general config

        if (strcmp(key, RTIMULIB_IMU_TYPE) == 0) {
            m_imuType = atoi(val);
        } else if (strcmp(key, RTIMULIB_FUSION_TYPE) == 0) {
            m_fusionType = atoi(val);
        } else if (strcmp(key, RTIMULIB_I2C_BUS) == 0) {
            m_I2CBus = atoi(val);
        } else if (strcmp(key, RTIMULIB_I2C_SLAVEADDRESS) == 0) {
            m_I2CSlaveAddress = atoi(val);

        // compass calibration

        } else if (strcmp(key, RTIMULIB_COMPASSCAL_VALID) == 0) {
            m_compassCalValid = strcmp(val, "true") == 0;
        } else if (strcmp(key, RTIMULIB_COMPASSCAL_MINX) == 0) {
//.........这里部分代码省略.........
开发者ID:GregMp5,项目名称:RTIMULib,代码行数:101,代码来源:RTIMUSettings.cpp

示例15: saveSettings

RazorPanel::~RazorPanel()
{
    mLayout->setEnabled(false);
    saveSettings();
    qDeleteAll(mPlugins);
}
开发者ID:SamTheReaper,项目名称:razor-qt,代码行数:6,代码来源:razorpanel.cpp


注:本文中的saveSettings函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。