Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
13505:3a26a0ad2df9 | 13506:c70511cf64ee |
---|---|
49 #include "octave/cmd-edit.h" | 49 #include "octave/cmd-edit.h" |
50 #include "octave/oct-env.h" | 50 #include "octave/oct-env.h" |
51 #include "octave/symtab.h" | 51 #include "octave/symtab.h" |
52 #include "cmd-edit.h" | 52 #include "cmd-edit.h" |
53 | 53 |
54 class HistoryDockWidget : public QDockWidget { | 54 class HistoryDockWidget:public QDockWidget |
55 Q_OBJECT | 55 { |
56 public: | 56 Q_OBJECT public: |
57 HistoryDockWidget(QWidget *parent = 0); | 57 HistoryDockWidget (QWidget * parent = 0); |
58 void updateHistory(string_vector historyEntries); | 58 void updateHistory (string_vector historyEntries); |
59 | 59 |
60 signals: | 60 signals:void information (QString message); |
61 void information(QString message); | 61 void commandDoubleClicked (QString command); |
62 void commandDoubleClicked(QString command); | |
63 | 62 |
64 private slots: | 63 private slots:void handleListViewItemDoubleClicked (QModelIndex modelIndex); |
65 void handleListViewItemDoubleClicked(QModelIndex modelIndex); | |
66 | 64 |
67 private: | 65 private: |
68 void construct(); | 66 void construct (); |
69 QListView *m_historyListView; | 67 QListView *m_historyListView; |
70 QStringListModel *m_historyListModel; | 68 QStringListModel *m_historyListModel; |
71 }; | 69 }; |
72 | 70 |
73 #endif // HISTORYDOCKWIDGET_H | 71 #endif // HISTORYDOCKWIDGET_H |