Or you can try Q_GADGET on your enum class
http://stackoverflow.com/questions/6...and-assignment
Q_GADGET is only mentioned in passing in the QObjectvdocs. I suspect it will not well in the enum class.
 Guru
					
					
						Guru
					
					
                                        
					
						
							
								 
							
								 
							
								 
							
								 
							
								 
							
								 
							
								 
							
								 
							
								 
							
								 
							
								 
							
						
					
					
						 
    
    
       
    
    
    
    
    
   
    
    
       
    
    
    
    
   Re: Q_ENUMS outside of the class?
 Re: Q_ENUMS outside of the class?
		Or you can try Q_GADGET on your enum class
http://stackoverflow.com/questions/6...and-assignment
Q_GADGET is only mentioned in passing in the QObjectvdocs. I suspect it will not well in the enum class.
Last edited by ChrisW67; 11th October 2013 at 21:42.
 Re: Q_ENUMS outside of the class?
 Re: Q_ENUMS outside of the class?
		Thanks for your answers.
I think that I will adjust my design and go with Qt style (QObject class with Q_ENUMS)
Bookmarks