<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /builddir/build/BUILD/libqxt/src/core/qxtglobal.cpp --> <head> <title><QxtGlobal> - Global Qxt Declarations</title> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="classes.html"><font color="#004faf">Classes</font></a> · <a href="namespaces.html"><font color="#004faf">Namespaces</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="top" width="230"></td></tr></table><h1 class="title"><QxtGlobal> - Global Qxt Declarations<br /><span class="subtitle"></span> </h1> <p>The <QxtGlobal> header provides basic declarations and is included by all other Qxt headers. <a href="#details">More...</a></p> <ul> </ul> <a name="Macrosx"></a> <h3>Macros</h3> <ul> <li><div class="fn"></div><b><a href="qxtglobal.html#QXT_VERSION">QXT_VERSION</a></b></li> <li><div class="fn"></div><b><a href="qxtglobal.html#QXT_VERSION_STR">QXT_VERSION_STR</a></b></li> </ul> <hr /> <h2>Macro Documentation</h2> <h3 class="fn"><a name="QXT_VERSION"></a>QXT_VERSION</h3> <p>This macro expands a numeric value of the form 0xMMNNPP (MM = major, NN = minor, PP = patch) that specifies Qxt's version number. For example, if you compile your application against Qxt 0.4.0, the QXT_VERSION macro will expand to 0x000400.</p> <p>You can use QXT_VERSION to use the latest Qt features where available. For example:</p> <pre> #if QXT_VERSION >= 0x000400 qxtTabWidget->setTabMovementMode(QxtTabWidget::InPlaceMovement); #endif</pre> <p>See also <a href="qxtglobal.html#QXT_VERSION_STR">QXT_VERSION_STR</a> and qxtVersion().</p> <h3 class="fn"><a name="QXT_VERSION_STR"></a>QXT_VERSION_STR</h3> <p>This macro expands to a string that specifies Qxt's version number (for example, "0.4.0"). This is the version against which the application is compiled.</p> <p>See also qxtVersion() and <a href="qxtglobal.html#QXT_VERSION">QXT_VERSION</a>.</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td align="left">Copyright © 2007-2010 <a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td> <td align="right"><div align="right"> <a href="http://libqxt.org">Qxt</a> 0.6.1</div></td> </tr></table></div></address></body> </html>