~ubuntu-branches/debian/sid/kde-baseapps/sid

« back to all changes in this revision

Viewing changes to dolphin/src/panels/folders/ktreeview.h

  • Committer: Package Import Robot
  • Author(s): Modestas Vainius, Eshat Cakar, Pino Toscano
  • Date: 2012-06-09 22:18:08 UTC
  • mfrom: (4.2.1) (6.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20120609221808-h1l0ekd5qmb8nefr
Tags: 4:4.8.4-1
* New upstream release.

[ Eshat Cakar ]
* Add watch file.
* Bump kde-sc-dev-latest build dependency to version 4:4.8.4.
* Update installed files.

[ Pino Toscano ]
* Move files of the konqueror documentation from kde-baseapps-data to
  konqueror itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2008 by <haraldhv (at) stud.ntnu.no>                    *
3
 
 *   Copyright (C) 2008 by <peter.penz19@gmail.com>                        *
4
 
 *                                                                         *
5
 
 *   This program is free software; you can redistribute it and/or modify  *
6
 
 *   it under the terms of the GNU General Public License as published by  *
7
 
 *   the Free Software Foundation; either version 2 of the License, or     *
8
 
 *   (at your option) any later version.                                   *
9
 
 *                                                                         *
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.                          *
14
 
 *                                                                         *
15
 
 *   You should have received a copy of the GNU General Public License     *
16
 
 *   along with this program; if not, write to the                         *
17
 
 *   Free Software Foundation, Inc.,                                       *
18
 
 *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
19
 
 ***************************************************************************/
20
 
 
21
 
#ifndef KTREEVIEW_H
22
 
#define KTREEVIEW_H
23
 
 
24
 
#include <QTreeView>
25
 
 
26
 
class KTreeView : public QTreeView
27
 
{
28
 
    Q_OBJECT
29
 
 
30
 
public:
31
 
    KTreeView(QWidget *parent = 0);
32
 
    virtual ~KTreeView();
33
 
 
34
 
    void setAutoHorizontalScroll(bool enable);
35
 
    bool autoHorizontalScroll() const;
36
 
 
37
 
    virtual void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible);
38
 
 
39
 
protected:
40
 
    virtual void hideEvent(QHideEvent *event);
41
 
 
42
 
private:
43
 
    class KTreeViewPrivate;
44
 
    KTreeViewPrivate *d;
45
 
};
46
 
 
47
 
#endif /* ifndef KTREEVIEW_H */