2
This file is part of Blogilo, A KDE Blogging Client
4
Copyright (C) 2010 Mehrdad Momeny <mehrdad.momeny@gmail.com>
5
Copyright (C) 2010 Golnaz Nilieh <g382nilieh@gmail.com>
7
This program is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of
10
the License or (at your option) version 3 or any later version
11
accepted by the membership of KDE e.V. (or its successor approved
12
by the membership of KDE e.V.), which shall act as a proxy
13
defined in Section 14 of version 3 of the license.
16
This program is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
GNU General Public License for more details.
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, see http://www.gnu.org/licenses/
25
#include "titlelineedit.h"
29
TitleLineEdit::TitleLineEdit(QWidget* parent): KLineEdit(parent)
34
TitleLineEdit::~TitleLineEdit()
39
void TitleLineEdit::keyPressEvent(QKeyEvent* ev)
42
if( (ev->modifiers() == Qt::NoModifier) && (ev->key() == Qt::Key_Down) )
43
emit downKeyPressed();
45
KLineEdit::keyPressEvent(ev);
48
#include "titlelineedit.moc"