add more spacing
[personal-kdebase.git] / apps / kinfocenter / usbview / kcmusb.h
blob2bca75140a46e50d5ce66c97f64fa388e618ea5e
1 /***************************************************************************
2 * Copyright (C) 2001 by Matthias Hoelzer-Kluepfel <mhk@caldera.de> *
3 * *
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. *
8 * *
9 ***************************************************************************/
11 #ifndef _KCMUSB_H
12 #define _KCMUSB_H
14 #include <QMap>
16 #include <kcmodule.h>
18 class QTreeWidget;
19 class QTreeWidgetItem;
20 class QTextEdit;
22 class USBViewer : public KCModule {
23 Q_OBJECT
25 public:
27 explicit USBViewer(QWidget *parent = 0L, const QVariantList &list=QVariantList());
29 void load();
31 protected Q_SLOTS:
33 void selectionChanged(QTreeWidgetItem *item);
34 void refresh();
36 private:
38 QMap<int, QTreeWidgetItem*> _items;
39 QTreeWidget *_devices;
40 QTextEdit *_details;
43 #endif