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]
KReportDesignReadingStatus::KReportDesignReadingStatus | ( | ) |
Creates an empty status object.
For empty status objects isError() returns false.
Definition at line 41 of file KReportDesign.cpp.
◆ ~KReportDesignReadingStatus()
KReportDesignReadingStatus::~KReportDesignReadingStatus | ( | ) |
Definition at line 45 of file KReportDesign.cpp.
◆ KReportDesignReadingStatus() [2/2]
KReportDesignReadingStatus::KReportDesignReadingStatus | ( | const KReportDesignReadingStatus & | other | ) |
Definition at line 50 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.
◆ operator=()
KReportDesignReadingStatus & KReportDesignReadingStatus::operator= | ( | const KReportDesignReadingStatus & | other | ) |
Definition at line 55 of file KReportDesign.cpp.
◆ setErrorColumnNumber()
void KReportDesignReadingStatus::setErrorColumnNumber | ( | int | column | ) |
Definition at line 94 of file KReportDesign.cpp.
◆ setErrorDetails()
void KReportDesignReadingStatus::setErrorDetails | ( | const QString & | details | ) |
Definition at line 99 of file KReportDesign.cpp.
◆ setErrorLineNumber()
void KReportDesignReadingStatus::setErrorLineNumber | ( | int | line | ) |
Definition at line 104 of file KReportDesign.cpp.
◆ setErrorMessage()
void KReportDesignReadingStatus::setErrorMessage | ( | const QString & | msg | ) |
Definition at line 109 of file KReportDesign.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.