2
* psifilteredcontactlistview.h
3
* Copyright (C) 2010 Yandex LLC (Michail Pishchagin)
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
#ifndef PSIFILTEREDCONTACTLISTVIEW_H
22
#define PSIFILTEREDCONTACTLISTVIEW_H
24
#include "psicontactlistview.h"
26
class PsiFilteredContactListView : public PsiContactListView
30
PsiFilteredContactListView(QWidget* parent);
32
bool handleKeyPressEvent(QKeyEvent* e);
35
void quitFilteringMode();
42
void moveSelection(uint delta, Direction direction);
43
void selectIndex(int row);
45
bool extendSelection() const;
49
virtual void itemActivated(const QModelIndex& index);