void Condition::setData(const QVariantMap& data) { doRestore(data); emit dataChanged(data); if(running()) doStart(); }
void Action::stop(bool running) { if(mStartTimerId) { killTimer(mStartTimerId); mStartTimerId = 0; mRunning = false; } if(mRunning) { if(mRestore) doRestore(); doStop(running); mRunning = false; } }
/* * doRestoreAll - set all children as needing restoration */ static void doRestoreAll( void ) { mdi_data *md; if( !childrenMaximized ) { return; } _wpi_setwindowtext( mdiInfo.root, mdiInfo.main_name ); childrenMaximized = FALSE; md = mdiHead; while( md != NULL ) { doRestore( md->hwnd ); md = md->next; } MDIClearMaximizedMenuConfig(); deleteMaximizedMenuConfig(); } /* doRestoreAll */
virtual UndoItem *restore() { return doRestore(); }