]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filethread.h
Initial stab at making Jaguar core work in QT: Works, but wrong colors.
[virtualjaguar] / src / gui / filethread.h
index aec0038fa70d05726af9a4d40d1c974b34cb98a8..533ddfb14f9bb496bf89d94fd8577964403237da 100644 (file)
@@ -8,22 +8,24 @@
 #include <QtCore>
 #include "types.h"
 
-// Forward declarations
-class QListWidget;
-
 class FileThread: public QThread
 {
+       Q_OBJECT
+
        public:
                FileThread(QObject * parent = 0);
                ~FileThread();
-               void Go(QListWidget * lw);
+               void Go(void);
+
+       signals:
+               void FoundAFile(unsigned long index);
+               void FoundAFile2(unsigned long index, QString filename, QImage * label);
 
        protected:
                void run(void);
                uint32 FindCRCIndexInFileList(uint32);
 
        private:
-               QListWidget * listWidget;
                QMutex mutex;
                QWaitCondition condition;
                bool abort;