]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filepicker.h
More incremental improvements to the "Insert Cart" dialog...
[virtualjaguar] / src / gui / filepicker.h
index e886e3b8a425d911518e1e2982b27b59cc019810..447162efb7ccb56f491169c887f0cb2288e655e4 100644 (file)
@@ -3,18 +3,33 @@
 //
 
 #include <QtGui>
+#include "types.h"
 
 // Forward declarations
 class QListWidget;
+class FileThread;
+class FileListModel;
+class QListView;
 
 class FilePickerWindow: public QWidget
 {
+       // Once we have signals/slots, we need this...
+       Q_OBJECT
+
        public:
                FilePickerWindow(QWidget * parent = 0);
 
+       public slots:
+               void AddFileToList(unsigned long index);
+               void AddFileToList2(unsigned long index, QString, QImage *);
+
        protected:
-               void PopulateList(void);
+//             void PopulateList(void);
 
        private:
-               QListWidget * fileList;
+               QListWidget * fileList2;
+               FileThread * fileThread;
+//             QAbstractItemModel * model;
+               FileListModel * model;
+               QListView * fileList;
 };