Search for usage in LXR

KDbParserError Class Reference

#include <KDbParser.h>

Public Member Functions

 KDbParserError ()
 KDbParserError (const KDbParserError &other)
 KDbParserError (const QString &type, const QString &message, const QByteArray &token, int position)
QString message () const
bool operator!= (const KDbParserError &other) const
KDbParserErroroperator= (const KDbParserError &other)
bool operator== (const KDbParserError &other) const
int position () const
QString type () const

Detailed Description

Provides detailed error description about KDbParser.


Make it explicitly shared using SDC

change type to enum

Definition at line 40 of file KDbParser.h.

Constructor & Destructor Documentation

◆ KDbParserError() [1/3]

KDbParserError::KDbParserError ( )

Empty constructor.

Definition at line 165 of file KDbParser.cpp.

◆ KDbParserError() [2/3]

KDbParserError::KDbParserError ( const QString & type,
const QString & message,
const QByteArray & token,
int position )


typeThe error type.
messageA description of the error.
tokenToken where the Error happend.
positionThe position where the error happened.

Definition at line 170 of file KDbParser.cpp.

◆ KDbParserError() [3/3]

KDbParserError::KDbParserError ( const KDbParserError & other)

Copy constructor.

Definition at line 180 of file KDbParser.cpp.

◆ ~KDbParserError()

KDbParserError::~KDbParserError ( )

Definition at line 186 of file KDbParser.cpp.

Member Function Documentation

◆ message()

QString KDbParserError::message ( ) const
translated error message.

Definition at line 209 of file KDbParser.cpp.

◆ operator!=()

bool KDbParserError::operator!= ( const KDbParserError & other) const

Definition at line 69 of file KDbParser.h.

◆ operator=()

KDbParserError & KDbParserError::operator= ( const KDbParserError & other)

Definition at line 191 of file KDbParser.cpp.

◆ operator==()

bool KDbParserError::operator== ( const KDbParserError & other) const

Definition at line 199 of file KDbParser.cpp.

◆ position()

int KDbParserError::position ( ) const
(character) position where the error happened.

Definition at line 214 of file KDbParser.cpp.

◆ type()

QString KDbParserError::type ( ) const
the error type.

Definition at line 204 of file KDbParser.cpp.

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 Sun Feb 25 2024 18:47:38 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.