Commit de6b6c8d authored by Allen Winter's avatar Allen Winter
Browse files

todo/todoviewquickaddline - rename returnPressed() slot (for clazy)

parent ff98e501
......@@ -33,9 +33,9 @@ TodoViewQuickAddLine::TodoViewQuickAddLine(QWidget *parent)
: KLineEdit(parent)
{
connect(this, SIGNAL(returnPressed()),
this, SLOT(returnPressed()));
this, SLOT(returnPressedSlot()));
mClickMessage = i18n("Click to add a new to-do");
mClickMessage = i18n("Enter a summary to create a new to-do");
setToolTip(mClickMessage);
}
......@@ -48,7 +48,7 @@ void TodoViewQuickAddLine::keyPressEvent(QKeyEvent *event)
KLineEdit::keyPressEvent(event);
}
void TodoViewQuickAddLine::returnPressed()
void TodoViewQuickAddLine::returnPressedSlot()
{
// Workaround bug #217592 (disappearing cursor)
unsetCursor();
......
......@@ -45,7 +45,7 @@ Q_SIGNALS:
void returnPressed(Qt::KeyboardModifiers modifiers);
private Q_SLOTS:
void returnPressed();
void returnPressedSlot();
private:
Qt::KeyboardModifiers mModifiers;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment