diff options
author | Michele Calgaro <[email protected]> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-14 21:06:27 +0900 |
commit | 473cd1e8a525d82f49e936d76daabe3d094a8807 (patch) | |
tree | dc0fe3faad1958b846eeebb02208728c0d278854 /tools/qtconfig | |
parent | ecca365daf06c711cf30f93f4c773dabf5642790 (diff) | |
download | tqt3-473cd1e8a525d82f49e936d76daabe3d094a8807.tar.gz tqt3-473cd1e8a525d82f49e936d76daabe3d094a8807.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]>
(cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'tools/qtconfig')
-rw-r--r-- | tools/qtconfig/mainwindow.cpp | 10 |
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."); |