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/studio/MidiKeyMappingEditor.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/studio/MidiKeyMappingEditor.cpp')
-rw-r--r-- | src/gui/studio/MidiKeyMappingEditor.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/gui/studio/MidiKeyMappingEditor.cpp b/src/gui/studio/MidiKeyMappingEditor.cpp index f31d0dc..a9e347c 100644 --- a/src/gui/studio/MidiKeyMappingEditor.cpp +++ b/src/gui/studio/MidiKeyMappingEditor.cpp @@ -36,36 +36,36 @@ #include "NameSetEditor.h" #include <kcompletion.h> #include <klineedit.h> -#include <qframe.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qobject.h> -#include <qobjectlist.h> -#include <qpushbutton.h> -#include <qstring.h> -#include <qvgroupbox.h> -#include <qwidget.h> +#include <tqframe.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqobject.h> +#include <tqobjectlist.h> +#include <tqpushbutton.h> +#include <tqstring.h> +#include <tqvgroupbox.h> +#include <tqwidget.h> namespace Rosegarden { MidiKeyMappingEditor::MidiKeyMappingEditor(BankEditorDialog* bankEditor, - QWidget* parent, + TQWidget* parent, const char* name) : NameSetEditor(bankEditor, i18n("Key Mapping details"), parent, name, i18n("Pitches"), false), m_device(0) { - QWidget *additionalWidget = makeAdditionalWidget(m_mainFrame); + TQWidget *additionalWidget = makeAdditionalWidget(m_mainFrame); if (additionalWidget) { m_mainLayout->addMultiCellWidget(additionalWidget, 0, 2, 0, 2); } } -QWidget * -MidiKeyMappingEditor::makeAdditionalWidget(QWidget *parent) +TQWidget * +MidiKeyMappingEditor::makeAdditionalWidget(TQWidget *parent) { return 0; } @@ -86,7 +86,7 @@ MidiKeyMappingEditor::clearAll() } void -MidiKeyMappingEditor::populate(QListViewItem* item) +MidiKeyMappingEditor::populate(TQListViewItem* item) { RG_DEBUG << "MidiKeyMappingEditor::populate\n"; @@ -144,7 +144,7 @@ MidiKeyMappingEditor::reset() continue; } - QString name = strtoqstr(it->second); + TQString name = strtoqstr(it->second); m_completion.addItem(name); m_names[i]->setText(name); m_names[i]->setCursorPosition(0); @@ -154,7 +154,7 @@ MidiKeyMappingEditor::reset() } void -MidiKeyMappingEditor::slotNameChanged(const QString& name) +MidiKeyMappingEditor::slotNameChanged(const TQString& name) { const KLineEdit* lineEdit = dynamic_cast<const KLineEdit*>(sender()); if (!lineEdit) { @@ -162,7 +162,7 @@ MidiKeyMappingEditor::slotNameChanged(const QString& name) return ; } - QString senderName = sender()->name(); + TQString senderName = sender()->name(); // Adjust value back to zero rated // @@ -183,9 +183,9 @@ MidiKeyMappingEditor::slotEntryButtonPressed() void MidiKeyMappingEditor::blockAllSignals(bool block) { - const QObjectList* allChildren = queryList("KLineEdit", "[0-9]+"); - QObjectListIt it(*allChildren); - QObject *obj; + const TQObjectList* allChildren = queryList("KLineEdit", "[0-9]+"); + TQObjectListIt it(*allChildren); + TQObject *obj; while ( (obj = it.current()) != 0 ) { obj->blockSignals(block); |