Diffstat (limited to 'noncore/net/opietooth/manager/bticonloader.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bticonloader.cpp | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/noncore/net/opietooth/manager/bticonloader.cpp b/noncore/net/opietooth/manager/bticonloader.cpp index 3fb0edd..f299117 100644 --- a/noncore/net/opietooth/manager/bticonloader.cpp +++ b/noncore/net/opietooth/manager/bticonloader.cpp | |||
@@ -12,28 +12,29 @@ namespace OpieTooth { | |||
12 | // still need to find out real ids | 12 | // still need to find out real ids |
13 | deviceIcons.insert( "100" , "computer_16" ); | 13 | deviceIcons.insert( 100 , "computer_16" ); |
14 | deviceIcons.insert( "101" , "phone_16" ); | 14 | deviceIcons.insert( 101 , "phone_16" ); |
15 | deviceIcons.insert( "102" , "brain_16" ); | 15 | deviceIcons.insert( 102 , "brain_16" ); |
16 | deviceIcons.insert( "103" , "conduit_16" ); | 16 | deviceIcons.insert( 103 , "conduit_16" ); |
17 | 17 | ||
18 | 18 | ||
19 | serviceIcons.insert( "0x1105" , "obex_16" ); //OBEXObjectPush | 19 | serviceIcons.insert( 4357 , "obex_16" ); //OBEXObjectPush |
20 | serviceIcons.insert( "0x1106" , "obex_16" ); //OBEXFileTransfer | 20 | serviceIcons.insert( 4358 , "obex_16" ); //OBEXFileTransfer |
21 | serviceIcons.insert( "0x1111" , "print_16" ); //Fax | 21 | serviceIcons.insert( 4369 , "print_16" ); //Fax |
22 | serviceIcons.insert( "0x1101" , "serial_16" ); //SerialPort | 22 | serviceIcons.insert( 4353 , "serial_16" ); //SerialPort |
23 | serviceIcons.insert( "0x1104" , "sync_16" ); //IrMCSync | 23 | serviceIcons.insert( 4356 , "sync_16" ); //IrMCSync |
24 | serviceIcons.insert( "0x1107" , "sync_16" ); //IrMCSyncCommand | 24 | serviceIcons.insert( 4359 , "sync_16" ); //IrMCSyncCommand |
25 | serviceIcons.insert( "0x1102" , "network_16" ); //LANAccessUsingPPP | 25 | serviceIcons.insert( 4354 , "network_16" ); //LANAccessUsingPPP |
26 | serviceIcons.insert( "0x1103" , "network_16"); //DialupNetworking | 26 | serviceIcons.insert( 4355 , "network_16"); //DialupNetworking |
27 | serviceIcons.insert( "0x1108" , "phone_16"); // Headset | 27 | serviceIcons.insert( 4360 , "phone_16"); // Headset |
28 | serviceIcons.insert( "0x1112" , "audio_16"); //HeadsetAudioGateway | 28 | serviceIcons.insert( 4370 , "audio_16"); //HeadsetAudioGateway |
29 | serviceIcons.insert( "0x1109" , "phone_16"); // CordlessTelephony | 29 | serviceIcons.insert( 4361 , "phone_16"); // CordlessTelephony |
30 | serviceIcons.insert( "0x110A" , "audio_16"); // AudioSource | 30 | serviceIcons.insert( 4362 , "audio_16"); // AudioSource |
31 | serviceIcons.insert( "0x110B" , "audio_16"); // AudioSink | 31 | serviceIcons.insert( 4363 , "audio_16"); // AudioSink |
32 | serviceIcons.insert( "0x1126" , "print_16" ); //HCR_Print | 32 | serviceIcons.insert( 4390 , "print_16" ); //HCR_Print |
33 | serviceIcons.insert( "0x1128" , "phone_16" ); //Common_ISDN_Access | 33 | serviceIcons.insert( 4392 , "phone_16" ); //Common_ISDN_Access |
34 | 34 | ||
35 | serviceIcons.insert( "0x1201" , "network_16" ); //GenericNetworking | 35 | serviceIcons.insert( 4609 , "network_16" ); //GenericNetworking |
36 | serviceIcons.insert( "0x1202" , "folder_16" ); //GenericFileTransfer | 36 | serviceIcons.insert( 4610 , "folder_16" ); //GenericFileTransfer |
37 | serviceIcons.insert( "0x1128" , "audio_16" ); //GenericAudio | 37 | serviceIcons.insert( 4392 , "audio_16" ); //GenericAudio |
38 | serviceIcons.insert( "0x1128" , "phone_16" ); //GenericTelephony | 38 | // serviceIcons.insert( 4392 , "phone_16" ); //GenericTelephony |
39 | // the above is duplicated? -zecke | ||
39 | 40 | ||
@@ -46,3 +47,3 @@ namespace OpieTooth { | |||
46 | 47 | ||
47 | QPixmap BTIconLoader::deviceIcon( const QString &deviceClass ) { | 48 | QPixmap BTIconLoader::deviceIcon( int deviceClass ) { |
48 | 49 | ||
@@ -50,3 +51,3 @@ namespace OpieTooth { | |||
50 | 51 | ||
51 | QMap<QString, QString>::Iterator it; | 52 | QMap<int, QString>::Iterator it; |
52 | 53 | ||
@@ -61,3 +62,3 @@ namespace OpieTooth { | |||
61 | 62 | ||
62 | QPixmap BTIconLoader::serviceIcon( const QString &serviceClass ) { | 63 | QPixmap BTIconLoader::serviceIcon( int serviceClass ) { |
63 | 64 | ||
@@ -65,3 +66,3 @@ namespace OpieTooth { | |||
65 | 66 | ||
66 | QMap<QString, QString>::Iterator it; | 67 | QMap<int, QString>::Iterator it; |
67 | 68 | ||