diff -r a5b53cc10436 -r 0b3a5bc4e8a8 config/versionguientry.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/versionguientry.h Sun Jun 07 19:55:06 2015 +0300 @@ -0,0 +1,33 @@ +#pragma once + +class QString; +class QLabel; +class QTableWidgetItem; +struct ZandronumVersion; + +// +// ------------------------------------------------------------------------------------------------- +// +// A ZandronumVersion represented in the config window. +// + +class VersionGuiEntry +{ +public: + VersionGuiEntry (const QString& name, bool isRelease, + QLabel* label, QTableWidgetItem* pathItem); + ZandronumVersion toNonGuiVersion() const; + QLabel* label(); + QTableWidgetItem* pathItem(); + const QString& name(); + void updateStyleSheet(); + bool isRelease(); + void setRelease (bool a); + void setName (const QString& a); + +private: + QLabel* m_label; + QTableWidgetItem* m_pathItem; + QString m_name; + bool m_isRelease; +}; \ No newline at end of file