- Proxy class for interface com.meego.usb_moded
More...
#include <USBModedProxy.h>
|
void | slotModeChanged (const QString &mode) |
|
- connected to usbmoded proxy's sig_usb_state_ind signal
|
|
QDBusPendingReply< QString > | mode_request () |
|
- method to make a DBUS call to USB moded daemon
|
|
|
void | sig_usb_state_ind (const QString &mode) |
|
- overridden signal from usb moded proxy.
|
|
void | usbConnection (bool bConnected) |
|
- this is emitted on receiving sig_usb_state_ind from usb moded daemon
|
|
|
static const char * | staticInterfaceName () |
|
- returns the static interface name
|
|
- Proxy class for interface com.meego.usb_moded
◆ USBModedProxy()
USBModedProxy::USBModedProxy |
( |
QObject * |
parent = 0 | ) |
|
- Parameters
-
parent | - pointer to parent object |
◆ ~USBModedProxy()
USBModedProxy::~USBModedProxy |
( |
| ) |
|
◆ isUSBConnected()
bool USBModedProxy::isUSBConnected |
( |
| ) |
|
- function to check if usb is connected or not
- Returns
- - Returns true if the USB cable is connected in the Ovi Suite mode,false, if it's in any other mode, or if it isn't connected
◆ mode_request
QDBusPendingReply< QString > Buteo::USBModedProxy::mode_request |
( |
| ) |
|
|
inlineslot |
- method to make a DBUS call to USB moded daemon
- Returns
- - result of the request as QString
◆ sig_usb_state_ind
void Buteo::USBModedProxy::sig_usb_state_ind |
( |
const QString & |
mode | ) |
|
|
signal |
- overridden signal from usb moded proxy.
- Parameters
-
◆ slotModeChanged
void USBModedProxy::slotModeChanged |
( |
const QString & |
mode | ) |
|
|
slot |
- connected to usbmoded proxy's sig_usb_state_ind signal
- Parameters
-
mode | - new mode to which usb has changed to |
◆ usbConnection
void Buteo::USBModedProxy::usbConnection |
( |
bool |
bConnected | ) |
|
|
signal |
- this is emitted on receiving sig_usb_state_ind from usb moded daemon
- Parameters
-
bConnected | - boolean flag to indicate whether the connection is successful or not |
The documentation for this class was generated from the following files: