summaryrefslogtreecommitdiff
path: root/core/obex/obexsend.h
Unidiff
Diffstat (limited to 'core/obex/obexsend.h') (more/less context) (show whitespace changes)
-rw-r--r--core/obex/obexsend.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/obex/obexsend.h b/core/obex/obexsend.h
index f9ba340..cc27354 100644
--- a/core/obex/obexsend.h
+++ b/core/obex/obexsend.h
@@ -21,7 +21,9 @@ class QVBoxLayout;
21 */ 21 */
22namespace OpieObex { 22namespace OpieObex {
23 class Obex; 23 class Obex;
24#ifdef BLUETOOTH
24 class BtObex; 25 class BtObex;
26#endif
25 27
26 struct Pair { 28 struct Pair {
27 Pair(const QString& first = QString::null, 29 Pair(const QString& first = QString::null,
@@ -44,7 +46,9 @@ namespace OpieObex {
44 46
45 protected: 47 protected:
46 void closeEvent( QCloseEvent* ); 48 void closeEvent( QCloseEvent* );
49#ifdef BLUETOOTH
47 void read_receivers(); 50 void read_receivers();
51#endif
48 52
49 public slots: 53 public slots:
50 void send( const QString& file, const QString& desc ); 54 void send( const QString& file, const QString& desc );
@@ -63,6 +67,7 @@ namespace OpieObex {
63 void slotIrDaDevices( const QStringList& ); 67 void slotIrDaDevices( const QStringList& );
64 /* Bt Names + BD-Addr */ 68 /* Bt Names + BD-Addr */
65 void slotBTDevices( const QMap<QString, QString>& ); 69 void slotBTDevices( const QMap<QString, QString>& );
70
66 void slotSelectedDevice( int id, int dev ); 71 void slotSelectedDevice( int id, int dev );
67 72
68 void dispatchIrda( const QCString& str, const QByteArray& ar ); 73 void dispatchIrda( const QCString& str, const QByteArray& ar );
@@ -87,12 +92,16 @@ namespace OpieObex {
87 int m_start; 92 int m_start;
88 QMap<int, QString> m_irDa; 93 QMap<int, QString> m_irDa;
89 QMap<int, QString>::Iterator m_irDaIt; 94 QMap<int, QString>::Iterator m_irDaIt;
95#ifdef BLUETOOTH
90 QMap<int, Pair > m_bt; 96 QMap<int, Pair > m_bt;
91 QMap<int, Pair>::Iterator m_btIt; 97 QMap<int, Pair>::Iterator m_btIt;
98#endif
92 QMap<int, QListViewItem *> receivers; 99 QMap<int, QListViewItem *> receivers;
93 QString m_file; 100 QString m_file;
94 Obex* m_obex; 101 Obex* m_obex;
102#ifdef BLUETOOTH
95 BtObex* m_btobex; 103 BtObex* m_btobex;
104#endif
96 }; 105 };
97} 106}
98 107