[sdk/kdiff3/1.13] /: Update Qt Api.

Michael Reeves <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 96bfc94f8aee28254846b8355b916972a351d83b by Michael Reeves.
Committed on 16/07/2026 at 00:43.
Pushed by mreeves into branch '1.13'.

Update Qt Api.

Update for changes through 6..11

M  +7    -7    CMakeLists.txt
M  +1    -1    src/smalldialogs.cpp

https://invent.kde.org/sdk/kdiff3/-/commit/96bfc94f8aee28254846b8355b916972a351d83b

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee11aba6..a197757c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -158,17 +158,17 @@ add_definitions(
     -DQT_NO_CAST_TO_ASCII
     -DQT_NO_PROCESS_COMBINED_ARGUMENT_START
     -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH # preemptive for forward compatibility with Qt 6.9+
-    -DQT_DEPRECATED_WARNINGS_SINCE=0x060800    # warn if deprecated at 6.8 or before. Qt default setting is not useful for kdiff3.
-    -DQT_DISABLE_DEPRECATED_BEFORE=0x060700    # disable deprecated api for Qt<6.7.
+    -DQT_DEPRECATED_WARNINGS_SINCE=0x060B00    # warn if deprecated at 6.11 or before. Qt default setting is not useful for kdiff3.
+    -DQT_DISABLE_DEPRECATED_BEFORE=0x060900    # disable deprecated api for Qt<6.9.
     # Boost 1.74 and possibly others trigger these warnings in boosts own internal headers making
     # the warning useless.
     -DBOOST_ALLOW_DEPRECATED_HEADERS
     # KF5 5.64+ flags
-    # Don't warn for API deprecated after 6.6.0 (below as hex.hex.hex number)
-    -DKF_DISABLE_DEPRECATED_BEFORE=0x060200#disable deprecated api for KF 6.2.
-    -DKF_DEPRECATED_WARNINGS_SINCE=0x060900
-    -DKIOCORE_DEPRECATED_WARNINGS_SINCE=0x060900
-    -DKXMLGUI_DEPRECATED_WARNINGS_SINCE=0x060900
+    # Don't warn for API deprecated after 6.15.0 (below as hex.hex.hex number)
+    -DKF_DISABLE_DEPRECATED_BEFORE=0x060400#disable deprecated api for KF 6.4.
+    -DKF_DEPRECATED_WARNINGS_SINCE=0x060F00
+    -DKIOCORE_DEPRECATED_WARNINGS_SINCE=0x060F00
+    -DKXMLGUI_DEPRECATED_WARNINGS_SINCE=0x060F00
     -DKF_VERSION_MAJOR=${KF_VERSION_MAJOR}
     -DKF_VERSION_MINOR=${KF_VERSION_MINOR}
     -DKF_VERSION_PATCH=${KF_VERSION_PATCH}
diff --git a/src/smalldialogs.cpp b/src/smalldialogs.cpp
index e269ae44..599434ce 100644
--- a/src/smalldialogs.cpp
+++ b/src/smalldialogs.cpp
@@ -97,7 +97,7 @@ OpenDialog::OpenDialog(
     chk_connect_a(button, &QPushButton::clicked, this, &OpenDialog::selectOutputName);
     button2 = dialogUi.selectOutputFolder;
     chk_connect_a(button2, &QPushButton::clicked, this, &OpenDialog::selectOutputDir);
-    chk_connect_a(dialogUi.mergeCheckBox, &QCheckBox::stateChanged, this, &OpenDialog::internalSlot);
+    chk_connect_a(dialogUi.mergeCheckBox, &QCheckBox::checkStateChanged, this, &OpenDialog::internalSlot);
     chk_connect_a(this, &OpenDialog::internalSignal, dialogUi.lineOut, &QComboBox::setEnabled);
     chk_connect_a(this, &OpenDialog::internalSignal, button, &QPushButton::setEnabled);
     chk_connect_a(this, &OpenDialog::internalSignal, button2, &QPushButton::setEnabled);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.