Re: class Q_CORE_EXPORT QFlag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 01, 2007 at 05:24:54PM +0530, Shriramana Sharma wrote:

> I see many usages in the Qt sources like:
>
> class Q_CORE_EXPORT QFlag { <blah blah blah> } ;
>
> Isn't the word immediately next to the keyword class supposed to be
> the class name? Q_CORE_EXPORT etc are certainly not class names. What
> are they and how are they allowed in between the word class and the
> class name?

It's either a C preprocessor symbol defined somewhere else, or, what's
more likely, a MOC preprocessor symbol.

  Leslie

-- 
Personal homepage: https://viridian.dnsalias.net/~sky/homepage/
gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83

Attachment: pgpOwBcfrX4kV.pgp
Description: PGP signature


[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux