Difference between revisions of "QOrbitermanager"

From LinuxMCE
Jump to: navigation, search
(Functions)
(Functions)
Line 45: Line 45:
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td>int - The Attribute number of the attribute you want to associate with the screenshot. It is provided in the ''screenshotAttributes'' listmodel that is prepared when grabbing a screeshot</td>
+
     <td>int - The Attribute number of the attribute you want to associate with the screenshot.<br> It is provided in the ''screenshotAttributes'' listmodel that is prepared when grabbing a screeshot</td>
 
     <td>Saves the current screenshot to the attribute image</td>
 
     <td>Saves the current screenshot to the attribute image</td>
 +
    <td></td>
 +
  </tr>
 +
</table>
 +
 +
<table width="80%" border="0">
 +
  <tr>
 +
  <td colspan="3" bgcolor="#33CC00">''void'' '''cleanupScreenie'''('''')</td>
 +
    </tr>
 +
    <tr bgcolor="#999999">
 +
    <td>Params</td>
 +
    <td>Description</td>
 +
    <td>Output</td>
 +
  </tr>
 +
  <tr>
 +
    <td>None</td>
 +
    <td>Destroys the last screenshot and empties the model. Depreciated and will be made automatic </td>
 
     <td></td>
 
     <td></td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>

Revision as of 20:20, 3 October 2012

QOrbiter manager is what it sounds like. It manages the flow of operations in QOrbiter between the different context objects and the threaded dce side of the program. It can be accessed through 'manager'

Functions

void getLiveTVPlaylist(')
Params Description EX
No Params Calling this function will tell the router to populate the live tv playlist and return it to the playlist element. Calling it when no tv is playing has no result Component.onCompleted:manager.getLiveTVPlaylist()
void showFloorplan(int floorplantype)
Params Description Output
int - The type of floorplan you want to display This function brings up the floorplan for the selected room and populates the devices there on the screenshot image
void saveScreenshot(int attribute_number)
Params Description Output
int - The Attribute number of the attribute you want to associate with the screenshot.
It is provided in the screenshotAttributes listmodel that is prepared when grabbing a screeshot
Saves the current screenshot to the attribute image
void cleanupScreenie(')
Params Description Output
None Destroys the last screenshot and empties the model. Depreciated and will be made automatic