Mercurial > hg > octave-nkf
comparison libgui/src/find-files-model.h @ 16820:f98e1e5b0618
add macro Q_OBJECT to find_files_model in order to make tr () work
* find-files-model.h: add macro Q_OBJECT to class
* module.mk: add src/moc-find-files-model.cc to the list octave_gui_MOC
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 23 Jun 2013 14:33:21 +0200 |
parents | 3e8fd0c479b4 |
children | 90d50e56a06a |
comparison
equal
deleted
inserted
replaced
16819:94c19dfb4ab1 | 16820:f98e1e5b0618 |
---|---|
29 #include <QIcon> | 29 #include <QIcon> |
30 | 30 |
31 | 31 |
32 class find_files_model : public QAbstractListModel | 32 class find_files_model : public QAbstractListModel |
33 { | 33 { |
34 Q_OBJECT | |
35 | |
34 public: | 36 public: |
35 find_files_model(QObject *p=0); | 37 find_files_model(QObject *p=0); |
36 ~find_files_model (); | 38 ~find_files_model (); |
37 | 39 |
38 void clear(); | 40 void clear(); |