summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/parameters')
-rw-r--r--src/gui/editors/parameters/InstrumentParameterBox.cpp4
-rw-r--r--src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp2
-rw-r--r--src/gui/editors/parameters/RosegardenParameterArea.cpp4
-rw-r--r--src/gui/editors/parameters/RosegardenParameterArea.h4
-rw-r--r--src/gui/editors/parameters/RosegardenParameterBox.h10
5 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/editors/parameters/InstrumentParameterBox.cpp b/src/gui/editors/parameters/InstrumentParameterBox.cpp
index b618bed..a47edef 100644
--- a/src/gui/editors/parameters/InstrumentParameterBox.cpp
+++ b/src/gui/editors/parameters/InstrumentParameterBox.cpp
@@ -122,8 +122,8 @@ InstrumentParameterBox::InstrumentParameterBox(RosegardenGUIDoc *doc,
// Layout the groups left to right.
- TQBoxLayout* tqlayout = new TQVBoxLayout(this);
- tqlayout->addWidget(m_widgetStack);
+ TQBoxLayout* layout = new TQVBoxLayout(this);
+ layout->addWidget(m_widgetStack);
}
diff --git a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
index 70da473..f3c137f 100644
--- a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
@@ -787,7 +787,7 @@ MIDIInstrumentParameterPanel::populateVariationList()
}
} else {
- //!!! seem to have problems here -- the grid tqlayout doesn't
+ //!!! seem to have problems here -- the grid layout doesn't
//like us adding stuff in the middle so if we go from 1
//visible row (say program) to 2 (program + variation) the
//second one overlaps the control knobs
diff --git a/src/gui/editors/parameters/RosegardenParameterArea.cpp b/src/gui/editors/parameters/RosegardenParameterArea.cpp
index dff3f7c..517a3f6 100644
--- a/src/gui/editors/parameters/RosegardenParameterArea.cpp
+++ b/src/gui/editors/parameters/RosegardenParameterArea.cpp
@@ -89,12 +89,12 @@ void RosegardenParameterArea::addRosegardenParameterBox(
b->sizeHint().width()) + 8);
// Create a titled group box for the parameter box, parented by the
- // classic tqlayout widget, so that it can be used to provide a title
+ // classic layout widget, so that it can be used to provide a title
// and outline, in classic mode. Add this container to an array that
// parallels the above array of parameter boxes.
TQVGroupBox *box = new TQVGroupBox(b->getLongLabel(), m_classic);
- box->tqlayout()->setMargin( 4 ); // about half the default value
+ box->layout()->setMargin( 4 ); // about half the default value
TQFont f;
f.setBold( true );
box->setFont( f );
diff --git a/src/gui/editors/parameters/RosegardenParameterArea.h b/src/gui/editors/parameters/RosegardenParameterArea.h
index 7fd8989..95eae45 100644
--- a/src/gui/editors/parameters/RosegardenParameterArea.h
+++ b/src/gui/editors/parameters/RosegardenParameterArea.h
@@ -72,13 +72,13 @@ public:
TAB_BOX_STYLE // A horizontal list of tabs, displaying one box at a time.
};
- // Redisplay the widgets with a different tqlayout style.
+ // Redisplay the widgets with a different layout style.
void setArrangement(Arrangement style);
protected:
private:
- Arrangement m_style; // The current tqlayout style.
+ Arrangement m_style; // The current layout style.
// The list of parameter box widgets that are being displayed by this
// widget.
diff --git a/src/gui/editors/parameters/RosegardenParameterBox.h b/src/gui/editors/parameters/RosegardenParameterBox.h
index 459aeab..df21d92 100644
--- a/src/gui/editors/parameters/RosegardenParameterBox.h
+++ b/src/gui/editors/parameters/RosegardenParameterBox.h
@@ -43,7 +43,7 @@ namespace Rosegarden
/**
* A flat TQFrame, in which a group of parameters can be laid out.
- * Virtual method functions are defined for for requesting a tqlayout
+ * Virtual method functions are defined for for requesting a layout
* style, and returning the single-word to use for labelling the
* box.
*/
@@ -72,11 +72,11 @@ public:
protected:
void init();
- // List the tqlayout styles that may be requested via a call to setStyle().
+ // List the layout styles that may be requested via a call to setStyle().
enum LayoutMode {
- LANDSCAPE_MODE, // Optimize the tqlayout for a tall and narrow parent.
- PORTRAIT_MODE // Optimize the tqlayout for a short and wide parent.
+ LANDSCAPE_MODE, // Optimize the layout for a tall and narrow parent.
+ PORTRAIT_MODE // Optimize the layout for a short and wide parent.
};
void setLayoutMode(LayoutMode mode);
@@ -84,7 +84,7 @@ protected:
TQFont m_font;
TQString m_shortLabel; // The string that containers can use for labelling and identification
TQString m_longLabel; // The full title
- LayoutMode m_mode; // The current tqlayout mode.
+ LayoutMode m_mode; // The current layout mode.
};