KReportDesignReadingStatus

Search for usage in LXR

KReportDesignReadingStatus Class Reference

#include <KReportDesign.h>

Public Member Functions

 KReportDesignReadingStatus ()
 
 KReportDesignReadingStatus (const KReportDesignReadingStatus &other)
 
int errorColumnNumber () const
 
QString errorDetails () const
 
int errorLineNumber () const
 
QString errorMessage () const
 
bool isError () const
 
KReportDesignReadingStatusoperator= (const KReportDesignReadingStatus &other)
 
void setErrorColumnNumber (int column)
 
void setErrorDetails (const QString &details)
 
void setErrorLineNumber (int line)
 
void setErrorMessage (const QString &msg)
 

Detailed Description

The KReportDesignReadStatus represents status of reading a report design in .kreport format.

It is used by KReportDesign::setContent().

Definition at line 35 of file KReportDesign.h.

Constructor & Destructor Documentation

◆ KReportDesignReadingStatus()

KReportDesignReadingStatus::KReportDesignReadingStatus ( )

Creates an empty status object.

For empty status objects isError() returns false.

Definition at line 41 of file KReportDesign.cpp.

Member Function Documentation

◆ errorColumnNumber()

int KReportDesignReadingStatus::errorColumnNumber ( ) const

Column number (counting from 0) in which the error occured. -1 if there is no error.

Definition at line 73 of file KReportDesign.cpp.

◆ errorDetails()

QString KReportDesignReadingStatus::errorDetails ( ) const

Detailed error message, partially translated.

Definition at line 78 of file KReportDesign.cpp.

◆ errorLineNumber()

int KReportDesignReadingStatus::errorLineNumber ( ) const

Line number (counting from 0) in which the error occured. -1 if there is no error.

Definition at line 89 of file KReportDesign.cpp.

◆ errorMessage()

QString KReportDesignReadingStatus::errorMessage ( ) const

Error message suitable for displaying to the user, translated.

Definition at line 83 of file KReportDesign.cpp.

◆ isError()

bool KReportDesignReadingStatus::isError ( ) const
Returns
true if the status is error. Equivalent of errorLineNumber() >= 0 && errorColumnNumber() >= 0.

Definition at line 68 of file KReportDesign.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri May 27 2022 04:08:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.