X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiCitation.h;h=428ea50a97de293a584d5e3f13dd4eafade126d2;hb=b6eacd8d4f86734e8abef3335b190ce12a6a11b5;hp=5f093cc21d6b905ec7f34f00fda2ac91d493d842;hpb=5685080356bebfb5d38b8597cf41f960d82e7a8e;p=lyx.git diff --git a/src/frontends/qt4/GuiCitation.h b/src/frontends/qt4/GuiCitation.h index 5f093cc21d..428ea50a97 100644 --- a/src/frontends/qt4/GuiCitation.h +++ b/src/frontends/qt4/GuiCitation.h @@ -47,10 +47,9 @@ public: GuiCitation(GuiView & lv); private Q_SLOTS: - void on_okPB_clicked(); - void on_cancelPB_clicked(); - void on_restorePB_clicked(); - void on_applyPB_clicked(); + void on_buttonBox_accepted(); + void on_buttonBox_rejected(); + void on_buttonBox_clicked(QAbstractButton *); void on_literalCB_clicked(); void filterPressed(); void filterChanged(const QString & text); @@ -79,7 +78,7 @@ private: void clearParams(); void dispatchParams(); bool isBufferDependent() const { return true; } - void saveSession() const; + void saveSession(QSettings & settings) const; void restoreSession(); /** Disconnect from the inset when the Apply button is pressed. * Allows easy insertion of multiple citations. @@ -183,9 +182,6 @@ private: /// last used citation style QString style_; - /// last set value for literal - /// this is used only for new citations - bool literal_; /// GuiSelectionManager * selectionManager; /// available keys.