--- a/src/config.h Wed Jul 17 00:31:04 2013 +0300 +++ b/src/config.h Wed Jul 17 01:53:57 2013 +0300 @@ -2,13 +2,24 @@ #define CONFIG_H #include <QDialog> +#include "main.h" +#include "types.h" class Ui_ConfigBox; class ConfigBox : public QDialog { + Q_OBJECT + public: - explicit ConfigBox( QWidget* parent = 0, Qt::WindowFlags f = 0 ); + explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 ); virtual ~ConfigBox(); + void addPath( str path ); + void initFromSettings(); + +public slots: + void addPath(); + void findPath(); + void delPath(); private: Ui_ConfigBox* ui;