summaryrefslogtreecommitdiff
path: root/examples/activeqt/simple/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/activeqt/simple/main.cpp')
-rw-r--r--examples/activeqt/simple/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/activeqt/simple/main.cpp b/examples/activeqt/simple/main.cpp
index 487ccfa..44ee896 100644
--- a/examples/activeqt/simple/main.cpp
+++ b/examples/activeqt/simple/main.cpp
@@ -63,8 +63,8 @@ public:
LCD = new QLCDNumber( 3, this );
edit = new QLineEdit( this );
- connect( slider, SIGNAL(valueChanged(int)), this, SLOT(setValue(int)) );
- connect( edit, SIGNAL(textChanged(QString)), this, SLOT(setText(QString)) );
+ connect( slider, &QAbstractSlider::valueChanged, this, &QSimpleAX::setValue );
+ connect( edit, &QLineEdit::textChanged, this, &QSimpleAX::setText );
vbox->addWidget( slider );
vbox->addWidget( LCD );