diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 18:42:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 18:42:24 +0000 |
commit | f508189682b6fba62e08feeb1596f682bad5fff9 (patch) | |
tree | 28aeb0e6c19386c385c1ce5edf8a92c1bca15281 /src/common/global/global.h | |
download | piklab-f508189682b6fba62e08feeb1596f682bad5fff9.tar.gz piklab-f508189682b6fba62e08feeb1596f682bad5fff9.zip |
Added KDE3 version of PikLab
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1095639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/common/global/global.h')
-rw-r--r-- | src/common/global/global.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/common/global/global.h b/src/common/global/global.h new file mode 100644 index 0000000..72dab0e --- /dev/null +++ b/src/common/global/global.h @@ -0,0 +1,61 @@ +/*************************************************************************** + * Copyright (C) 2006 Nicolas Hadacek <hadacek@kde.org> * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + ***************************************************************************/ +#ifndef GLOBAL_H +#define GLOBAL_H + +#include <qglobal.h> + +#if QT_VERSION<0x040000 +# include <qapplication.h> +# include <qvaluelist.h> +# include <qvaluevector.h> +# include <qmemarray.h> +# include "common/common/qflags.h" +# define qMax QMAX +# define qMin QMIN +# include <qurl.h> +# define Q3Url QUrl +# include <qguardedptr.h> +#else +# include <qcoreapplication.h> +# include <Qt3Support/Q3ValueList> +# define QValueList Q3ValueList +# include <Qt3Support/Q3ValueVector> +# define QValueVector Q3ValueVector +# include <Qt3Support/Q3MemArray> +# define QMemArray Q3MemArray +# define qHeapSort qSort +# include <Qt3Support/Q3Url> +# include <Qt3Support/Q3MimeSourceFactory> +# define QMimeSourceFactory Q3MimeSourceFactory +# include <qpointer.h> +# define QGuardedPtr QPointer +#endif + +#if defined(NO_KDE) +# include "qt_config.h" +# include "common/nokde/nokde_kurl.h" +# include "common/nokde/nokde_klocale.h" +# include "common/nokde/nokde_kaboutdata.h" +# include "common/nokde/nokde_kcmdlineargs.h" +#else +# include "config.h" +# include <kapplication.h> +# include <klocale.h> +# include <kaboutdata.h> +# include <kcmdlineargs.h> +# include <ktempfile.h> +# include <kconfigbackend.h> +#endif + +#if defined(Q_OS_WIN) +# include <windows.h> +#endif + +#endif |