Example #1
0
void MProject::setFilename( const WFileName& f )
{
    _filename = f;
    _filename.absoluteTo();
    setMakefile();
    _filename.setCWD();
    setDirty();
    updateAllViews();
}
Example #2
0
bool CEmail::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: downloadEmails(); break;
    case 1: updateAllViews(); break;
    default:
	return QWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}
Example #3
0
// Load/Reload the values from the registry
void XYWndManager::keyChanged(const std::string& changedKey, const std::string& newValue) {
	_chaseMouse = (GlobalRegistry().get(RKEY_CHASE_MOUSE) == "1");
	_camXYUpdate = (GlobalRegistry().get(RKEY_CAMERA_XY_UPDATE) == "1");
	_showCrossHairs = (GlobalRegistry().get(RKEY_SHOW_CROSSHAIRS) == "1");
	_showGrid = (GlobalRegistry().get(RKEY_SHOW_GRID) == "1");
	_showSizeInfo = (GlobalRegistry().get(RKEY_SHOW_SIZE_INFO) == "1");
	_showBlocks = (GlobalRegistry().get(RKEY_SHOW_BLOCKS) == "1");
	_showCoordinates = (GlobalRegistry().get(RKEY_SHOW_COORDINATES) == "1");
	_showOutline = (GlobalRegistry().get(RKEY_SHOW_OUTLINE) == "1");
	_showAxes = (GlobalRegistry().get(RKEY_SHOW_AXES) == "1");
	_showWorkzone = (GlobalRegistry().get(RKEY_SHOW_WORKZONE) == "1");
	_defaultBlockSize = (GlobalRegistry().getInt(RKEY_DEFAULT_BLOCKSIZE));
	_alwaysCaulkForNewBrushes = (GlobalRegistry().get(RKEY_ALWAYS_CAULK_FOR_NEW_BRUSHES) == "1");
	_caulkTexture = GlobalRegistry().get(RKEY_CAULK_TEXTURE);

	updateAllViews();
}
Example #4
0
void MComponent::refresh()
{
    updateItemList();
    updateAllViews();
}
Example #5
0
void WEXPORT WModel::setUpdates( bool b )
{
    _updates = b;
    updateAllViews();
}