~quadrispro/codelite/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef __qmakesettingstab__
#define __qmakesettingstab__

/**
@file
Subclass of QmakeSettingsTabBase, which is generated by wxFormBuilder.
*/
class QmakeConf;

#include "qmakesettingsbasedlg.h"

/** Implementing QmakeSettingsTabBase */
class QmakeSettingsTab : public QmakeSettingsTabBase
{
	wxString       m_name;
	wxArrayString  GetSpecList(const wxString &qmakePath);

public:
	/** Constructor */
	QmakeSettingsTab( wxWindow* parent, const wxString &name );

	void Load(QmakeConf *conf);
	void Save(QmakeConf *conf);
	void OnFileSelected(wxFileDirPickerEvent &event);

	void SetTabName(const wxString& name) {
		this->m_name = name;
	}
	const wxString& GetTabName() const {
		return m_name;
	}
};

#endif // __qmakesettingstab__