src/config.h

Wed, 17 Jul 2013 03:06:21 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Wed, 17 Jul 2013 03:06:21 +0300
changeset 5
3c04e05ab24f
parent 3
d0b278fd29d5
child 6
67b6ef6917ba
permissions
-rw-r--r--

Added configs for Zandronum binary paths

#ifndef CONFIG_H
#define CONFIG_H

#include <QDialog>
#include "main.h"
#include "types.h"

class QLineEdit;
class Ui_ConfigBox;

class ConfigBox : public QDialog {
	Q_OBJECT
	
public:
	explicit ConfigBox( QWidget* parent = null, Qt::WindowFlags f = 0 );
	virtual ~ConfigBox();
	void addPath( str path );
	void initFromSettings();
	str binaryConfigName( str ver ) const;
	
public slots:
	void addPath();
	void findPath();
	void delPath();
	void findZanBinary();
	void okPressed();
	void cancelPressed();
	
private:
	Ui_ConfigBox* ui;
	list<QLineEdit*> m_zanBinaries;
};

#endif // CONFIG_H

mercurial