void oClub::updateFromDB() { if (!oe->useRunnerDb()) return; pClub pc = oe->runnerDB->getClub(Id); if (pc && !pc->sameClub(*this)) pc = 0; if (pc==0) pc = oe->runnerDB->getClub(name); if (pc) { memcpy(oData, pc->oData, sizeof (oData)); updateChanged(); } }
//_______________________________________________________________________ void Config::load( const KConfigGroup& ) { // load standard configuration loadConfiguration( Configuration( KConfigGroup( _configuration, "Windeco") ) ); loadShadowConfiguration( QPalette::Active, ShadowConfiguration( QPalette::Active, KConfigGroup( _configuration, "ActiveShadow") ) ); loadShadowConfiguration( QPalette::Inactive, ShadowConfiguration( QPalette::Inactive, KConfigGroup( _configuration, "InactiveShadow") ) ); // load exceptions ExceptionList exceptions; exceptions.read( *_configuration ); if( exceptions.empty() ) { exceptions = ExceptionList::defaultList(); } // install in ui ui->ui.exceptions->setExceptions( exceptions ); updateChanged(); }
pControl oCourse::addControl(int Id) { pControl pc = doAddControl(Id); updateChanged(); return pc; }
bool LLPanelGroupGeneral::needsApply(std::string& mesg) { updateChanged(); mesg = getString("group_info_unchanged"); return mChanged || mGroupID.isNull(); }
void LLPanelGroupGeneral::onCommitAny() { updateChanged(); notifyObservers(); }
void LLPanelGroupGeneral::onFocusEdit() { updateChanged(); notifyObservers(); }
QDesignerFormWindow::QDesignerFormWindow(QDesignerFormWindowInterface *editor, QDesignerWorkbench *workbench, QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), m_editor(editor), m_workbench(workbench) { Q_ASSERT(workbench); if (m_editor) { m_editor->setParent(this); } else { m_editor = workbench->core()->formWindowManager()->createFormWindow(this); } setCentralWidget(m_editor); m_action = new QAction(this); m_action->setCheckable(true); connect((QObject*)m_editor->commandHistory(), SIGNAL(commandExecuted()), this, SLOT(updateChanged())); connect(m_editor, SIGNAL(fileNameChanged(QString)), this, SLOT(updateWindowTitle(QString))); }