Yes, it is a frustrating limitation of Q_ENUMS that has been there since
the Qt3 days. I had to write my own Enum class as a workaround.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
On Monday 14 July 2014 21:47:00 Konstantin Tokarev wrote:
>
> 14.07.2014, 13:39, "Martin Koller" :
> > On Monday 14 July 2014 09:11:06 Rutledge Shawn wrote:
> >> On 12 Jul 2014, at 10:03 AM, Martin Koller wrote:
> >>> Hi,
> >>>
> >>> is there any possibility to use an enum in the Q_ENUMS macro
14.07.2014, 13:39, "Martin Koller" :
> On Monday 14 July 2014 09:11:06 Rutledge Shawn wrote:
>> On 12 Jul 2014, at 10:03 AM, Martin Koller wrote:
>>> Hi,
>>>
>>> is there any possibility to use an enum in the Q_ENUMS macro when the enum
>>> is not
>>> defined in a QObject derived class ?
>>>
On Monday 14 July 2014 09:11:06 Rutledge Shawn wrote:
>
> On 12 Jul 2014, at 10:03 AM, Martin Koller wrote:
>
> > Hi,
> >
> > is there any possibility to use an enum in the Q_ENUMS macro when the enum
> > is not
> > defined in a QObject derived class ?
> > (Specifically I'm trying to do that wi
On 14 Jul 2014, at 11:11, Rutledge Shawn wrote:
>
> On 12 Jul 2014, at 10:03 AM, Martin Koller wrote:
>
>> Hi,
>>
>> is there any possibility to use an enum in the Q_ENUMS macro when the enum
>> is not
>> defined in a QObject derived class ?
>> (Specifically I'm trying to do that with QSslEr
On 12 Jul 2014, at 10:03 AM, Martin Koller wrote:
> Hi,
>
> is there any possibility to use an enum in the Q_ENUMS macro when the enum is
> not
> defined in a QObject derived class ?
> (Specifically I'm trying to do that with QSslError::SslError)
The Qt namespace has a lot of enums like that.
Hi,
is there any possibility to use an enum in the Q_ENUMS macro when the enum is
not
defined in a QObject derived class ?
(Specifically I'm trying to do that with QSslError::SslError)
--
Best regards/Schöne Grüße
Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top pos