diff gui/src/HistoryDockWidget.h @ 13506:c70511cf64ee

Reformatted to GNU Style.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Sun, 17 Jul 2011 22:59:28 +0200
parents 13e3d60aff2d
children 86adc9c4ec4b
line wrap: on
line diff
--- a/gui/src/HistoryDockWidget.h
+++ b/gui/src/HistoryDockWidget.h
@@ -51,23 +51,21 @@
 #include "octave/symtab.h"
 #include "cmd-edit.h"
 
-class HistoryDockWidget : public QDockWidget {
-    Q_OBJECT
-public:
-    HistoryDockWidget(QWidget *parent = 0);
-    void updateHistory(string_vector historyEntries);
+class HistoryDockWidget:public QDockWidget
+{
+Q_OBJECT public:
+  HistoryDockWidget (QWidget * parent = 0);
+  void updateHistory (string_vector historyEntries);
 
-signals:
-    void information(QString message);
-    void commandDoubleClicked(QString command);
+    signals:void information (QString message);
+  void commandDoubleClicked (QString command);
 
-private slots:
-    void handleListViewItemDoubleClicked(QModelIndex modelIndex);
+  private slots:void handleListViewItemDoubleClicked (QModelIndex modelIndex);
 
 private:
-    void construct();
-    QListView *m_historyListView;
-    QStringListModel *m_historyListModel;
+  void construct ();
+  QListView *m_historyListView;
+  QStringListModel *m_historyListModel;
 };
 
 #endif // HISTORYDOCKWIDGET_H