diff options
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_report.h')
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_report.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_report.h b/src/kvirc/kvs/kvi_kvs_report.h index 335733e0..c0581cf1 100644 --- a/src/kvirc/kvs/kvi_kvs_report.h +++ b/src/kvirc/kvs/kvi_kvs_report.h @@ -35,39 +35,39 @@ class KVIRC_API KviKvsReport public: enum Type { RunTimeError, RunTimeWarning, ParserError, ParserWarning }; public: - KviKvsReport(Type t,const QString &szContext,const QString &szMessage,const QString &szLocation,KviWindow * pWindow); + KviKvsReport(Type t,const TQString &szContext,const TQString &szMessage,const TQString &szLocation,KviWindow * pWindow); ~KviKvsReport(); protected: Type m_eType; // mandatory - QString m_szContext; // context name (script name, usually) - QString m_szMessage; // report message, always present - QString m_szLocation; // line and col description (may be some thing like "at end of input") + TQString m_szContext; // context name (script name, usually) + TQString m_szMessage; // report message, always present + TQString m_szLocation; // line and col description (may be some thing like "at end of input") KviWindow * m_pWindow; // the window that the script was attacched to // optional - KviPointerList<QString> * m_pCodeListing; // code listing, if present, it is owned - KviPointerList<QString> * m_pCallStack; // call stack, if present, it is owned + KviPointerList<TQString> * m_pCodeListing; // code listing, if present, it is owned + KviPointerList<TQString> * m_pCallStack; // call stack, if present, it is owned public: Type type() const { return m_eType; }; KviWindow * window(){ return m_pWindow; }; - const QString & context(){ return m_szContext; }; - const QString & message(){ return m_szMessage; }; - const QString & location(){ return m_szLocation; }; - KviPointerList<QString> * codeListing(){ return m_pCodeListing; }; - KviPointerList<QString> * callStack(){ return m_pCallStack; }; + const TQString & context(){ return m_szContext; }; + const TQString & message(){ return m_szMessage; }; + const TQString & location(){ return m_szLocation; }; + KviPointerList<TQString> * codeListing(){ return m_pCodeListing; }; + KviPointerList<TQString> * callStack(){ return m_pCallStack; }; - void setContext(const QString &szContext){ m_szContext = szContext; }; - void setMessage(const QString &szMessage){ m_szMessage = szMessage; }; - void setLocation(const QString &szLocation){ m_szLocation = szLocation; }; - void setCodeListing(KviPointerList<QString> * pListing){ m_pCodeListing = pListing; }; - void setCallStack(KviPointerList<QString> * pStack){ m_pCallStack = pStack; }; + void setContext(const TQString &szContext){ m_szContext = szContext; }; + void setMessage(const TQString &szMessage){ m_szMessage = szMessage; }; + void setLocation(const TQString &szLocation){ m_szLocation = szLocation; }; + void setCodeListing(KviPointerList<TQString> * pListing){ m_pCodeListing = pListing; }; + void setCallStack(KviPointerList<TQString> * pStack){ m_pCallStack = pStack; }; - static void findLineAndCol(const QChar * pBegin,const QChar * pPoint,int &iLine,int &iCol); - static void findLineColAndListing(const QChar * pBegin,const QChar * pPoint,int &iLine,int &iCol,KviPointerList<QString> * pListing); + static void findLineAndCol(const TQChar * pBegin,const TQChar * pPoint,int &iLine,int &iCol); + static void findLineColAndListing(const TQChar * pBegin,const TQChar * pPoint,int &iLine,int &iCol,KviPointerList<TQString> * pListing); static void report(KviKvsReport * r,KviWindow * pOutput); }; |