summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h
index 6d9b877..22ee01d 100644
--- a/noncore/net/opietooth/manager/scandialog.h
+++ b/noncore/net/opietooth/manager/scandialog.h
@@ -1,73 +1,73 @@
1/* main.cpp 1/* main.cpp
2 * 2 *
3 * copyright : (c) 2002 by Maximilian Reiß 3 * copyright : (c) 2002 by Maximilian Reiß
4 * email : max.reiss@gmx.de 4 * email : max.reiss@gmx.de
5 * 5 *
6 */ 6 */
7/*************************************************************************** 7/***************************************************************************
8 * * 8 * *
9 * This program is free software; you can redistribute it and/or modify * 9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by * 10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or * 11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. * 12 * (at your option) any later version. *
13 * * 13 * *
14 ***************************************************************************/ 14 ***************************************************************************/
15 15
16 16
17#ifndef SCANDIALOG_H 17#ifndef SCANDIALOG_H
18#define SCANDIALOG_H 18#define SCANDIALOG_H
19 19
20#include <qvariant.h> 20#include <qvariant.h>
21#include <qdialog.h> 21#include <qdialog.h>
22 22
23 23
24#include <remotedevice.h> 24#include <remotedevice.h>
25 25
26class QVBoxLayout; 26class QVBoxLayout;
27class QHBoxLayout; 27class QHBoxLayout;
28class QGridLayout; 28class QGridLayout;
29class QFrame; 29class QFrame;
30class QLabel; 30class QLabel;
31class QListView; 31class QListView;
32class QListViewItem; 32class QListViewItem;
33class QPushButton; 33class QPushButton;
34class QProgressBar; 34class QProgressBar;
35 35
36 36
37namespace OpieTooth { 37namespace OpieTooth {
38 38
39 39
40class Manager; 40class Manager;
41class Device; 41class Device;
42 42
43 class ScanDialog : public QDialog { 43 class ScanDialog : public QDialog {
44 Q_OBJECT 44 Q_OBJECT
45 45
46 public: 46 public:
47 ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 47 ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
48 ~ScanDialog(); 48 ~ScanDialog();
49 49
50 QFrame* Frame7; 50 QFrame* Frame7;
51 QProgressBar* progress; 51 QProgressBar* progress;
52 QPushButton* StartButton; 52 QPushButton* StartButton;
53 QPushButton* StopButton; 53 QPushButton* StopButton;
54 QListView* ListView1; 54 QListView* ListView1;
55 55
56 56
57 protected: 57 protected:
58 QGridLayout* Layout11; 58 QVBoxLayout* Layout11;
59 59
60 private slots: 60 private slots:
61 void stopSearch(); 61 void stopSearch();
62 void startSearch(); 62 void startSearch();
63 void fillList(const QString& device, RemoteDevices::ValueList list); 63 void fillList(const QString& device, RemoteDevices::ValueList list);
64 64
65 private: 65 private:
66 void progressTimer(int maxSeconds); 66 void progressTimer(int maxSeconds);
67 Manager *localDevice; 67 Manager *localDevice;
68 int progressStat; 68 int progressStat;
69 }; 69 };
70 70
71} 71}
72 72
73#endif // SCANDIALOG_H 73#endif // SCANDIALOG_H