From b62a1922fab2031d49fa921cf4b5dae3d9c7091c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 21:36:24 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 47d29ee63f76127afe48c487d3e8794b0d05508b) --- src/kmplayertvsource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kmplayertvsource.cpp') diff --git a/src/kmplayertvsource.cpp b/src/kmplayertvsource.cpp index 9089d51..7e5b8e5 100644 --- a/src/kmplayertvsource.cpp +++ b/src/kmplayertvsource.cpp @@ -298,14 +298,14 @@ KDE_NO_EXPORT void TVDevice::updateDevicePage () { bool ok; if (input->getAttribute ("tuner").toInt (&ok) && ok) { TQWidget * widget = device_page->inputsTab->page (i); - TQTable * table = static_cast (TQT_TQWIDGET(widget->child ("PageTVChannels", TQTABLE_OBJECT_NAME_STRING))); + TQTable * table = static_cast (TQT_TQWIDGET(widget->child ("PageTVChannels", "TQTable"))); if (table) { input->clearChildren (); for (int j = 0; jnumRows() && table->item (j, 1); ++j) { input->appendChild (new TVChannel (m_doc, table->item (j, 0)->text (), table->item (j, 1)->text ().toDouble ())); } } - TQComboBox * norms = static_cast (TQT_TQWIDGET(widget->child ("PageTVNorm", TQCOMBOBOX_OBJECT_NAME_STRING))); + TQComboBox * norms = static_cast (TQT_TQWIDGET(widget->child ("PageTVNorm", "TQComboBox"))); if (norms) { input->setAttribute ("norm", norms->currentText ()); } -- cgit v1.2.3