diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/dialogs/SplitByRecordingSrcDialog.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/dialogs/SplitByRecordingSrcDialog.cpp')
-rw-r--r-- | src/gui/dialogs/SplitByRecordingSrcDialog.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/gui/dialogs/SplitByRecordingSrcDialog.cpp b/src/gui/dialogs/SplitByRecordingSrcDialog.cpp index cc61bfa..91b8629 100644 --- a/src/gui/dialogs/SplitByRecordingSrcDialog.cpp +++ b/src/gui/dialogs/SplitByRecordingSrcDialog.cpp @@ -24,7 +24,7 @@ #include "SplitByRecordingSrcDialog.h" -#include <qlayout.h> +#include <tqlayout.h> #include <klocale.h> #include "misc/Strings.h" @@ -32,41 +32,41 @@ #include "document/RosegardenGUIDoc.h" #include <kcombobox.h> #include <kdialogbase.h> -#include <qframe.h> -#include <qgroupbox.h> -#include <qlabel.h> -#include <qsizepolicy.h> -#include <qstring.h> -#include <qvbox.h> -#include <qwidget.h> +#include <tqframe.h> +#include <tqgroupbox.h> +#include <tqlabel.h> +#include <tqsizepolicy.h> +#include <tqstring.h> +#include <tqvbox.h> +#include <tqwidget.h> namespace Rosegarden { -SplitByRecordingSrcDialog::SplitByRecordingSrcDialog(QWidget *parent, RosegardenGUIDoc *doc) : +SplitByRecordingSrcDialog::SplitByRecordingSrcDialog(TQWidget *parent, RosegardenGUIDoc *doc) : KDialogBase(parent, 0, true, i18n("Split by Recording Source"), Ok | Cancel ) { - QVBox *vBox = makeVBoxMainWidget(); + TQVBox *vBox = makeVBoxMainWidget(); - QGroupBox *groupBox = new QGroupBox + TQGroupBox *groupBox = new QGroupBox (1, Horizontal, i18n("Recording Source"), vBox); - QFrame *frame = new QFrame(groupBox); - QGridLayout *layout = new QGridLayout(frame, 2, 2, 10, 5); + TQFrame *frame = new TQFrame(groupBox); + TQGridLayout *layout = new TQGridLayout(frame, 2, 2, 10, 5); - layout->addWidget(new QLabel( i18n("Channel:"), frame ), 0, 0); + layout->addWidget(new TQLabel( i18n("Channel:"), frame ), 0, 0); m_channel = new KComboBox( frame ); m_channel->setSizeLimit( 17 ); layout->addWidget(m_channel, 0, 1); - QSpacerItem *spacer = new QSpacerItem( 1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum ); + TQSpacerItem *spacer = new TQSpacerItem( 1, 1, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); layout->addItem( spacer, 0, 2 ); m_channel->insertItem(i18n("any")); for (int i = 1; i < 17; ++i) { - m_channel->insertItem(QString::number(i)); + m_channel->insertItem(TQString::number(i)); } - layout->addWidget(new QLabel( i18n("Device:"), frame ), 1, 0); + layout->addWidget(new TQLabel( i18n("Device:"), frame ), 1, 0); m_device = new KComboBox( frame ); layout->addMultiCellWidget( m_device, 1, 1, 1, 2 ); @@ -80,10 +80,10 @@ SplitByRecordingSrcDialog::SplitByRecordingSrcDialog(QWidget *parent, Rosegarden MidiDevice *dev = dynamic_cast<MidiDevice*>(*it); if (dev && dev->getDirection() == MidiDevice::Record) { - QString label = QString::number(dev->getId()); + TQString label = TQString::number(dev->getId()); label += ": "; label += strtoqstr(dev->getName()); - QString connection = strtoqstr(dev->getConnection()); + TQString connection = strtoqstr(dev->getConnection()); label += " - "; if (connection == "") label += i18n("No connection"); |