Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/qtbc.h

Source at commit 1322 created 12 years 8 months ago.
By meklort, Add doxygen to utils folder
1/******************************************************************************
2 *
3 * $Id: qtbc.h,v 1.4 2001/03/19 19:27:41 root Exp $
4 *
5 * Copyright (C) 1997-2011 by Dimitri van Heesch.
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
12 *
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
15 *
16 */
17
18#ifndef QTBC_H
19#define QTBC_H
20
21/*! This file contains some hacks to make Doxygen work with
22 * Qt version 2.00 and Qt version 1.xx
23 */
24
25#include <qglobal.h>
26
27#if QT_VERSION >= 200
28
29#include <locale.h>
30
31#define GCI QCollection::Item
32
33#include <qcstring.h>
34#include <qstring.h>
35inline QCString convertToQCString(const QString &s) { return s.utf8(); }
36
37#else /* QT_VERSION < 200 */
38
39#include <qstring.h>
40#define QCString QString
41inline QCString convertToQCString(const QCString &s) { return s; }
42
43#endif
44
45#endif
46

Archive Download this file

Revision: 1322