From 473cd1e8a525d82f49e936d76daabe3d094a8807 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Feb 2024 14:08:42 +0900 Subject: Replace Q_WS_* defines with TQ_WS_* equivalents This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro (cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf) --- tools/qtconfig/mainwindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools/qtconfig/mainwindow.cpp') diff --git a/tools/qtconfig/mainwindow.cpp b/tools/qtconfig/mainwindow.cpp index 6b116a48b..b01b0dba0 100644 --- a/tools/qtconfig/mainwindow.cpp +++ b/tools/qtconfig/mainwindow.cpp @@ -375,14 +375,14 @@ MainWindow::MainWindow() rtlExtensions->setChecked( settings.readBoolEntry( "/qt/useRtlExtensions", FALSE ) ); -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) inputStyle->setCurrentText( settings.readEntry( "/qt/XIMInputStyle", trUtf8( "On The Spot" ) ) ); #else inputStyle->hide(); inputStyleLabel->hide(); #endif -#if defined(Q_WS_X11) && !defined(TQT_NO_IM_EXTENSIONS) +#if defined(TQ_WS_X11) && !defined(TQT_NO_IM_EXTENSIONS) /* This code makes it possible to set up default input method. @@ -508,7 +508,7 @@ void MainWindow::fileSave() settings.writeEntry("/qt/useRtlExtensions", rtlExtensions->isChecked() ); -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 TQString style = inputStyle->currentText(); TQString str = "On The Spot"; if ( style == trUtf8( "Over The Spot" ) ) @@ -561,9 +561,9 @@ void MainWindow::fileSave() } } -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) TQApplication::x11_apply_settings(); -#endif // Q_WS_X11 +#endif // TQ_WS_X11 setModified(FALSE); statusBar()->message("Saved changes."); -- cgit v1.2.3