diff -r c1526d1877d7 -r 70f6900a92d5 src/mainwindow.h --- a/src/mainwindow.h Sun Aug 30 04:57:09 2015 +0300 +++ b/src/mainwindow.h Sun Aug 30 05:16:07 2015 +0300 @@ -37,22 +37,16 @@ class Ui_LDForgeUI; struct Primitive; -// Stuff for dialogs -#define IMPLEMENT_DIALOG_BUTTONS \ - bbx_buttons = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel); \ - connect (bbx_buttons, SIGNAL (accepted()), this, SLOT (accept())); \ - connect (bbx_buttons, SIGNAL (rejected()), this, SLOT (reject())); \ - class LDQuickColor { PROPERTY (public, LDColor, color, setColor, STOCK_WRITE) PROPERTY (public, QToolButton*, toolButton, setToolButton, STOCK_WRITE) - public: - LDQuickColor (LDColor color, QToolButton* toolButton); - bool isSeparator() const; +public: + LDQuickColor (LDColor color, QToolButton* toolButton); + bool isSeparator() const; - static LDQuickColor getSeparator(); + static LDQuickColor getSeparator(); }; //