/************************************************** * * ************************************************** * This code was created by Peter Harvey @ CodeByDesign. * Released under GPL 31.JAN.99 * * Contributions from... * ----------------------------------------------- * Peter Harvey - pharvey@codebydesign.com **************************************************/ #ifndef CFileList_included #define CFileList_included #include #include #include #include #include #include #include #include #include #include #include "CDriverPrompt.h" #include "CPropertiesFrame.h" #include "CDLL.h" #define ODBC_HELP_DSN_NAME "*Unique* DSN name. This is the name you use when using ODBC with applications such as StarOffice. Try to keep unusual characters and spaces out of the name." #define ODBC_HELP_DSN_DESC "DSN description. A long, perhaps more meaningfull name." #define ODBC_HELP_DSN_UNKNOWN "No help for this DSN property. Please check with the vendor of the driver... perhaps their web site" class CFileList : public QListView { Q_OBJECT public: CFileList( QWidget* parent = NULL, const char* name = NULL ); ~CFileList(); void Load( QString *in_cwd = NULL ); QString GetDir( void ); public slots: void Add(); void Edit(); void Delete(); void NewDir(); private: int nSource; QString cwd; }; #endif