72 class PrimitiveLister : public QObject |
72 class PrimitiveLister : public QObject |
73 { |
73 { |
74 Q_OBJECT |
74 Q_OBJECT |
75 |
75 |
76 public: |
76 public: |
77 explicit PrimitiveLister (QObject* parent = 0); |
77 explicit PrimitiveLister (QObject* parent = 0); |
78 virtual ~PrimitiveLister(); |
78 virtual ~PrimitiveLister(); |
79 static void start(); |
79 static void start(); |
80 |
80 |
81 public slots: |
81 public slots: |
82 void work(); |
82 void work(); |
83 |
83 |
84 signals: |
84 signals: |
85 void starting (int num); |
85 void starting (int num); |
86 void workDone(); |
86 void workDone(); |
87 void update (int i); |
87 void update (int i); |
88 |
88 |
89 private: |
89 private: |
90 QList<Primitive> m_prims; |
90 QList<Primitive> m_prims; |
91 QStringList m_files; |
91 QStringList m_files; |
92 int m_i; |
92 int m_i; |