blob: 57935d72c6547f1c715b7f6af0b91aaf7b4cc1d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/***************************************************************************
kdecompat.h
-------------------
copyright : (C) 2004 by Thomas Baumgart
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* 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 _KDECOMPAT_H
#define _KDECOMPAT_H
#include <tdeversion.h>
#ifndef TDE_MAKE_VERSION
#define TDE_MAKE_VERSION(a,b,c) (((a)<<16) | ((b)<<8) | (c))
#endif
#ifndef KDE_IS_VERSION
#define KDE_IS_VERSION(a,b,c) (TDE_VERSION >= TDE_MAKE_VERSION(a,b,c))
#endif
#ifndef QT_IS_VERSION
#define QT_IS_VERSION(a,b,c) (TQT_VERSION >= TDE_MAKE_VERSION(a,b,c))
#endif
#if TDE_VERSION < TDE_MAKE_VERSION(3,2,0)
#define TDE_DEPRECATED
#endif
#endif // _KDECOMPAT_H
|