diff options
Diffstat (limited to 'src/gui/dialogs/PasteNotationDialog.cpp')
-rw-r--r-- | src/gui/dialogs/PasteNotationDialog.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/dialogs/PasteNotationDialog.cpp b/src/gui/dialogs/PasteNotationDialog.cpp index 0c725d5..cea3b87 100644 --- a/src/gui/dialogs/PasteNotationDialog.cpp +++ b/src/gui/dialogs/PasteNotationDialog.cpp @@ -28,27 +28,27 @@ #include <klocale.h> #include "commands/edit/PasteEventsCommand.h" #include <kdialogbase.h> -#include <qbuttongroup.h> -#include <qcheckbox.h> -#include <qobject.h> -#include <qradiobutton.h> -#include <qvbox.h> -#include <qwidget.h> +#include <tqbuttongroup.h> +#include <tqcheckbox.h> +#include <tqobject.h> +#include <tqradiobutton.h> +#include <tqvbox.h> +#include <tqwidget.h> namespace Rosegarden { -PasteNotationDialog::PasteNotationDialog(QWidget *parent, +PasteNotationDialog::PasteNotationDialog(TQWidget *parent, PasteEventsCommand::PasteType defaultType) : KDialogBase(parent, 0, true, i18n("Paste"), Ok | Cancel | Help ), m_defaultType(defaultType) { setHelp("nv-paste-types"); - QVBox *vbox = makeVBoxMainWidget(); + TQVBox *vbox = makeVBoxMainWidget(); - QButtonGroup *pasteTypeGroup = new QButtonGroup + TQButtonGroup *pasteTypeGroup = new QButtonGroup (1, Horizontal, i18n("Paste type"), vbox); PasteEventsCommand::PasteTypeMap pasteTypes = @@ -57,15 +57,15 @@ PasteNotationDialog::PasteNotationDialog(QWidget *parent, for (PasteEventsCommand::PasteTypeMap::iterator i = pasteTypes.begin(); i != pasteTypes.end(); ++i) { - QRadioButton *button = new QRadioButton(i->second, pasteTypeGroup); + TQRadioButton *button = new TQRadioButton(i->second, pasteTypeGroup); button->setChecked(m_defaultType == i->first); - QObject::connect(button, SIGNAL(clicked()), - this, SLOT(slotPasteTypeChanged())); + TQObject::connect(button, TQT_SIGNAL(clicked()), + this, TQT_SLOT(slotPasteTypeChanged())); m_pasteTypeButtons.push_back(button); } - QButtonGroup *setAsDefaultGroup = new QButtonGroup + TQButtonGroup *setAsDefaultGroup = new QButtonGroup (1, Horizontal, i18n("Options"), vbox); m_setAsDefaultButton = new QCheckBox |