From b27e599429731337af4bb18b986933c968bea279 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 20 Nov 2011 19:32:52 +0100 Subject: Initial draft for bringing back the "Folders" panel The folders panel has been adjusted to use the new view-engine. A lot of things don't work yet, but are mostly minor issues that should be fixable during the next 10 days. --- src/panels/folders/ktreeview.h | 47 ------------------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 src/panels/folders/ktreeview.h (limited to 'src/panels/folders/ktreeview.h') diff --git a/src/panels/folders/ktreeview.h b/src/panels/folders/ktreeview.h deleted file mode 100644 index 754ea6db3..000000000 --- a/src/panels/folders/ktreeview.h +++ /dev/null @@ -1,47 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2008 by * - * Copyright (C) 2008 by * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - ***************************************************************************/ - -#ifndef KTREEVIEW_H -#define KTREEVIEW_H - -#include - -class KTreeView : public QTreeView -{ - Q_OBJECT - -public: - KTreeView(QWidget *parent = 0); - virtual ~KTreeView(); - - void setAutoHorizontalScroll(bool enable); - bool autoHorizontalScroll() const; - - virtual void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible); - -protected: - virtual void hideEvent(QHideEvent *event); - -private: - class KTreeViewPrivate; - KTreeViewPrivate *d; -}; - -#endif /* ifndef KTREEVIEW_H */ -- cgit v1.3.1