Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

global.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 /***************************************************************************
00003  *   Copyright (C) 2004 by Richard Moore                                   *
00004  *   rich@kde.org                                                          *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU Library General Public License as       *
00008  *   published by the Free Software Foundation; either version 2 of the    *
00009  *   License, or (at your option) any later version.                       *
00010  *                                                                         *
00011  *   This program is distributed in the hope that it will be useful,       *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU General Public License for more details.                          *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Library General Public     *
00017  *   License along with this program; if not, write to the                 *
00018  *   Free Software Foundation, Inc.,                                       *
00019  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00020  ***************************************************************************/
00021 
00022 #ifndef KJSEMBED_GLOBAL_H
00023 #define KJSEMBED_GLOBAL_H
00024 
00025 #ifndef QT_ONLY
00026 
00027 /*
00028  * These are the normal definitions used when KDE is available.
00029  */
00030 
00031 #include <kdebug.h>
00032 #include <klocale.h>
00033 
00034 #else // QT_ONLY
00035 
00036 /*
00037  * These are the custom definitions used when we only have Qt.
00038  */
00039 
00040 #include <qtextstream.h>
00041 
00042 QTextStream &kdDebug( int area=0 );
00043 QTextStream &kdWarning( int area=0 );
00044 
00045 #define i18n(x) QString(x)
00046 
00047 #endif // QT_ONLY
00048 
00049 #endif // KJSEMBED_GLOBAL_H
00050  

Generated on Sat May 29 03:13:07 2004 for KJSEmbed by doxygen 1.3.2