summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.h10
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
@@ -14,34 +14,33 @@
***************************************************************************/
#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 );
@@ -59,15 +58,20 @@ class Device;
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