diff options
Diffstat (limited to 'kmix/dialogselectmaster.cpp')
-rw-r--r-- | kmix/dialogselectmaster.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kmix/dialogselectmaster.cpp b/kmix/dialogselectmaster.cpp index a19419ad..a201f33a 100644 --- a/kmix/dialogselectmaster.cpp +++ b/kmix/dialogselectmaster.cpp @@ -19,14 +19,14 @@ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <qbuttongroup.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qptrlist.h> -#include <qradiobutton.h> -#include <qscrollview.h> -#include <qtooltip.h> -#include <qvbox.h> +#include <tqbuttongroup.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqptrlist.h> +#include <tqradiobutton.h> +#include <tqscrollview.h> +#include <tqtooltip.h> +#include <tqvbox.h> #include <kcombobox.h> #include <kdebug.h> @@ -57,26 +57,26 @@ DialogSelectMaster::~DialogSelectMaster() */ void DialogSelectMaster::createWidgets(Mixer *ptr_mixer) { - QFrame *m_mainFrame = plainPage(); - _layout = new QVBoxLayout(m_mainFrame,0,-1, "_layout" ); + TQFrame *m_mainFrame = plainPage(); + _layout = new TQVBoxLayout(m_mainFrame,0,-1, "_layout" ); if ( Mixer::mixers().count() > 1 ) { //kdDebug(67100) << "DialogSelectMaster::createPage count()>1" << "\n"; // More than one Mixer => show Combo-Box to select Mixer // Mixer widget line - QHBoxLayout* mixerNameLayout = new QHBoxLayout( _layout ); + TQHBoxLayout* mixerNameLayout = new TQHBoxLayout( _layout ); //widgetsLayout->setStretchFactor( mixerNameLayout, 0 ); - //QSizePolicy qsp( QSizePolicy::Ignored, QSizePolicy::Maximum); + //TQSizePolicy qsp( TQSizePolicy::Ignored, TQSizePolicy::Maximum); //mixerNameLayout->setSizePolicy(qsp); mixerNameLayout->setSpacing(KDialog::spacingHint()); - QLabel *qlbl = new QLabel( i18n("Current Mixer"), m_mainFrame ); + TQLabel *qlbl = new TQLabel( i18n("Current Mixer"), m_mainFrame ); mixerNameLayout->addWidget(qlbl); qlbl->setFixedHeight(qlbl->sizeHint().height()); m_cMixer = new KComboBox( FALSE, m_mainFrame, "mixerCombo" ); m_cMixer->setFixedHeight(m_cMixer->sizeHint().height()); - connect( m_cMixer, SIGNAL( activated( int ) ), this, SLOT( createPageByID( int ) ) ); + connect( m_cMixer, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( createPageByID( int ) ) ); //int id=1; for ( Mixer *mixer = Mixer::mixers().first(); mixer !=0; mixer = Mixer::mixers().next() ) { @@ -88,23 +88,23 @@ void DialogSelectMaster::createWidgets(Mixer *ptr_mixer) //id++; } // end for all_Mixers - QToolTip::add( m_cMixer, i18n("Current mixer" ) ); + TQToolTip::add( m_cMixer, i18n("Current mixer" ) ); mixerNameLayout->addWidget(m_cMixer); } // end if (more_than_1_Mixer) - QLabel *qlbl = new QLabel( i18n("Select the channel representing the master volume:"), m_mainFrame ); + TQLabel *qlbl = new TQLabel( i18n("Select the channel representing the master volume:"), m_mainFrame ); _layout->addWidget(qlbl); - m_scrollableChannelSelector = new QScrollView(m_mainFrame, "scrollableChannelSelector"); + m_scrollableChannelSelector = new TQScrollView(m_mainFrame, "scrollableChannelSelector"); m_scrollableChannelSelector->viewport()->setBackgroundMode(Qt::PaletteBackground); _layout->add(m_scrollableChannelSelector); - m_buttonGroupForScrollView = new QButtonGroup(this); // invisible QButtonGroup + m_buttonGroupForScrollView = new TQButtonGroup(this); // invisible QButtonGroup m_buttonGroupForScrollView->hide(); createPage(ptr_mixer); - connect( this, SIGNAL(okClicked()) , this, SLOT(apply()) ); + connect( this, TQT_SIGNAL(okClicked()) , this, TQT_SLOT(apply()) ); } /** @@ -138,10 +138,10 @@ void DialogSelectMaster::createPage(Mixer* mixer) m_mixerPKs.clear(); /** Reset page end -------------------------------------------------- */ - m_vboxForScrollView = new QVBox(m_scrollableChannelSelector->viewport()); + m_vboxForScrollView = new TQVBox(m_scrollableChannelSelector->viewport()); m_scrollableChannelSelector->addChild(m_vboxForScrollView); - QString masterKey = "----noMaster---"; // Use a non-matching name as default + TQString masterKey = "----noMaster---"; // Use a non-matching name as default MixDevice* master = mixer->masterDevice(); if ( master != 0 ) masterKey = master->getPK(); @@ -152,9 +152,9 @@ void DialogSelectMaster::createPage(Mixer* mixer) // Create a RadioButton for each MixDevice (excluding Enum's) if ( ! md->isEnum() && ! md->isSwitch() ) { //kdDebug(67100) << "DialogSelectMaster::createPage() mset append qrb" << endl; - QString mdName = md->name(); - mdName.replace('&', "&&"); // Quoting the '&' needed, to prevent QRadioButton creating an accelerator - QRadioButton* qrb = new QRadioButton( mdName, m_vboxForScrollView); + TQString mdName = md->name(); + mdName.replace('&', "&&"); // 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); m_mixerPKs.push_back(md->getPK()); |