src/addObjectDialog.h

changeset 667
31540c1f22ea
parent 606
3dd6f343ec06
--- a/src/addObjectDialog.h	Wed Oct 23 13:14:17 2013 +0300
+++ b/src/addObjectDialog.h	Mon Jan 20 15:04:26 2014 +0200
@@ -1,6 +1,6 @@
 /*
  *  LDForge: LDraw parts authoring CAD
- *  Copyright (C) 2013 Santeri Piippo
+ *  Copyright (C) 2013, 2014 Santeri Piippo
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -32,7 +32,8 @@
 class QDoubleSpinBox;
 
 class AddObjectDialog : public QDialog
-{	Q_OBJECT
+{
+	Q_OBJECT
 
 	public:
 		AddObjectDialog (const LDObject::Type type, LDObject* obj, QWidget* parent = null);
@@ -59,10 +60,10 @@
 		QLineEdit* le_matrix;
 
 	private:
-		void setButtonBackground (QPushButton* button, short color);
-		str currentSubfileName();
+		void setButtonBackground (QPushButton* button, int color);
+		QString currentSubfileName();
 
-		short colnum;
+		int colnum;
 
 	private slots:
 		void slot_colorButtonClicked();

mercurial