qtbc.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * $Id: qtbc.h,v 1.4 2001/03/19 19:27:41 root Exp $
00004  *
00005  * Copyright (C) 1997-2008 by Dimitri van Heesch.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and its
00008  * documentation under the terms of the GNU General Public License is hereby 
00009  * granted. No representations are made about the suitability of this software 
00010  * for any purpose. It is provided "as is" without express or implied warranty.
00011  * See the GNU General Public License for more details.
00012  *
00013  * Documents produced by Doxygen are derivative works derived from the
00014  * input used in their production; they are not affected by this license.
00015  *
00016  */
00017 
00018 #ifndef QTBC_H
00019 #define QTBC_H
00020 
00025 #include <qglobal.h>
00026 
00027 #if QT_VERSION >= 200
00028 
00029 #include <locale.h>
00030 
00031 #define GCI QCollection::Item
00032 
00033 #include <qcstring.h>
00034 #include <qstring.h>
00035 inline QCString convertToQCString(const QString &s) { return s.latin1(); }
00036 
00037 #else /* QT_VERSION < 200 */
00038 
00039 #include <qstring.h>
00040 #define QCString QString
00041 inline QCString convertToQCString(const QCString &s) { return s; }
00042 
00043 #endif
00044 
00045 #endif



Generated on Mon Mar 31 10:58:42 2008 by  doxygen 1.5.1