summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/AudioPluginDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/dialogs/AudioPluginDialog.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gui/dialogs/AudioPluginDialog.cpp')
-rw-r--r--src/gui/dialogs/AudioPluginDialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/dialogs/AudioPluginDialog.cpp b/src/gui/dialogs/AudioPluginDialog.cpp
index 97b4e7f..9df7c22 100644
--- a/src/gui/dialogs/AudioPluginDialog.cpp
+++ b/src/gui/dialogs/AudioPluginDialog.cpp
@@ -24,7 +24,7 @@
#include "AudioPluginDialog.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <klocale.h>
#include "misc/Debug.h"
@@ -86,7 +86,7 @@ AudioPluginDialog::AudioPluginDialog(TQWidget *parent,
{
setHelp("studio-plugins");
- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred,
+ setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred,
TQSizePolicy::Fixed));
#ifdef HAVE_LIBLO
@@ -125,12 +125,12 @@ AudioPluginDialog::AudioPluginDialog(TQWidget *parent,
m_insOuts = new TQLabel(i18n("<ports>"), h);
- m_insOuts->tqsetAlignment(AlignRight);
+ m_insOuts->setAlignment(AlignRight);
TQToolTip::add
(m_insOuts, i18n("Input and output port counts."));
m_pluginId = new TQLabel(i18n("<id>"), h);
- m_pluginId->tqsetAlignment(AlignRight);
+ m_pluginId->setAlignment(AlignRight);
TQToolTip::add
(m_pluginId, i18n("Unique ID of plugin."));
@@ -383,7 +383,7 @@ AudioPluginDialog::slotPluginSelected(int i)
TQString caption =
strtoqstr(m_pluginContainer->getName()) +
- TQString(" [ %1 ] - ").tqarg(m_index + 1);
+ TQString(" [ %1 ] - ").arg(m_index + 1);
if (number == 0) {
setCaption(caption + i18n("<no plugin>"));
@@ -435,7 +435,7 @@ AudioPluginDialog::slotPluginSelected(int i)
if (plugin) {
setCaption(caption + plugin->getName());
- m_pluginId->setText(i18n("Id: %1").tqarg(plugin->getUniqueId()));
+ m_pluginId->setText(i18n("Id: %1").arg(plugin->getUniqueId()));
TQString pluginInfo = plugin->getAuthor() + TQString("\n") +
plugin->getCopyright();
@@ -491,7 +491,7 @@ AudioPluginDialog::slotPluginSelected(int i)
else if (ins == 2 && outs == 2)
m_insOuts->setText(i18n("stereo"));
else
- m_insOuts->setText(i18n("%1 in, %2 out").tqarg(ins).tqarg(outs));
+ m_insOuts->setText(i18n("%1 in, %2 out").arg(ins).arg(outs));
TQString shortName(plugin->getName());
int parenIdx = shortName.find(" (");
@@ -503,7 +503,7 @@ AudioPluginDialog::slotPluginSelected(int i)
}
adjustSize();
- setFixedSize(tqminimumSizeHint());
+ setFixedSize(minimumSizeHint());
// tell the sequencer
emit pluginSelected(m_containerId, m_index, number - 1);