X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilepicker.h;h=447162efb7ccb56f491169c887f0cb2288e655e4;hb=0231914da63ed8c44751d7c7ef07f8e311ae0db1;hp=ec02cba811a355f63350f9d37e9cd9257e5ea44f;hpb=be0b102eec76acf80acce7cd3de8e690e27564d4;p=virtualjaguar diff --git a/src/gui/filepicker.h b/src/gui/filepicker.h index ec02cba..447162e 100644 --- a/src/gui/filepicker.h +++ b/src/gui/filepicker.h @@ -3,3 +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 * fileList2; + FileThread * fileThread; +// QAbstractItemModel * model; + FileListModel * model; + QListView * fileList; +};