src/mainwindow.h

changeset 964
70f6900a92d5
parent 963
c1526d1877d7
child 965
d1b0aa40db91
--- 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();
 };
 
 //

mercurial