• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

  • kdecore
kdeversion.h
1 /* This file is part of the KDE libraries
2  Copyright (c) 2002-2005 KDE Team
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef _KDE_VERSION_H_
21 #define _KDE_VERSION_H_
22 
23 #include "kdelibs_export.h"
24 
25 #define KDE_VERSION_STRING "3.5.13.3 [DEVELOPMENT]"
26 #define KDE_VERSION_MAJOR 3
27 #define KDE_VERSION_MINOR 5
28 #define KDE_VERSION_RELEASE 13
29 #define KDE_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))
30 
31 #define KDE_VERSION \
32  KDE_MAKE_VERSION(KDE_VERSION_MAJOR,KDE_VERSION_MINOR,KDE_VERSION_RELEASE)
33 
34 #define KDE_IS_VERSION(a,b,c) ( KDE_VERSION >= KDE_MAKE_VERSION(a,b,c) )
35 
39 namespace KDE
40 {
49  KDECORE_EXPORT unsigned int version();
56  KDECORE_EXPORT unsigned int versionMajor();
63  KDECORE_EXPORT unsigned int versionMinor();
70  KDECORE_EXPORT unsigned int versionRelease();
76  KDECORE_EXPORT const char *versionString();
77 }
78 
79 #endif // _KDE_VERSION_H_
KDE::versionString
const char * versionString()
Returns the KDE version as string, e.g.
Definition: kdeversion.cpp:42
KDE::versionRelease
unsigned int versionRelease()
Returns the release of KDE's version, e.g.
Definition: kdeversion.cpp:37
KDE::versionMinor
unsigned int versionMinor()
Returns the minor number of KDE's version, e.g.
Definition: kdeversion.cpp:32
KDE::versionMajor
unsigned int versionMajor()
Returns the major number of KDE's version, e.g.
Definition: kdeversion.cpp:27
KDE::version
unsigned int version()
Returns the encoded number of KDE's version, see the KDE_VERSION macro.
Definition: kdeversion.cpp:22

kdecore

Skip menu "kdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |