diff options
Diffstat (limited to 'src/gui/general/PresetHandlerDialog.cpp')
-rw-r--r-- | src/gui/general/PresetHandlerDialog.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/gui/general/PresetHandlerDialog.cpp b/src/gui/general/PresetHandlerDialog.cpp index 6081f85..383a2b6 100644 --- a/src/gui/general/PresetHandlerDialog.cpp +++ b/src/gui/general/PresetHandlerDialog.cpp @@ -27,7 +27,7 @@ #include "PresetHandlerDialog.h" -#include <qlayout.h> +#include <tqlayout.h> #include <kapplication.h> #include <klocale.h> @@ -39,20 +39,20 @@ #include <kcombobox.h> #include <kconfig.h> #include <kdialogbase.h> -#include <qbuttongroup.h> -#include <qdialog.h> -#include <qframe.h> -#include <qgroupbox.h> -#include <qlabel.h> -#include <qstring.h> -#include <qvbox.h> -#include <qwidget.h> +#include <tqbuttongroup.h> +#include <tqdialog.h> +#include <tqframe.h> +#include <tqgroupbox.h> +#include <tqlabel.h> +#include <tqstring.h> +#include <tqvbox.h> +#include <tqwidget.h> namespace Rosegarden { -PresetHandlerDialog::PresetHandlerDialog(QWidget *parent, bool fromNotation) +PresetHandlerDialog::PresetHandlerDialog(TQWidget *parent, bool fromNotation) : KDialogBase(parent, "presethandlerdialog", true, i18n("Load track parameters preset"), Ok | Cancel, Ok), m_config(kapp->config()), m_fromNotation(fromNotation) @@ -77,40 +77,40 @@ PresetHandlerDialog::initDialog() { RG_DEBUG << "PresetHandlerDialog::initDialog()" << endl; - QVBox *vBox = makeVBoxMainWidget(); + TQVBox *vBox = makeVBoxMainWidget(); - QFrame *frame = new QFrame(vBox); + TQFrame *frame = new TQFrame(vBox); - QGridLayout *layout = new QGridLayout(frame, 6, 5, 10, 5); + TQGridLayout *layout = new TQGridLayout(frame, 6, 5, 10, 5); - QLabel *title = new QLabel(i18n("Select preset track parameters for:"), frame); + TQLabel *title = new TQLabel(i18n("Select preset track parameters for:"), frame); if (m_fromNotation) title->setText(i18n("Create appropriate notation for:")); - QLabel *catlabel = new QLabel(i18n("Category"), frame); + TQLabel *catlabel = new TQLabel(i18n("Category"), frame); m_categoryCombo = new KComboBox(frame); - QLabel *inslabel = new QLabel(i18n("Instrument"), frame); + TQLabel *inslabel = new TQLabel(i18n("Instrument"), frame); m_instrumentCombo = new KComboBox(frame); - QLabel *plylabel = new QLabel(i18n("Player Ability"), frame); + TQLabel *plylabel = new TQLabel(i18n("Player Ability"), frame); m_playerCombo = new KComboBox(frame); m_playerCombo->insertItem(i18n("Amateur")); m_playerCombo->insertItem(i18n("Professional")); - QGroupBox *scopeBox = new QButtonGroup + TQGroupBox *scopeBox = new QButtonGroup (1, Horizontal, i18n("Scope"), frame); if (m_fromNotation) { - QRadioButton *onlySelectedSegments = new - QRadioButton(i18n("Only selected segments"), scopeBox); + TQRadioButton *onlySelectedSegments = new + TQRadioButton(i18n("Only selected segments"), scopeBox); m_convertAllSegments = new - QRadioButton(i18n("All segments in this track"), scopeBox); + TQRadioButton(i18n("All segments in this track"), scopeBox); onlySelectedSegments->setChecked(true); } else { - QRadioButton *onlyNewSegments = new - QRadioButton(i18n("Only for new segments"), scopeBox); + TQRadioButton *onlyNewSegments = new + TQRadioButton(i18n("Only for new segments"), scopeBox); m_convertSegments = new - QRadioButton(i18n("Convert existing segments"), scopeBox); + TQRadioButton(i18n("Convert existing segments"), scopeBox); onlyNewSegments->setChecked(true); } @@ -147,8 +147,8 @@ PresetHandlerDialog::initDialog() } - connect(m_categoryCombo, SIGNAL(activated(int)), - SLOT(slotCategoryIndexChanged(int))); + connect(m_categoryCombo, TQT_SIGNAL(activated(int)), + TQT_SLOT(slotCategoryIndexChanged(int))); } QString @@ -274,7 +274,7 @@ PresetHandlerDialog::slotOk() m_config->writeEntry("convert_segments", m_convertSegments->isChecked()); } - QDialog::accept(); + TQDialog::accept(); } } |