lib
KOffice Namespace Reference
Detailed Description
Namespace for general KOFFICE functions.
Classes | |
class | Edge |
An internal class representing a filter (=edge) in the filter graph. More... | |
class | Vertex |
An internal class representing a mime type (=node, vertex) in the filter graph. More... | |
class | Graph |
The main worker behind the scenes. More... | |
class | PriorityQueue |
This PriorityQueue class is implemented as "upside down" heap, i.e. More... | |
Functions | |
unsigned int | version () |
unsigned int | versionMajor () |
unsigned int | versionMinor () |
unsigned int | versionRelease () |
const char * | versionString () |
Function Documentation
unsigned int KOffice::version | ( | ) |
Returns the encoded number of KOffice's version, see the KOFFICE_VERSION macro.
In contrary to that macro this function returns the number of the actually installed KOffice version, not the number of the KOffice version that was installed when the program was compiled.
- Returns:
- the version number, encoded in a single uint
- Since:
- 1.3
Definition at line 22 of file kofficeversion.cc.
unsigned int KOffice::versionMajor | ( | ) |
Returns the major number of KOffice's version, e.g.
1 for KOffice 1.2.3.
- Returns:
- the major version number
- Since:
- 1.3
Definition at line 27 of file kofficeversion.cc.
unsigned int KOffice::versionMinor | ( | ) |
Returns the minor number of KOffice's version, e.g.
2 for KOffice 1.2.3.
- Returns:
- the minor version number
- Since:
- 1.3
Definition at line 32 of file kofficeversion.cc.
unsigned int KOffice::versionRelease | ( | ) |
Returns the release of KOffice's version, e.g.
3 for KOffice 1.2.3.
- Returns:
- the release number
- Since:
- 1.3
Definition at line 37 of file kofficeversion.cc.
const char * KOffice::versionString | ( | ) |
Returns the KOffice version as string, e.g.
"1.2.3".
- Returns:
- the KOffice version. You can keep the string forever
- Since:
- 1.3
Definition at line 42 of file kofficeversion.cc.