Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h index fcaee6e..4785a62 100644 --- a/noncore/net/opietooth/manager/scandialog.h +++ b/noncore/net/opietooth/manager/scandialog.h @@ -10,42 +10,41 @@ * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef SCANDIALOG_H #define SCANDIALOG_H #include <qvariant.h> #include <qdialog.h> +#include <qlist.h> -#include <remotedevice.h> - class QVBoxLayout; class QHBoxLayout; class QGridLayout; class QFrame; class QLabel; class QListView; class QListViewItem; class QPushButton; class QProgressBar; namespace OpieTooth { - +#include <remotedevices.h> class Manager; class Device; class ScanDialog : public QDialog { Q_OBJECT public: ScanDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~ScanDialog(); QFrame* Frame7; QProgressBar* progress; @@ -55,19 +54,24 @@ class Device; protected: QVBoxLayout* Layout11; private slots: void stopSearch(); void startSearch(); void progressTimer(); void fillList(const QString& device, RemoteDevices::ValueList list); private: + void emitToManager(); Manager *localDevice; int progressStat; + + signals: + void selectedDevices(QList<RemoteDevices>&); }; + } #endif // SCANDIALOG_H |