src/widgets.h

changeset 494
bd005c78a089
parent 493
16766ac1bbd9
child 498
791c831c8020
--- a/src/widgets.h	Thu Oct 03 20:56:20 2013 +0300
+++ b/src/widgets.h	Thu Oct 03 21:08:34 2013 +0300
@@ -40,7 +40,7 @@
 {	Q_OBJECT
 
 	public:
-		typedef List<QRadioButton*>::it it;
+		typedef List<QRadioButton*>::Iterator Iterator;
 
 		explicit RadioGroup()
 		{	init (Qt::Vertical);
@@ -54,20 +54,20 @@
 		explicit RadioGroup (const QString& title, initlist<char const*> entries, int const defaultId,
 			const Qt::Orientation orient = Qt::Vertical, QWidget* parent = null);
 
-		void			addButton	(const char* entry);
-		void			addButton	(QRadioButton* button);
-		it				begin	();
-		it				end	();
-		void			init	(Qt::Orientation orient);
-		bool			isChecked	(int n) const;
-		void			rowBreak	();
-		void			setCurrentRow	(uint row);
-		void			setValue	(int val);
-		int				value	() const;
+		void            addButton	(const char* entry);
+		void            addButton	(QRadioButton* button);
+		Iterator        begin();
+		Iterator        end();
+		void            init (Qt::Orientation orient);
+		bool            isChecked (int n) const;
+		void            rowBreak();
+		void            setCurrentRow (uint row);
+		void            setValue (int val);
+		int             value() const;
 
-		QRadioButton*	operator[]	(uint n) const;
-		RadioGroup&		operator<<	(QRadioButton* button);
-		RadioGroup&		operator<<	(const char* entry);
+		QRadioButton*   operator[] (uint n) const;
+		RadioGroup&     operator<< (QRadioButton* button);
+		RadioGroup&     operator<< (const char* entry);
 
 	signals:
 		void buttonPressed (int btn);

mercurial