only include Applications by default on OS X
[ambit.git] / src / iconview.h
blob286363e70dee1e132d532d4a29f993318b46929a
1 /**
2 * Copyright (C) 2007 Benjamin C. Meyer
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (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 02110-1301, USA.
19 #ifndef ICONVIEW_H
20 #define ICONVIEW_H
22 #include <qlistview.h>
24 class IconView : public QListView
27 Q_OBJECT
29 public:
30 IconView(QWidget *parent = 0);
31 ~IconView();
33 public slots:
34 void openIndex(const QModelIndex &index) {
35 setRootIndex(index);
39 #endif // ICONVIEW_H