From a30a266067d9d952edc91305bef757557c03717e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 16 Jul 2022 15:44:05 +0900 Subject: Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3. Signed-off-by: Michele Calgaro --- src/debugging/TSLogger.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/debugging/TSLogger.h') diff --git a/src/debugging/TSLogger.h b/src/debugging/TSLogger.h index 97268f7..39abcaa 100755 --- a/src/debugging/TSLogger.h +++ b/src/debugging/TSLogger.h @@ -20,8 +20,8 @@ #ifndef TSLogger_H #define TSLogger_H -#include -#include +#include +#include namespace Ui { class TSLoggerDialog; @@ -29,16 +29,16 @@ namespace Ui { namespace tschweitzer { namespace debugging { -#define TSLoggerInfoMsg QtMsgType(4) +#define TSLoggerInfoMsg TQtMsgType(4) -class TSLogger : public QDialog +class TSLogger : public TQDialog { Q_OBJECT public: static TSLogger* getInstance(int verboseLevel); static TSLogger* getInstance(); - static void messageHandler(QtMsgType type, const char *msg); + static void messageHandler(TQtMsgType type, const char *msg); static void deleteInstance(); void setVerboseLevel(int level); @@ -50,12 +50,12 @@ private: enum LogFileInitState { NOTINITIALZED, INITIALIZING, INITIALZED } _logFileInitState; TSLogger(int verboseLevel); - void writeToLogFile(const QString &message); + void writeToLogFile(const TQString &message); static TSLogger* _instance; - QtMsgType _verboseLevel; - QFile _logFile; - QStringList _messageQueue; + TQtMsgType _verboseLevel; + TQFile _logFile; + TQStringList _messageQueue; }; }} // namespace tschweitzer::debugging -- cgit v1.2.3