From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: TQt4 port kdemultimedia This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmix/dialogselectmaster.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmix/dialogselectmaster.cpp') diff --git a/kmix/dialogselectmaster.cpp b/kmix/dialogselectmaster.cpp index a201f33a..d206429e 100644 --- a/kmix/dialogselectmaster.cpp +++ b/kmix/dialogselectmaster.cpp @@ -67,15 +67,15 @@ void DialogSelectMaster::createWidgets(Mixer *ptr_mixer) TQHBoxLayout* mixerNameLayout = new TQHBoxLayout( _layout ); //widgetsLayout->setStretchFactor( mixerNameLayout, 0 ); //TQSizePolicy qsp( TQSizePolicy::Ignored, TQSizePolicy::Maximum); - //mixerNameLayout->setSizePolicy(qsp); + //mixerNameLayout->tqsetSizePolicy(qsp); mixerNameLayout->setSpacing(KDialog::spacingHint()); TQLabel *qlbl = new TQLabel( i18n("Current Mixer"), m_mainFrame ); mixerNameLayout->addWidget(qlbl); - qlbl->setFixedHeight(qlbl->sizeHint().height()); + qlbl->setFixedHeight(qlbl->tqsizeHint().height()); m_cMixer = new KComboBox( FALSE, m_mainFrame, "mixerCombo" ); - m_cMixer->setFixedHeight(m_cMixer->sizeHint().height()); + m_cMixer->setFixedHeight(m_cMixer->tqsizeHint().height()); connect( m_cMixer, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( createPageByID( int ) ) ); //int id=1; @@ -97,10 +97,10 @@ void DialogSelectMaster::createWidgets(Mixer *ptr_mixer) _layout->addWidget(qlbl); m_scrollableChannelSelector = new TQScrollView(m_mainFrame, "scrollableChannelSelector"); - m_scrollableChannelSelector->viewport()->setBackgroundMode(Qt::PaletteBackground); + m_scrollableChannelSelector->viewport()->setBackgroundMode(TQt::PaletteBackground); _layout->add(m_scrollableChannelSelector); - m_buttonGroupForScrollView = new TQButtonGroup(this); // invisible QButtonGroup + m_buttonGroupForScrollView = new TQButtonGroup(this); // invisible TQButtonGroup m_buttonGroupForScrollView->hide(); createPage(ptr_mixer); @@ -133,7 +133,7 @@ void DialogSelectMaster::createPage(Mixer* mixer) * In case the user selected a new Mixer via m_cMixer, we need * to remove the stuff created on the last call. */ - // delete the VBox. This should automatically remove all contained QRadioButton's. + // delete the VBox. This should automatically remove all contained TQRadioButton's. delete m_vboxForScrollView; m_mixerPKs.clear(); /** Reset page end -------------------------------------------------- */ @@ -153,7 +153,7 @@ void DialogSelectMaster::createPage(Mixer* mixer) if ( ! md->isEnum() && ! md->isSwitch() ) { //kdDebug(67100) << "DialogSelectMaster::createPage() mset append qrb" << endl; TQString mdName = md->name(); - mdName.replace('&', "&&"); // Quoting the '&' needed, to prevent TQRadioButton creating an accelerator + mdName.tqreplace('&', "&&"); // Quoting the '&' needed, to prevent TQRadioButton creating an accelerator TQRadioButton* qrb = new TQRadioButton( mdName, m_vboxForScrollView); m_buttonGroupForScrollView->insert(qrb); //(qrb, md->num()); //_qEnabledCB.append(qrb); -- cgit v1.2.1