~ubuntu-branches/debian/sid/kexi/sid

« back to all changes in this revision

Viewing changes to src/widget/KexiListView.h

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2017-06-24 20:10:10 UTC
  • Revision ID: package-import@ubuntu.com-20170624201010-5lrzd5r2vwthwifp
Tags: upstream-3.0.1.1
Import upstream version 3.0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of the KDE project
 
2
   Copyright (C) 2016 Jarosław Staniek <staniek@kde.org>
 
3
 
 
4
   Forked from kwidgetsaddons/src/kpageview_p.h:
 
5
   Copyright (C) 2006 Tobias Koenig (tokoe@kde.org)
 
6
   Copyright (C) 2007 Rafael Fernández López (ereslibre@kde.org)
 
7
 
 
8
   This library is free software; you can redistribute it and/or
 
9
   modify it under the terms of the GNU Library General Public
 
10
   License as published by the Free Software Foundation; either
 
11
   version 2 of the License, or (at your option) any later version.
 
12
 
 
13
   This library is distributed in the hope that it will be useful,
 
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
   Library General Public License for more details.
 
17
 
 
18
   You should have received a copy of the GNU Library General Public License
 
19
   along with this library; see the file COPYING.LIB.  If not, write to
 
20
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
21
 * Boston, MA 02110-1301, USA.
 
22
*/
 
23
 
 
24
#ifndef KEXILISTVIEW_H
 
25
#define KEXILISTVIEW_H
 
26
 
 
27
#include <QListView>
 
28
 
 
29
#include "kexiextwidgets_export.h"
 
30
 
 
31
class KEXIEXTWIDGETS_EXPORT KexiListView : public QListView
 
32
{
 
33
    Q_OBJECT
 
34
 
 
35
public:
 
36
    explicit KexiListView(QWidget *parent = 0);
 
37
 
 
38
    virtual ~KexiListView();
 
39
 
 
40
    void setModel(QAbstractItemModel *model) Q_DECL_OVERRIDE;
 
41
 
 
42
private Q_SLOTS:
 
43
    void updateWidth();
 
44
};
 
45
 
 
46
#endif