~ubuntu-branches/ubuntu/warty/kdebase/warty

« back to all changes in this revision

Viewing changes to kcontrol/usbview/kcmusb.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-09-16 04:51:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040916045145-9vr63kith3k1cpza
Tags: upstream-3.2.2
ImportĀ upstreamĀ versionĀ 3.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 ***************************************************************************/
 
10
 
 
11
 
 
12
#ifndef _KCMUSB_H
 
13
#define _KCMUSB_H
 
14
 
 
15
 
 
16
#include <qintdict.h>
 
17
 
 
18
 
 
19
#include <kcmodule.h>
 
20
 
 
21
 
 
22
class QListView;
 
23
class QListViewItem;
 
24
class QTextView;
 
25
 
 
26
 
 
27
class USBViewer : public KCModule
 
28
{
 
29
  Q_OBJECT
 
30
 
 
31
public:
 
32
 
 
33
  USBViewer(QWidget *parent = 0L, const char *name = 0L, const QStringList &list=QStringList() );
 
34
  virtual ~USBViewer();
 
35
 
 
36
  void load();
 
37
  void save();
 
38
  void defaults();
 
39
  
 
40
  int buttons();
 
41
  QString quickHelp() const;
 
42
  const KAboutData* aboutData() const;
 
43
 
 
44
 
 
45
 
 
46
protected slots:
 
47
 
 
48
  void selectionChanged(QListViewItem *item);
 
49
 
 
50
 
 
51
private:
 
52
 
 
53
  QListView *_devices;
 
54
  QTextView *_details;
 
55
};
 
56
 
 
57
 
 
58
#endif