diff options
author | Michele Calgaro <[email protected]> | 2022-07-16 15:44:05 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-07-16 15:44:05 +0900 |
commit | a30a266067d9d952edc91305bef757557c03717e (patch) | |
tree | 7bcabd84594f751001c66b16f3c42a8d459b7773 /src/debugging/TSLogger.h | |
parent | d017bd37253ae35b29d82e3277b9adcbb4517dd0 (diff) | |
download | universal-indent-gui-tqt-a30a266067d9d952edc91305bef757557c03717e.tar.gz universal-indent-gui-tqt-a30a266067d9d952edc91305bef757557c03717e.zip |
Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/debugging/TSLogger.h')
-rwxr-xr-x | src/debugging/TSLogger.h | 18 |
1 files changed, 9 insertions, 9 deletions
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 <tqdialog.h> -#include <tqfile.h> +#include <tntqdialog.h> +#include <tntqfile.h> 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 |