X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilepicker.h;h=447162efb7ccb56f491169c887f0cb2288e655e4;hb=caf1236884015695c52910a75b8420be7c63d574;hp=a476a50c8817a619064ec9dedc43da5e4b370a61;hpb=8549cdb01f45764f69a6483285dc0771ea66c007;p=virtualjaguar diff --git a/src/gui/filepicker.h b/src/gui/filepicker.h index a476a50..447162e 100644 --- a/src/gui/filepicker.h +++ b/src/gui/filepicker.h @@ -3,20 +3,33 @@ // #include +#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); private: - QListWidget * fileList; + QListWidget * fileList2; FileThread * fileThread; +// QAbstractItemModel * model; + FileListModel * model; + QListView * fileList; };