summaryrefslogtreecommitdiffstats
path: root/src/kmplayertvsource.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:36:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 17:59:20 +0900
commitb62a1922fab2031d49fa921cf4b5dae3d9c7091c (patch)
tree6888e3e22d1d06082cb80b3006fc9152f613b398 /src/kmplayertvsource.cpp
parent698d2bc316a4670b15fa4f4d6a61a0da3fc3a2a4 (diff)
downloadkmplayer-b62a1922fab2031d49fa921cf4b5dae3d9c7091c.tar.gz
kmplayer-b62a1922fab2031d49fa921cf4b5dae3d9c7091c.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 47d29ee63f76127afe48c487d3e8794b0d05508b)
Diffstat (limited to 'src/kmplayertvsource.cpp')
-rw-r--r--src/kmplayertvsource.cpp4
1 files changed, 2 insertions, 2 deletions
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 <TQTable *> (TQT_TQWIDGET(widget->child ("PageTVChannels", TQTABLE_OBJECT_NAME_STRING)));
+ TQTable * table = static_cast <TQTable *> (TQT_TQWIDGET(widget->child ("PageTVChannels", "TQTable")));
if (table) {
input->clearChildren ();
for (int j = 0; j<table->numRows() && 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 <TQComboBox *> (TQT_TQWIDGET(widget->child ("PageTVNorm", TQCOMBOBOX_OBJECT_NAME_STRING)));
+ TQComboBox * norms = static_cast <TQComboBox *> (TQT_TQWIDGET(widget->child ("PageTVNorm", "TQComboBox")));
if (norms) {
input->setAttribute ("norm", norms->currentText ());
}