summaryrefslogtreecommitdiffstats
path: root/src/gui/fieldwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:31:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 14:53:04 +0900
commitaa5bb4434eb6b60314787106284ad99294de4468 (patch)
tree3a766a6cc84578b8fa8f5a6db323de24c57959d8 /src/gui/fieldwidget.cpp
parent727a2e58bc79c09f53766110fb7c31d3f3af1e46 (diff)
downloadtellico-aa5bb4434eb6b60314787106284ad99294de4468.tar.gz
tellico-aa5bb4434eb6b60314787106284ad99294de4468.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c650254e1855d383dcafd15d18be20becc3b2253)
Diffstat (limited to 'src/gui/fieldwidget.cpp')
-rw-r--r--src/gui/fieldwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/fieldwidget.cpp b/src/gui/fieldwidget.cpp
index 41d3d82..c443ae8 100644
--- a/src/gui/fieldwidget.cpp
+++ b/src/gui/fieldwidget.cpp
@@ -121,12 +121,12 @@ FieldWidget::FieldWidget(Data::FieldPtr field_, TQWidget* parent_, const char* n
m_editMultiple = new TQCheckBox(this);
m_editMultiple->setChecked(true);
m_editMultiple->setFixedWidth(m_editMultiple->sizeHint().width()); // don't let it have any extra space
- connect(m_editMultiple, TQT_SIGNAL(toggled(bool)), TQT_SLOT(setEnabled(bool)));
+ connect(m_editMultiple, TQ_SIGNAL(toggled(bool)), TQ_SLOT(setEnabled(bool)));
l->addWidget(m_editMultiple);
TQWhatsThis::add(this, field_->description());
// after letting the subclass get created, insert default value
- TQTimer::singleShot(0, this, TQT_SLOT(insertDefault()));
+ TQTimer::singleShot(0, this, TQ_SLOT(insertDefault()));
}
void FieldWidget::insertDefault() {
@@ -166,10 +166,10 @@ void FieldWidget::editMultiple(bool show_) {
// FIXME: maybe modified should only be signaled when the button is toggle on
if(show_) {
m_editMultiple->show();
- connect(m_editMultiple, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(modified()));
+ connect(m_editMultiple, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(modified()));
} else {
m_editMultiple->hide();
- disconnect(m_editMultiple, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(modified()));
+ disconnect(m_editMultiple, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(modified()));
}
// the widget length needs to be updated since it gets shorter
widget()->updateGeometry();