コード例 #1
0
ファイル: editprofiledialog.cpp プロジェクト: msjoberg/pumpa
void EditProfileDialog::onOKClicked() {
  QString newRealName = m_realNameEdit->text();
  if (newRealName.isEmpty()) // to avoid having empty real name
    newRealName = m_profile->preferredUsername();
  
  m_profile->setDisplayName(newRealName);
  m_profile->setLocation(m_hometownEdit->text());
  m_profile->setSummary(m_bioEdit->toPlainText());
  
  accept();
  emit profileEdited(m_profile, m_imageFileName);
}
コード例 #2
0
ファイル: joyaxis.cpp プロジェクト: robertxgray/antimicro
void JoyAxis::disconnectPropertyUpdatedConnection()
{
    disconnect(this, SIGNAL(propertyUpdated()), getParentSet()->getInputDevice(), SLOT(profileEdited()));
}
コード例 #3
0
ファイル: setjoystick.cpp プロジェクト: jamesblunt/antimicro
void SetJoystick::disconnectPropertyUpdatedConnection()
{
    disconnect(this, SIGNAL(propertyUpdated()), getInputDevice(), SLOT(profileEdited()));
}