]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QBranches.h
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / qt4 / QBranches.h
index a9a3128d2bac4944479ff501f612a1303b3ea864..b83d197b4c193edf9eff1cc88c29b5e665cb07b7 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file QDocumentDialog.h
+ * \file QBranches.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -22,7 +22,7 @@
 #include <string>
 
 
-class Q3ListViewItem;
+class QTreeWidgetItem;
 
 class BufferParams;
 
@@ -30,28 +30,28 @@ namespace lyx {
 namespace frontend {
 
 
-class QBranches: public QWidget, public Ui::BranchesUi 
+class QBranches: public QWidget, public Ui::BranchesUi
 {
        Q_OBJECT
 public:
        QBranches(QWidget * parent=0, Qt::WFlags f=0);
        ~QBranches();
-       
+
        void update(BufferParams const & params);
        void apply(BufferParams & params) const;
-\r
-signals:\r
-       void changed();\r
+
+signals:
+       void changed();
 
 protected:
-       void toggleBranch(Q3ListViewItem * selItem);
+       void toggleBranch(QTreeWidgetItem *);
        void update();
 
 protected slots:
        void on_addBranchPB_pressed();
        void on_removePB_pressed();
        void on_activatePB_pressed();
-       void on_branchesLV_doubleClicked(Q3ListViewItem *);
+       void on_branchesTW_itemDoubleClicked(QTreeWidgetItem *, int);
        void on_colorPB_clicked();
 
 private: