65 void handleSyncFinished (
bool isSyncInError);
69 void usbConnected (
int fd);
74 void handleUSBActivated (
int fd);
76 void handleUSBError (
int fd);
84 void closeUSBDevice ();
86 void addFdListener ();
88 void removeFdListener ();
90 void signalNewSession ();
93 void setFdWatchEventSource (guint = 0);
95 void setIdleEventSource (guint = 0);
97 guint fdWatchEventSource ();
99 guint idleEventSource ();
101 static gboolean handleIncomingUSBEvent (GIOChannel* ioChannel,
102 GIOCondition condition,
105 void removeEventSource ();
107 static gboolean reopenUSB (gpointer data);
121 GIOChannel *mIOChannel;
123 guint mIdleEventSource;
125 guint mFdWatchEventSource;
127 QSocketNotifier *mReadNotifier;
129 QSocketNotifier *mWriteNotifier;
131 QSocketNotifier *mExceptionNotifier;