summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/EventEditDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/EventEditDialog.cpp')
-rw-r--r--src/gui/dialogs/EventEditDialog.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/gui/dialogs/EventEditDialog.cpp b/src/gui/dialogs/EventEditDialog.cpp
index 2a865d7..d1ca56e 100644
--- a/src/gui/dialogs/EventEditDialog.cpp
+++ b/src/gui/dialogs/EventEditDialog.cpp
@@ -92,8 +92,8 @@ EventEditDialog::EventEditDialog(TQWidget *parent,
TQSpinBox *absoluteTime = new TQSpinBox
(INT_MIN, INT_MAX, Note(Note::Shortest).getDuration(), intrinsicGrid);
absoluteTime->setValue(event.getAbsoluteTime());
- TQObject::connect(absoluteTime, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotAbsoluteTimeChanged(int)));
+ TQObject::connect(absoluteTime, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotAbsoluteTimeChanged(int)));
slotAbsoluteTimeChanged(event.getAbsoluteTime());
new TQLabel(i18n("Duration: "), intrinsicGrid);
@@ -105,8 +105,8 @@ EventEditDialog::EventEditDialog(TQWidget *parent,
TQSpinBox *duration = new TQSpinBox
(0, INT_MAX, Note(Note::Shortest).getDuration(), intrinsicGrid);
duration->setValue(event.getDuration());
- TQObject::connect(duration, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotDurationChanged(int)));
+ TQObject::connect(duration, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotDurationChanged(int)));
slotDurationChanged(event.getDuration());
new TQLabel(i18n("Sub-ordering: "), intrinsicGrid);
@@ -115,8 +115,8 @@ EventEditDialog::EventEditDialog(TQWidget *parent,
TQSpinBox *subOrdering = new TQSpinBox( -100, 100, 1, intrinsicGrid);
subOrdering->setValue(event.getSubOrdering());
- TQObject::connect(subOrdering, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotSubOrderingChanged(int)));
+ TQObject::connect(subOrdering, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotSubOrderingChanged(int)));
slotSubOrderingChanged(event.getSubOrdering());
TQGroupBox *persistentBox = new TQGroupBox
@@ -184,8 +184,8 @@ EventEditDialog::EventEditDialog(TQWidget *parent,
button->setFixedSize(TQSize(24, 24));
TQToolTip::add
(button, i18n("Make persistent"));
- TQObject::connect(button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotPropertyMadePersistent()));
+ TQObject::connect(button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotPropertyMadePersistent()));
}
}
}
@@ -213,8 +213,8 @@ EventEditDialog::addPersistentProperty(const PropertyName &name)
TQSpinBox *spinBox = new TQSpinBox
(min, max, 1, m_persistentGrid, strtoqstr(name).ascii());
spinBox->setValue(m_originalEvent.get<Int>(name));
- TQObject::connect(spinBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotIntPropertyChanged(int)));
+ TQObject::connect(spinBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotIntPropertyChanged(int)));
spinBox->show();
break;
}
@@ -228,8 +228,8 @@ case UInt: {
TQSpinBox *spinBox = new TQSpinBox
(min, max, 1, m_persistentGrid, strtoqstr(name).ascii());
spinBox->setValue(m_originalEvent.get<UInt>(name));
- TQObject::connect(spinBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotIntPropertyChanged(int)));
+ TQObject::connect(spinBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotIntPropertyChanged(int)));
spinBox->show();
break;
}
@@ -245,8 +245,8 @@ case UInt: {
hbox, TQString(strtoqstr(name) + "%sec").ascii());
spinBox->setValue(realTime.sec);
- TQObject::connect(spinBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotRealTimePropertyChanged(int)));
+ TQObject::connect(spinBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotRealTimePropertyChanged(int)));
// nseconds
//
@@ -255,8 +255,8 @@ case UInt: {
hbox, TQString(strtoqstr(name) + "%nsec").ascii());
spinBox->setValue(realTime.nsec);
- TQObject::connect(spinBox, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotRealTimePropertyChanged(int)));
+ TQObject::connect(spinBox, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotRealTimePropertyChanged(int)));
spinBox->show();
break;
}
@@ -265,8 +265,8 @@ case UInt: {
TQCheckBox *checkBox = new TQCheckBox
("", m_persistentGrid, strtoqstr(name).ascii());
checkBox->setChecked(m_originalEvent.get<Bool>(name));
- TQObject::connect(checkBox, TQT_SIGNAL(activated()),
- this, TQT_SLOT(slotBoolPropertyChanged()));
+ TQObject::connect(checkBox, TQ_SIGNAL(activated()),
+ this, TQ_SLOT(slotBoolPropertyChanged()));
checkBox->show();
break;
}
@@ -276,8 +276,8 @@ case UInt: {
(strtoqstr(m_originalEvent.get<String>(name)),
m_persistentGrid,
strtoqstr(name).ascii());
- TQObject::connect(lineEdit, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(slotStringPropertyChanged(const TQString &)));
+ TQObject::connect(lineEdit, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(slotStringPropertyChanged(const TQString &)));
lineEdit->show();
break;
}
@@ -288,8 +288,8 @@ case UInt: {
button->setFixedSize(TQSize(24, 24));
TQToolTip::add
(button, i18n("Delete this property"));
- TQObject::connect(button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotPropertyDeleted()));
+ TQObject::connect(button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotPropertyDeleted()));
button->show();
}