summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/MarkerModifyDialog.cpp
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/dialogs/MarkerModifyDialog.cpp
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/dialogs/MarkerModifyDialog.cpp')
-rw-r--r--src/gui/dialogs/MarkerModifyDialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/dialogs/MarkerModifyDialog.cpp b/src/gui/dialogs/MarkerModifyDialog.cpp
index 9303b67..c1eefab 100644
--- a/src/gui/dialogs/MarkerModifyDialog.cpp
+++ b/src/gui/dialogs/MarkerModifyDialog.cpp
@@ -45,20 +45,20 @@
namespace Rosegarden
{
-MarkerModifyDialog::MarkerModifyDialog(TQWidget *parent,
+MarkerModifyDialog::MarkerModifyDialog(TQWidget *tqparent,
Composition *composition,
int time,
const TQString &name,
const TQString &des):
- KDialogBase(parent, 0, true, i18n("Edit Marker"), Ok | Cancel)
+ KDialogBase(tqparent, 0, true, i18n("Edit Marker"), Ok | Cancel)
{
initialise(composition, time, name, des);
}
-MarkerModifyDialog::MarkerModifyDialog(TQWidget *parent,
+MarkerModifyDialog::MarkerModifyDialog(TQWidget *tqparent,
Composition *composition,
Marker *marker) :
- KDialogBase(parent, 0, true, i18n("Edit Marker"), Ok | Cancel)
+ KDialogBase(tqparent, 0, true, i18n("Edit Marker"), Ok | Cancel)
{
initialise(composition, marker->getTime(),
strtoqstr(marker->getName()),
@@ -80,9 +80,9 @@ MarkerModifyDialog::initialise(Composition *composition,
/*!!!
- layout->addWidget(new TQLabel(i18n("Absolute Time:"), frame), 0, 0);
+ tqlayout->addWidget(new TQLabel(i18n("Absolute Time:"), frame), 0, 0);
m_timeEdit = new TQSpinBox(frame);
- layout->addWidget(m_timeEdit, 0, 1);
+ tqlayout->addWidget(m_timeEdit, 0, 1);
m_timeEdit->setMinValue(INT_MIN);
m_timeEdit->setMaxValue(INT_MAX);
@@ -90,20 +90,20 @@ MarkerModifyDialog::initialise(Composition *composition,
Note(Note::Shortest).getDuration());
m_timeEdit->setValue(time);
*/
- TQGroupBox *groupBox = new QGroupBox
- (1, Horizontal, i18n("Marker Properties"), vbox);
+ TQGroupBox *groupBox = new TQGroupBox
+ (1, Qt::Horizontal, i18n("Marker Properties"), vbox);
TQFrame *frame = new TQFrame(groupBox);
- TQGridLayout *layout = new TQGridLayout(frame, 2, 2, 5, 5);
+ TQGridLayout *tqlayout = new TQGridLayout(frame, 2, 2, 5, 5);
- layout->addWidget(new TQLabel(i18n("Text:"), frame), 0, 0);
+ tqlayout->addWidget(new TQLabel(i18n("Text:"), frame), 0, 0);
m_nameEdit = new TQLineEdit(name, frame);
- layout->addWidget(m_nameEdit, 0, 1);
+ tqlayout->addWidget(m_nameEdit, 0, 1);
- layout->addWidget(new TQLabel(i18n("Description:"), frame), 1, 0);
+ tqlayout->addWidget(new TQLabel(i18n("Description:"), frame), 1, 0);
m_desEdit = new TQLineEdit(des, frame);
- layout->addWidget(m_desEdit, 1, 1);
+ tqlayout->addWidget(m_desEdit, 1, 1);
m_nameEdit->selectAll();
m_nameEdit->setFocus();