]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCitation.h
Make the InsetInfo dialog a bit less esoteric.
[lyx.git] / src / frontends / qt4 / GuiCitation.h
index 5f093cc21d6b905ec7f34f00fda2ac91d493d842..428ea50a97de293a584d5e3f13dd4eafade126d2 100644 (file)
@@ -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.