]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QBranches.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QBranches.h
index e5a9ecd159b4edc272482094d2df81517d37fa7d..cfbfd5f1315ddda9d7cbc85c1c1794cfecb13899 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;
 
@@ -40,18 +40,18 @@ public:
        void update(BufferParams const & params);
        void apply(BufferParams & params) const;
 
-signals:
+Q_SIGNALS:
        void changed();
 
 protected:
-       void toggleBranch(Q3ListViewItem * selItem);
+       void toggleBranch(QTreeWidgetItem *);
        void update();
 
-protected slots:
+protected Q_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: