Lines Matching refs:prefs

201     Inkscape::Preferences *prefs = Inkscape::Preferences::get();
203 this->set_active( prefs->getBool(_prefs_path, default_value) );
211 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
212 prefs->setBool(_prefs_path, this->get_active());
229 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
230 Glib::ustring val = prefs->getString(_prefs_path);
249 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
251 this->set_active( prefs->getInt(_prefs_path, int_value) == _int_value );
253 this->set_active( prefs->getInt(_prefs_path, int_value + 1) == _int_value );
259 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
264 prefs->setString(_prefs_path, _string_value);
266 prefs->setInt(_prefs_path, _int_value);
277 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
281 value = 100 * prefs->getDoubleLimited(prefs_path, default_value, lower/100.0, upper/100.0);
283 value = (double) prefs->getIntLimited(prefs_path, (int) default_value, (int) lower, (int) upper);
286 value = prefs->getDoubleLimited(prefs_path, default_value, lower, upper);
304 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
309 prefs->setDouble(_prefs_path, this->get_value()/100.0);
311 prefs->setInt(_prefs_path, (int) this->get_value());
314 prefs->setDouble(_prefs_path, this->get_value());
336 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
337 double value = prefs->getDoubleLimited(prefs_path, default_value, lower, upper);
338 Glib::ustring unitstr = prefs->getUnit(prefs_path);
342 prefs->setDoubleUnit(_prefs_path, value, unitstr);
351 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
354 prefs->setDoubleUnit(_prefs_path, getValue(getUnit()->abbr), getUnit()->abbr);
410 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
411 const double zoomcorr = prefs->getDouble("/options/zoomcorrection/value", 1.0);
467 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
468 Glib::ustring abbr = prefs->getString("/options/zoomcorrection/unit");
496 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
497 prefs->setDouble("/options/zoomcorrection/value", _slider->get_value() / 100.0);
510 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
511 prefs->setDouble("/options/zoomcorrection/value", _sb.get_value() / 100.0);
525 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
526 prefs->setString("/options/zoomcorrection/unit", _unit.getUnitAbbr());
544 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
545 double value = prefs->getDoubleLimited("/options/zoomcorrection/value", default_value, lower, upper) * 100.0;
575 _unit.setUnit(prefs->getString("/options/zoomcorrection/unit"));
607 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
608 prefs->setDouble(_prefs_path, _slider->get_value());
620 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
621 prefs->setDouble(_prefs_path, _sb.get_value());
638 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
639 double value = prefs->getDoubleLimited(prefs_path, default_value, lower, upper);
683 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
685 int value = prefs->getInt(_prefs_path, default_value);
701 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
703 Glib::ustring value = prefs->getString(_prefs_path);
723 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
726 prefs->setInt(_prefs_path, _values[this->get_active_row_number()]);
730 prefs->setString(_prefs_path, _ustr_values[this->get_active_row_number()]);
740 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
745 relatedEntry->set_text(prefs->getString(_prefs_path));
758 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
759 prefs->setString(_prefs_path, relatedEntry->get_text());
767 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
768 prefs->setString(_prefs_path, _default_string);
782 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
787 relatedEntry->set_text(prefs->getString(_prefs_path));
812 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
813 prefs->setString(_prefs_path, relatedEntry->get_text());
825 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
828 Glib::ustring attr = prefs->getString(_prefs_path);
903 prefs->setString(_prefs_path, open_path);
918 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
919 select_filename(Glib::filename_from_utf8(prefs->getString(_prefs_path)));
926 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
927 prefs->setString(_prefs_path, Glib::filename_to_utf8(get_filename()));
933 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
936 this->set_text(prefs->getString(_prefs_path));
943 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
944 prefs->setString(_prefs_path, this->get_text());
953 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
954 this->setRgba32( prefs->getInt(_prefs_path, (int)default_rgba) );
961 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
962 prefs->setInt(_prefs_path, (int) rgba);
969 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
971 setUnit(prefs->getString(_prefs_path));
978 Inkscape::Preferences *prefs = Inkscape::Preferences::get();
979 prefs->setString(_prefs_path, getUnitAbbr());