Package phones :: Module com_lglx570 :: Class Profile
[show private | hide private]
[frames | no frames]

Type Profile

object --+        
         |        
   Profile --+    
             |    
       Profile --+
                 |
                Profile


Method Summary
  convertphonebooktophone(self, helper, data)
Converts the data to what will be used by the phone
  GetImageOrigins(self)
  GetTargetsForImageOrigin(self, origin)
    Inherited from Profile
  __init__(self)
  normalisegroups(self, helper, data)
Assigns groups based on category data
  QueryAudio(self, origin, currentextension, afi)
    Inherited from Profile
  phonize(self, str)
Convert the phone number into something the phone understands uses DIALSTRING_CHARS to compare phone number with and strips all other characters from the string
  SyncQuery(self, source, action, actiontype)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
int BP_Calendar_Version = 3                                                                     
tuple excluded_ringtone_origins = ('ringers', 'sounds', 'my me...
tuple excluded_wallpaper_origins = ('images',)
dict field_color_data = {'todo': {'status': False, 'due_date'...
dict imageorigins = {'images': {'meta-help': 'General images'...
dict imagetargets = {'outsidelcd': {'meta-help': 'Display on ...
str phone_manufacturer = 'LG Electronics Inc'
str phone_model = 'LX570'
tuple ringtoneorigins = ('my melodies', 'voice memo')
str serialsname = 'lglx570'
int WALLPAPER_HEIGHT = 220                                                                   
int WALLPAPER_WIDTH = 176                                                                   
    Inherited from Profile
bool brew_required = True
tuple deviceclasses = ('serial',)
str DIALSTRING_CHARS = '[^0-9PT#*]'
int MAX_RINGTONE_BASENAME_LENGTH = 19                                                                    
int MAX_WALLPAPER_BASENAME_LENGTH = 19                                                                    
str RINGTONE_FILENAME_CHARS = 'abcdefghijklmnopqrstuvwxyz012...
tuple usbids = ((4100, 24576, 2), (1659, 8963, None), (1027, 2...
tuple usbids_straight = ((4100, 24576, 2),)
tuple usbids_usbtoserial = ((1659, 8963, None), (1027, 24577, ...
str WALLPAPER_CONVERT_FORMAT = 'bmp'
str WALLPAPER_FILENAME_CHARS = 'abcdefghijklmnopqrstuvwxyz01...
    Inherited from Profile
int autodetect_delay = 0                                                                     
int reboot_delay = 0                                                                     
dict stockimageorigins = {'images(sd)': {'meta-help': 'Genera...
dict stockimagetargets = {'outsidelcd': {'meta-help': 'Displa...

Method Details

convertphonebooktophone(self, helper, data)

Converts the data to what will be used by the phone
Parameters:
data - contains the dict returned by getfundamentals as well as where the results go
Overrides:
phones.com_lgvx4400.Profile.convertphonebooktophone

Class Variable Details

BP_Calendar_Version

Type:
int
Value:
3                                                                     

excluded_ringtone_origins

Type:
tuple
Value:
('ringers', 'sounds', 'my melodies', 'voice memo')                     

excluded_wallpaper_origins

Type:
tuple
Value:
('images',)                                                            

field_color_data

Type:
dict
Value:
{'calendar': {'alarm': False,
              'allday': False,
              'category': False,
              'description': False,
              'end': False,
              'location': False,
              'memo': False,
              'priority': False,
...                                                                    

imageorigins

Type:
dict
Value:
{'images': {'meta-help': 'General images'}}                            

imagetargets

Type:
dict
Value:
{'outsidelcd': {'format': 'JPEG',
                'height': 160,
                'meta-help': 'Display on outside screen',
                'width': 128},
 'wallpaper': {'format': 'JPEG',
               'height': 220,
               'meta-help': 'Display as wallpaper',
               'width': 176}}                                          

phone_manufacturer

Type:
str
Value:
'LG Electronics Inc'                                                   

phone_model

Type:
str
Value:
'LX570'                                                                

ringtoneorigins

Type:
tuple
Value:
('my melodies', 'voice memo')                                          

serialsname

Type:
str
Value:
'lglx570'                                                              

WALLPAPER_HEIGHT

Type:
int
Value:
220                                                                   

WALLPAPER_WIDTH

Type:
int
Value:
176                                                                   

Generated by Epydoc 2.1 on Fri Aug 15 18:58:23 2008 http://epydoc.sf.net