equal
deleted
inserted
replaced
40 QGraphicsItem *parent = 0); |
40 QGraphicsItem *parent = 0); |
41 virtual ~BtcpuiSearchView(); |
41 virtual ~BtcpuiSearchView(); |
42 virtual void activateView( const QVariant& value, bool backNavi); |
42 virtual void activateView( const QVariant& value, bool backNavi); |
43 virtual void deactivateView(); |
43 virtual void deactivateView(); |
44 virtual void createContextMenuActions(int majorRole); |
44 virtual void createContextMenuActions(int majorRole); |
|
45 virtual void connectToDevice(const QModelIndex& modelIndex); |
|
46 virtual void disconnectFromDevice(const QModelIndex& modelIndex); |
|
47 |
|
48 |
45 public slots: |
49 public slots: |
46 void changeOrientation( Qt::Orientation orientation ); |
50 void changeOrientation( Qt::Orientation orientation ); |
47 void stopSearching(); |
51 void stopSearching(); |
48 void retrySearch(); |
52 void retrySearch(); |
49 virtual void viewByDialogClosed(HbAction* action); |
53 virtual void viewByDialogClosed(HbAction* action); |
50 void deviceSearchCompleted(int error); |
54 void deviceSearchCompleted(int error); |
|
55 void secondaryDelegateCompleted(int error, BtAbstractDelegate* delegate); |
51 |
56 |
52 private: |
57 private: |
53 virtual void take(BtAbstractDelegate *delegate); |
58 virtual void take(BtAbstractDelegate *delegate); |
54 void startSearchDelegate(); |
59 void startSearchDelegate(); |
55 |
60 |
63 Qt::Orientation mOrientation; |
68 Qt::Orientation mOrientation; |
64 |
69 |
65 HbAction* mViewBy; |
70 HbAction* mViewBy; |
66 HbAction* mStop; |
71 HbAction* mStop; |
67 HbAction* mRetry; |
72 HbAction* mRetry; |
|
73 |
|
74 //This is used to perform connect/disconnect operations. |
|
75 //Inquiry delegate will be primary delegate, since Inquiry |
|
76 //delegate is active most of the time, this secondary |
|
77 //delegate is used to perform connect/disconnect. |
|
78 BtAbstractDelegate* mSecondaryDelegate; |
68 |
79 |
69 }; |
80 }; |
70 |
81 |
71 #endif// BTCPUISEARCHVIEW_H |
82 #endif// BTCPUISEARCHVIEW_H |