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) ...@@ -33,9 +33,9 @@ TodoViewQuickAddLine::TodoViewQuickAddLine(QWidget *parent)
: KLineEdit(parent) : KLineEdit(parent)
{ {
connect(this, SIGNAL(returnPressed()), 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); setToolTip(mClickMessage);
} }
...@@ -48,7 +48,7 @@ void TodoViewQuickAddLine::keyPressEvent(QKeyEvent *event) ...@@ -48,7 +48,7 @@ void TodoViewQuickAddLine::keyPressEvent(QKeyEvent *event)
KLineEdit::keyPressEvent(event); KLineEdit::keyPressEvent(event);
} }
void TodoViewQuickAddLine::returnPressed() void TodoViewQuickAddLine::returnPressedSlot()
{ {
// Workaround bug #217592 (disappearing cursor) // Workaround bug #217592 (disappearing cursor)
unsetCursor(); unsetCursor();
......
...@@ -45,7 +45,7 @@ Q_SIGNALS: ...@@ -45,7 +45,7 @@ Q_SIGNALS:
void returnPressed(Qt::KeyboardModifiers modifiers); void returnPressed(Qt::KeyboardModifiers modifiers);
private Q_SLOTS: private Q_SLOTS:
void returnPressed(); void returnPressedSlot();
private: private:
Qt::KeyboardModifiers mModifiers; 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