--- a/src/Dialogs.h Sun Mar 09 14:04:06 2014 +0200 +++ b/src/Dialogs.h Sun Mar 09 14:59:46 2014 +0200 @@ -16,9 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef LDFORGE_DIALOGS_H -#define LDFORGE_DIALOGS_H - +#pragma once #include <QDialog> #include "Main.h" #include "Types.h" @@ -95,8 +93,8 @@ class OpenProgressDialog : public QDialog { Q_OBJECT - PROPERTY (public, int, Progress, NUM_OPS, STOCK_WRITE) - PROPERTY (public, int, NumLines, NUM_OPS, CUSTOM_WRITE) + PROPERTY (public, int, progress, setProgress, STOCK_WRITE) + PROPERTY (public, int, numLines, setNumLines, CUSTOM_WRITE) public: explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); @@ -141,5 +139,3 @@ }; void bombBox (const QString& message); - -#endif // LDFORGE_DIALOGS_H