summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/RosegardenParameterBox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-02 22:38:52 +0000
commit458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch)
tree624583f2873febe23770bee3fa94b5c24bd59f4f /src/gui/editors/parameters/RosegardenParameterBox.h
parent747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff)
downloadrosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz
rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/parameters/RosegardenParameterBox.h')
-rw-r--r--src/gui/editors/parameters/RosegardenParameterBox.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gui/editors/parameters/RosegardenParameterBox.h b/src/gui/editors/parameters/RosegardenParameterBox.h
index 629245f..c75f875 100644
--- a/src/gui/editors/parameters/RosegardenParameterBox.h
+++ b/src/gui/editors/parameters/RosegardenParameterBox.h
@@ -43,18 +43,19 @@ namespace Rosegarden
/**
* A flat TQFrame, in which a group of parameters can be laid out.
- * Virtual method functions are defined for for requesting a layout
+ * Virtual method functions are defined for for requesting a tqlayout
* style, and returning the single-word to use for labelling the
* box.
*/
-class RosegardenParameterBox : public QFrame
+class RosegardenParameterBox : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
RosegardenParameterBox(const TQString &shortLabel, // e.g. i18n("Track")
const TQString &longLabel, // e.g. i18n("Track Parameters")
- TQWidget *parent = 0,
+ TQWidget *tqparent = 0,
const char *name = 0);
// Ask for a one-word string that can be used to label the widget.
@@ -71,11 +72,11 @@ public:
protected:
void init();
- // List the layout styles that may be requested via a call to setStyle().
+ // List the tqlayout styles that may be requested via a call to setStyle().
enum LayoutMode {
- LANDSCAPE_MODE, // Optimize the layout for a tall and narrow parent.
- PORTRAIT_MODE // Optimize the layout for a short and wide parent.
+ LANDSCAPE_MODE, // Optimize the tqlayout for a tall and narrow tqparent.
+ PORTRAIT_MODE // Optimize the tqlayout for a short and wide tqparent.
};
void setLayoutMode(LayoutMode mode);
@@ -83,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 layout mode.
+ LayoutMode m_mode; // The current tqlayout mode.
};