KReportDesignReadingStatus
#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 |
KReportDesignReadingStatus & | operator= (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() [1/2]
Creates an empty status object.
For empty status objects isError() returns false.
Definition at line 41 of file KReportDesign.cpp.
◆ ~KReportDesignReadingStatus()
Definition at line 45 of file KReportDesign.cpp.
◆ KReportDesignReadingStatus() [2/2]
Definition at line 50 of file KReportDesign.cpp.
Member Function Documentation
◆ errorColumnNumber()
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()
Detailed error message, partially translated.
Definition at line 78 of file KReportDesign.cpp.
◆ errorLineNumber()
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()
Error message suitable for displaying to the user, translated.
Definition at line 83 of file KReportDesign.cpp.
◆ isError()
- Returns
- true if the status is error. Equivalent of errorLineNumber() >= 0 && errorColumnNumber() >= 0.
Definition at line 68 of file KReportDesign.cpp.
◆ operator=()
Definition at line 55 of file KReportDesign.cpp.
◆ setErrorColumnNumber()
Definition at line 94 of file KReportDesign.cpp.
◆ setErrorDetails()
Definition at line 99 of file KReportDesign.cpp.
◆ setErrorLineNumber()
Definition at line 104 of file KReportDesign.cpp.
◆ setErrorMessage()
Definition at line 109 of file KReportDesign.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 4 2025 12:02:11 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.