summaryrefslogtreecommitdiffstats
path: root/kmix/kmixprefdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/kmixprefdlg.cpp')
-rw-r--r--kmix/kmixprefdlg.cpp60
1 files changed, 30 insertions, 30 deletions
diff --git a/kmix/kmixprefdlg.cpp b/kmix/kmixprefdlg.cpp
index 27a09238..6e25cb63 100644
--- a/kmix/kmixprefdlg.cpp
+++ b/kmix/kmixprefdlg.cpp
@@ -20,12 +20,12 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qbuttongroup.h>
-#include <qlayout.h>
-#include <qwhatsthis.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqlayout.h>
+#include <tqwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqradiobutton.h>
#include <klocale.h>
// For "kapp"
@@ -36,49 +36,49 @@
#include "kmixerwidget.h"
-KMixPrefDlg::KMixPrefDlg( QWidget *parent )
+KMixPrefDlg::KMixPrefDlg( TQWidget *parent )
: KDialogBase( Plain, i18n( "Configure" ),
Ok|Cancel|Apply, Ok, parent )
{
// general buttons
m_generalTab = plainPage( /* i18n("&General") */ );
- QBoxLayout *layout = new QVBoxLayout( m_generalTab );
+ TQBoxLayout *layout = new TQVBoxLayout( m_generalTab );
layout->setSpacing( KDialog::spacingHint() );
- m_dockingChk = new QCheckBox( i18n("&Dock into panel"), m_generalTab );
+ m_dockingChk = new TQCheckBox( i18n("&Dock into panel"), m_generalTab );
layout->addWidget( m_dockingChk );
- QWhatsThis::add(m_dockingChk, i18n("Docks the mixer into the KDE panel"));
+ TQWhatsThis::add(m_dockingChk, i18n("Docks the mixer into the KDE panel"));
- m_volumeChk = new QCheckBox(i18n("Enable system tray &volume control"),
+ m_volumeChk = new TQCheckBox(i18n("Enable system tray &volume control"),
m_generalTab);
layout->addWidget(m_volumeChk);
- m_showTicks = new QCheckBox( i18n("Show &tickmarks"), m_generalTab );
+ m_showTicks = new TQCheckBox( i18n("Show &tickmarks"), m_generalTab );
layout->addWidget( m_showTicks );
- QWhatsThis::add(m_showTicks,
+ TQWhatsThis::add(m_showTicks,
i18n("Enable/disable tickmark scales on the sliders"));
- m_showLabels = new QCheckBox( i18n("Show &labels"), m_generalTab );
+ m_showLabels = new TQCheckBox( i18n("Show &labels"), m_generalTab );
layout->addWidget( m_showLabels );
- QWhatsThis::add(m_showLabels,
+ TQWhatsThis::add(m_showLabels,
i18n("Enables/disables description labels above the sliders"));
- m_onLogin = new QCheckBox( i18n("Restore volumes on login"), m_generalTab );
+ m_onLogin = new TQCheckBox( i18n("Restore volumes on login"), m_generalTab );
layout->addWidget( m_onLogin );
- m_dockIconMuting = new QCheckBox(
+ m_dockIconMuting = new TQCheckBox(
i18n("Middle click on system tray icon toggles muting"), m_generalTab );
layout->addWidget( m_dockIconMuting );
- QBoxLayout *numbersLayout = new QHBoxLayout( layout );
- QButtonGroup *numbersGroup = new QButtonGroup( 3, Qt::Horizontal, i18n("Numbers"), m_generalTab );
+ TQBoxLayout *numbersLayout = new TQHBoxLayout( layout );
+ TQButtonGroup *numbersGroup = new TQButtonGroup( 3, Qt::Horizontal, i18n("Numbers"), m_generalTab );
numbersGroup->setRadioButtonExclusive(true);
- QLabel* qlbl = new QLabel( i18n("Volume Values: "), m_generalTab );
- _rbNone = new QRadioButton( i18n("&None"), m_generalTab );
- _rbAbsolute = new QRadioButton( i18n("A&bsolute"), m_generalTab );
- _rbRelative = new QRadioButton( i18n("&Relative"), m_generalTab );
+ TQLabel* qlbl = new TQLabel( i18n("Volume Values: "), m_generalTab );
+ _rbNone = new TQRadioButton( i18n("&None"), m_generalTab );
+ _rbAbsolute = new TQRadioButton( i18n("A&bsolute"), m_generalTab );
+ _rbRelative = new TQRadioButton( i18n("&Relative"), m_generalTab );
numbersGroup->insert(_rbNone);
numbersGroup->insert(_rbAbsolute);
numbersGroup->insert(_rbRelative);
@@ -90,13 +90,13 @@ KMixPrefDlg::KMixPrefDlg( QWidget *parent )
numbersLayout->add(_rbRelative);
numbersLayout->addStretch();
- QBoxLayout *orientationLayout = new QHBoxLayout( layout );
- QButtonGroup* orientationGroup = new QButtonGroup( 2, Qt::Horizontal, i18n("Orientation"), m_generalTab );
+ TQBoxLayout *orientationLayout = new TQHBoxLayout( layout );
+ TQButtonGroup* orientationGroup = new TQButtonGroup( 2, Qt::Horizontal, i18n("Orientation"), m_generalTab );
//orientationLayout->add(orientationGroup);
orientationGroup->setRadioButtonExclusive(true);
- QLabel* qlb = new QLabel( i18n("Slider Orientation: "), m_generalTab );
- _rbHorizontal = new QRadioButton(i18n("&Horizontal"), m_generalTab );
- _rbVertical = new QRadioButton(i18n("&Vertical" ), m_generalTab );
+ TQLabel* qlb = new TQLabel( i18n("Slider Orientation: "), m_generalTab );
+ _rbHorizontal = new TQRadioButton(i18n("&Horizontal"), m_generalTab );
+ _rbVertical = new TQRadioButton(i18n("&Vertical" ), m_generalTab );
orientationGroup->insert(_rbHorizontal);
orientationGroup->insert(_rbVertical);
orientationGroup->hide();
@@ -111,8 +111,8 @@ KMixPrefDlg::KMixPrefDlg( QWidget *parent )
layout->addStretch();
enableButtonSeparator(true);
- connect( this, SIGNAL(applyClicked()), this, SLOT(apply()) );
- connect( this, SIGNAL(okClicked()), this, SLOT(apply()) );
+ connect( this, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(apply()) );
+ connect( this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(apply()) );
}
KMixPrefDlg::~KMixPrefDlg()