┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placesitemeditdialog.cpp
diff options
context:
space:
mode:
authorAlex Richardson <[email protected]>2014-04-10 02:57:01 +0200
committerAlex Richardson <[email protected]>2014-05-05 23:05:33 +0200
commitb069fb9b43072ebdb0cd292f224c4f4ca96e48f8 (patch)
tree676e9b5d4c6bab6a4a98e3b47180ce261d77c480 /src/panels/places/placesitemeditdialog.cpp
parentbb642c92d31f0120b2306a9cb387d76f49112034 (diff)
dolphin: convert panels/ and filterbar to qt signal/slot syntax
TerminalPanel connections to konsole part were not converted since there is no header available that defines these function, we have to keep the old syntax here. Additionally the new syntax no longer accepts QPointer arguments, we have to explicitly call .data() there.
Diffstat (limited to 'src/panels/places/placesitemeditdialog.cpp')
-rw-r--r--src/panels/places/placesitemeditdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/places/placesitemeditdialog.cpp b/src/panels/places/placesitemeditdialog.cpp
index 2dd47d793..0a66ef7de 100644
--- a/src/panels/places/placesitemeditdialog.cpp
+++ b/src/panels/places/placesitemeditdialog.cpp
@@ -135,7 +135,7 @@ void PlacesItemEditDialog::initialize()
formLayout->addRow(i18nc("@label", "Location:"), m_urlEdit);
// Provide room for at least 40 chars (average char width is half of height)
m_urlEdit->setMinimumWidth(m_urlEdit->fontMetrics().height() * (40 / 2));
- connect(m_urlEdit->lineEdit(), SIGNAL(textChanged(QString)), this, SLOT(slotUrlChanged(QString)));
+ connect(m_urlEdit->lineEdit(), &KLineEdit::textChanged, this, &PlacesItemEditDialog::slotUrlChanged);
m_iconButton = new KIconButton(mainWidget);
formLayout->addRow(i18nc("@label", "Choose an icon:"), m_iconButton);