26 #if ! defined (octave_resource_manager_h)
27 #define octave_resource_manager_h 1
32 #include <QTranslator>
33 #include <QTemporaryFile>
72 QPointer<QTemporaryFile>
74 const QString& contents = QString ());
88 QIcon
icon (
const QString& icon_name,
bool fallback =
true);
92 void combo_encoding (QComboBox *combo,
const QString& current = QString ());
QString get_default_font_family(void)
void combo_encoding(QComboBox *combo, const QString ¤t=QString())
gui_settings * get_settings(void) const
resource_manager & operator=(const resource_manager &)=delete
gui_settings * get_default_settings(void) const
QString get_settings_file(void)
gui_settings * m_settings
void get_codecs(QStringList *codecs)
resource_manager(const resource_manager &)=delete
QString m_settings_directory
gui_settings * m_default_settings
QString get_gui_translation_dir(void)
bool is_first_run(void) const
QList< QTemporaryFile * > m_temporary_files
QPointer< QTemporaryFile > create_tmp_file(const QString &extension=QString(), const QString &contents=QString())
void update_network_settings(void)
QIcon icon(const QString &icon_name, bool fallback=true)
void remove_tmp_file(QPointer< QTemporaryFile > tmp_file)
bool update_settings_key(const QString &new_key, const QString &old_key)
QString get_settings_directory(void)
void set_settings(const QString &file)
void config_translators(QTranslator *qt_tr, QTranslator *qsci_tr, QTranslator *gui_tr)
void reload_settings(void)