Funny position to take given that a lot of Qt goodness is due to macros and preprocessors
Anyway, none of those reasons apply in this case, since the point is just to put the name in one place. I'm against heavy use of macros as well (I hate it when people define macros like MWPTR MainWindowFactor::getInterfacePointer()->mainWindow()). Those just serve to obfuscate code, but in this case a define is the easiest way to go.
Bookmarks