not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / shells / common / customdragtreeview_p.h
blobdccde9bcf9e4be96e9522bbd5af6a3fe3f71ad50
1 /*
2 * Copyright (C) 2007 Ivan Cukic <ivan.cukic+kde@gmail.com>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Library/Lesser General Public License
6 * version 2, or (at your option) any later version, as published by the
7 * Free Software Foundation
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details
14 * You should have received a copy of the GNU Library/Lesser General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef PLASMA_CUSTOMDRAGTREEVIEW_P_H
21 #define PLASMA_CUSTOMDRAGTREEVIEW_P_H
23 #include <QTreeView>
24 #include "kcategorizeditemsviewmodels_p.h"
26 class KCategorizedItemsView;
28 class CustomDragTreeView: public QTreeView
30 public:
31 CustomDragTreeView(QWidget *parent = 0);
33 protected:
34 void startDrag(Qt::DropActions supportedActions);
36 private:
37 KCategorizedItemsView *m_view;
39 friend class KCategorizedItemsView;
42 #endif