All of lore.kernel.org
 help / color / mirror / Atom feed
From: leslie.polzer@gmx.net
To: Shriramana Sharma <samjnaa@gmail.com>
Cc: Linux C Programming List <linux-c-programming@vger.kernel.org>
Subject: Re: class Q_CORE_EXPORT QFlag
Date: Fri, 4 May 2007 13:27:57 +0200	[thread overview]
Message-ID: <20070504112757.GC11947@wintermute.farpoint> (raw)
In-Reply-To: <46372A8E.5090201@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-05-04 11:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 11:54 class Q_CORE_EXPORT QFlag Shriramana Sharma
2007-05-04 11:27 ` leslie.polzer [this message]
2007-05-04 12:04 ` Steve Graegert
2007-05-14 18:50   ` Shriramana Sharma
2007-05-15 10:12     ` Shriramana Sharma
2007-05-15 16:54     ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070504112757.GC11947@wintermute.farpoint \
    --to=leslie.polzer@gmx.net \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=samjnaa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.