summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/mainwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-12 14:08:42 +0900
committerMichele Calgaro <[email protected]>2024-02-12 14:08:52 +0900
commit67bff2edcacb208dc44dcd521386bef686dc6dbf (patch)
tree538584042585402a59d4b1464b117033778ccc28 /tools/qtconfig/mainwindow.cpp
parentfb401a891f1b426e9419c0cb16403df407138611 (diff)
downloadtqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz
tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.zip
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 <[email protected]>
Diffstat (limited to 'tools/qtconfig/mainwindow.cpp')
-rw-r--r--tools/qtconfig/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
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.");