public:
GuiPreferences(GuiView & lv);
- void apply(LyXRC & rc) const;
- void updateRc(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
public Q_SLOTS:
void change_adaptor();
: QWidget(form), category_(cat), title_(t), form_(form)
{}
- virtual void apply(LyXRC & rc) const = 0;
- virtual void update(LyXRC const & rc) = 0;
+ virtual void applyRC(LyXRC & rc) const = 0;
+ virtual void updateRC(LyXRC const & rc) = 0;
QString const & category() const { return category_; }
QString const & title() const { return title_; }
public:
PrefOutput(GuiPreferences * form);
- virtual void apply(LyXRC & rc) const;
- virtual void update(LyXRC const & rc);
+ virtual void applyRC(LyXRC & rc) const;
+ virtual void updateRC(LyXRC const & rc);
private Q_SLOTS:
void on_DateED_textChanged(const QString &);
public:
PrefInput(GuiPreferences * form);
- virtual void apply(LyXRC & rc) const;
- virtual void update(LyXRC const & rc);
+ virtual void applyRC(LyXRC & rc) const;
+ virtual void updateRC(LyXRC const & rc);
private Q_SLOTS:
void on_firstKeymapPB_clicked(bool);
public:
PrefCompletion(GuiPreferences * form);
- virtual void apply(LyXRC & rc) const;
- virtual void update(LyXRC const & rc);
+ virtual void applyRC(LyXRC & rc) const;
+ virtual void updateRC(LyXRC const & rc);
virtual void enableCB();
private Q_SLOTS:
void on_popupTextCB_clicked();
public:
PrefLatex(GuiPreferences * form);
- virtual void apply(LyXRC & rc) const;
- virtual void update(LyXRC const & rc);
+ virtual void applyRC(LyXRC & rc) const;
+ virtual void updateRC(LyXRC const & rc);
private Q_SLOTS:
void on_latexEncodingCB_stateChanged(int state);
public:
PrefScreenFonts(GuiPreferences * form);
- virtual void apply(LyXRC & rc) const;
- virtual void update(LyXRC const & rc);
+ virtual void applyRC(LyXRC & rc) const;
+ virtual void updateRC(LyXRC const & rc);
private Q_SLOTS:
void selectRoman(const QString&);
public:
PrefColors(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
private Q_SLOTS:
void changeColor();
public:
PrefDisplay(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
private Q_SLOTS:
void on_instantPreviewCO_currentIndexChanged(int);
public:
PrefPaths(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
private Q_SLOTS:
void selectExampledir();
public:
PrefSpellchecker(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
private Q_SLOTS:
void on_spellcheckerCB_currentIndexChanged(int);
public:
PrefConverters(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
public Q_SLOTS:
void updateGui();
public:
PrefFileformats(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
void updateView();
Q_SIGNALS:
public:
PrefLanguage(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
private Q_SLOTS:
void on_uiLanguageCO_currentIndexChanged(int);
public:
PrefPrinter(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
};
public:
PrefUserInterface(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
public Q_SLOTS:
void selectUi();
public:
PrefDocHandling(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
public Q_SLOTS:
void on_clearSessionPB_clicked();
public:
PrefEdit(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
};
public:
PrefShortcuts(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
void updateShortcutsTW();
void modifyShortcut();
void removeShortcut();
public:
PrefIdentity(GuiPreferences * form);
- void apply(LyXRC & rc) const;
- void update(LyXRC const & rc);
+ void applyRC(LyXRC & rc) const;
+ void updateRC(LyXRC const & rc);
};