• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

/tmp/buildd/soprano-2.5.0.e5.20101129.1201952/soprano/sopranomacros.h

Go to the documentation of this file.
00001 /* This file is part of Soprano
00002  *
00003  * Copyright (C) 2008 Sebastian Trueg <trueg@kde.org>
00004  *
00005  * Macros in this file are based on macros from KDE's kdemacros.h
00006  * Copyright (c) 2002-2003 KDE Team
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Library General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Library General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Library General Public License
00019  * along with this library; see the file COPYING.LIB.  If not, write to
00020  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021  * Boston, MA 02110-1301, USA.
00022  */
00023 
00032 #ifndef _SOPRANO_MACROS_H_
00033 #define _SOPRANO_MACROS_H_
00034 
00035 #ifdef __cplusplus
00036 # include <QtCore/qglobal.h>
00037 # ifndef SOPRANO_DEPRECATED
00038 #   define SOPRANO_DEPRECATED Q_DECL_DEPRECATED
00039 # endif
00040 #endif
00041 
00042 #ifndef SOPRANO_CONSTRUCTOR_DEPRECATED
00043 # ifdef __GNUC__
00044 #  if __GNUC__ == 3 && __GNUC_MINOR__ <= 3 
00045     /* GCC 3.3.x cannot handle Qt 4.1.2's definition of Q_DECL_CONSTRUCTOR_DEPRECATED */
00046 #   define SOPRANO_CONSTRUCTOR_DEPRECATED
00047 #  else
00048 #   define SOPRANO_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED
00049 #  endif
00050 # else
00051 #  define SOPRANO_CONSTRUCTOR_DEPRECATED Q_DECL_CONSTRUCTOR_DEPRECATED
00052 # endif
00053 #endif
00054 
00055 
00056 #endif

Generated on Mon Nov 29 2010 09:40:15 for Soprano by  doxygen 1.7.1