KDbServerVersionInfo

Search for usage in LXR

KDbServerVersionInfo Class Reference

#include <KDbVersionInfo.shared.h>

Public Member Functions

void clear ()
 
bool isNull () const
 

Public Attributes

int major
 
int minor
 
int release
 
QString string
 

Detailed Description

Provides information about version of given database backend.

Definition at line 87 of file KDbVersionInfo.shared.h.

Member Function Documentation

◆ clear()

void KDbServerVersionInfo::clear ( )

Clears the information - integers will be set to 0 and string to null.

Definition at line 23 of file KDbVersionInfo.cpp.

◆ isNull()

bool KDbServerVersionInfo::isNull ( ) const
Returns
true if this version info is null, i.e. all the version numbers are zero.
Todo
add this to SDC: bool operator==(const Data& other) const { return false; }

Definition at line 35 of file KDbVersionInfo.cpp.

Member Data Documentation

◆ major

int KDbServerVersionInfo::major

@getter

Returns
major version number, e.g. 1 for 1.8.9 @setter Sets the major version number.

Definition at line 96 of file KDbVersionInfo.shared.h.

◆ minor

int KDbServerVersionInfo::minor

@getter

Returns
minor version number, e.g. 8 for 1.8.9 @setter Sets the minor version number.

Definition at line 104 of file KDbVersionInfo.shared.h.

◆ release

int KDbServerVersionInfo::release

@getter

Returns
release version number, e.g. 9 for 1.8.9 @setter Sets the release version number.

Definition at line 112 of file KDbVersionInfo.shared.h.

◆ string

QString KDbServerVersionInfo::string

@getter

Returns
version string, as returned by the server. @setter Sets the version string, as returned by the server.

Definition at line 120 of file KDbVersionInfo.shared.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.