Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / apps / konsole / src / ProfileListWidget.h
blob297708c67d8b27a1a9a1728c3d8135de2167ef37
1 /*
2 Copyright (C) 2006-2007 by Robert Knight <robertknight@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
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 General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 02110-1301 USA.
20 #ifndef PROFILELISTWIDGET_H
21 #define PROFILELISTWIDGET_H
23 // Qt
24 #include <QtGui/QListWidget>
26 class ProfileListWidget : public QListWidget
28 Q_OBJECT
30 public:
31 ProfileListWidget(QWidget* parent);
33 signals:
34 void takeSessionEvent(int itemIndex);
35 void dropSessionEvent(int id);
37 protected:
38 virtual void startDrag(Qt::DropActions supportedActions);
39 virtual void dropEvent(QDropEvent* event);
40 virtual void dragEnterEvent(QDragEnterEvent* event);
41 virtual void dragMoveEvent(QDragMoveEvent* event);
45 /*class SessionListDelegate : public QAbstractItemDelegate
47 Q_OBJECT
49 public:
50 virtual void paint(QPainter* painter , const QStyleOptionViewItem& option,
51 const QModelIndex& index) const;
53 virtual QSize sizeHint( const QStyleOptionViewItem& option,
54 const QModelIndex& index) const;
55 };*/
57 #endif // PROFILELISTWIDGET_H