Re: [Development] Namespace macros for Qt Add-Ons

2011-12-09 Thread Thiago Macieira
On Friday, 9 de December de 2011 08.50.41, lars.kn...@nokia.com wrote: > >Now we have macros like: > > > >QTORGANIZER_USE_NAMESPACE > >QTBLUETOOTH_USE_NAMESPACE > >Q_USE_JSONDB_NAMESPACE > > > >So it's not consistent at the moment, which makes the macros > >non-guessable. What would be the right th

Re: [Development] Namespace macros for Qt Add-Ons

2011-12-09 Thread lars.knoll
On 12/9/11 11:20 AM, "Haverinen Henry (Nokia-MP-Qt/Tampere)" wrote: > >On 12/9/11 10:50 AM, "Knoll Lars (Nokia-MP-Qt/Oslo)" > wrote: > >>On 12/9/11 8:42 AM, "Haverinen Henry (Nokia-MP-Qt/Tampere)" >> wrote: > > >>>Now we have macros like: >>> >>>QTORGANIZER_USE_NAMESPACE >>>QTBLUETOOTH_USE_NAMESP

Re: [Development] Namespace macros for Qt Add-Ons

2011-12-09 Thread henry.haverinen
On 12/9/11 10:50 AM, "Knoll Lars (Nokia-MP-Qt/Oslo)" wrote: >On 12/9/11 8:42 AM, "Haverinen Henry (Nokia-MP-Qt/Tampere)" > wrote: >>Now we have macros like: >> >>QTORGANIZER_USE_NAMESPACE >>QTBLUETOOTH_USE_NAMESPACE >>Q_USE_JSONDB_NAMESPACE >> >>So it's not consistent at the moment, which make

Re: [Development] Namespace macros for Qt Add-Ons

2011-12-09 Thread lars.knoll
On 12/9/11 8:42 AM, "Haverinen Henry (Nokia-MP-Qt/Tampere)" wrote: >Hi Lars, > >We've previously recommended that add-on modules should wrap their public >interface in C++ namespaces like QtBluetooth, QtOrganizer, QtJsonDb and so >on. > >Should there be some guidance for the namespace macros? Es

[Development] Namespace macros for Qt Add-Ons

2011-12-08 Thread henry.haverinen
Hi Lars, We've previously recommended that add-on modules should wrap their public interface in C++ namespaces like QtBluetooth, QtOrganizer, QtJsonDb and so on. Should there be some guidance for the namespace macros? Especially the macros for using the namespace, which are used in application c